W3C home > Mailing lists > Public > www-ws@w3.org > June 2003

Re: specifying process duration

From: Monika Solanki <monika@dmu.ac.uk>
Date: Thu, 05 Jun 2003 14:29:18 +0100
Message-ID: <3EDF45AE.4040308@dmu.ac.uk>
To: www-ws@w3.org

Hi,

I am not sure, how correctly I have written this in terms of syntax, 
however here are a few enhancements I think that can be made to your 
description.

It may be an idea to specify the start and end time for any process, 
since duration can be internally inferenced from that as well.

<daml:class rdf ID:StartInstant>
        <rdfs:subClassOf rdf:resource= 
"http://www.ai.sri.com/daml/ontologies/time/Time.daml#Instant" />
    </daml:Class>

<daml:class rdf ID:EndInstant>
        <rdfs:subClassOf rdf:resource= 
"http://www.ai.sri.com/daml/ontologies/time/Time.daml#Instant" />
</daml:Class>

<rdf:Property rdf:ID="startAt">
  <rdfs:subPropertyOf rdf:resource="&process;#startTime"/>
  <rdfs:domain rdf:resource="&DEFAULT;#myprocess"/>
  <rdfs:range rdf:resource="&DEFAULT;#StartInstant"/>
</rdf:Property>

<rdf:Property rdf:ID="endAt">
  <rdfs:subPropertyOf rdf:resource="&process;#endTime"/>
  <rdfs:domain rdf:resource="&DEFAULT;#myprocess"/>
  <rdfs:range rdf:resource="&DEFAULT;#EndInstant"/>
</rdf:Property>

The TemporalDescription class in 
http://www.ai.sri.com/daml/ontologies/time/Time.daml can be used to 
further specify the details of the instants.

It might also be an idea to also specify the maximum and minimum 
execution time interval a
process may take, posssibly for synchronization with other processes

<time:Interval rdf:ID="MinDuration">
  <time:seconds><xsd:decimal rdf:value="5"/></time:seconds>
</time:Interval>

<time:Interval rdf:ID="MaxDuration">
  <time:seconds><xsd:decimal rdf:value="10"/></time:seconds>
</time:Interval>

<rdf:Property rdf:ID="minExecTime">
  <rdfs:subPropertyOf rdf:resource="&process;#during"/>
  <rdfs:domain rdf:resource="&DEFAULT;#myprocess"/>
  <rdfs:range rdf:resource="&default;#MinDuration"/>
</rdf:Property>

<rdf:Property rdf:ID="maxExecTime">
  <rdfs:subPropertyOf rdf:resource="&process;#during"/>
  <rdfs:domain rdf:resource="&DEFAULT;#myprocess"/>
  <rdfs:range rdf:resource="&default;#MaxDuration"/>
</rdf:Property>

Comments from  members of the list appreciated.

cheers,

Vera Zaychik wrote:

>
> Can someone suggest a good way to specify duration of a process? (Time 
> within which this process is going to finish).
>
> What I have right now is this:
>
> <time:Interval rdf:ID="SmallDuration">
>   <time:seconds><xsd:decimal rdf:value="5"/></time:seconds>
> </time:Interval>
>
> <rdf:Property rdf:ID="duration">
>   <rdfs:subPropertyOf rdf:resource="&process;#during"/>
>   <rdfs:domain rdf:resource="&DEFAULT;#myprocess"/>
>   <rdfs:range rdf:resource="&default;#SmallDuration"/>
> </rdf:Property>
>
> Thanks!
> Vera
>
> Vera Zaychik
> Lockheed Martin ATL
>
-- 
 >**<>**<>**<>**<>**<>**<>**<>**<>**<>**<
Monika Solanki
De Montfort University
Software Technology Research Laboratory
Hawthorn building, H00.18
The Gateway.
Leicester LE1 9BH, UK

phone: +44 (0)116 250 6170 intern: 6170
email: monika@dmu.ac.uk <mailto:monika@dmu.ac.uk>
web: http://www.cse.dmu.ac.uk/~monika/ 
<http://www.cse.dmu.ac.uk/%7Emonika/>
 >**<>**<>**<>**<>**<>**<>**<>**<>**<>**<
"NOTE: The information transmitted is intended only for the person or 
entity to which it is addressed and may contain confidential and/or 
privileged material. Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon this information by 
persons or entities other than the intended recipient is prohibited. If 
you received this in error, please contact the sender and delete the 
material from any computer"
Received on Thursday, 5 June 2003 09:23:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:43 GMT