Re: specifying process duration

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 UTC