Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Calculating duration using SWRL built-in swrlb:subtractDates

Martin Becker martin.becker at
Wed Jan 16 02:18:00 PST 2008


your rule works as intended - thank you very much. After creating the
hasDuration datatype property I was able to hold the calculated value:

Project(?pr)  ∧
hasStartDate(?pr, ?date1)  ∧
hasEndDate(?pr, ?date2)  ∧
temporal:duration(?d, ?date1, ?date2, temporal:Days) 
→ hasDuration(?pr, ?d)

However, do you see a way to express this without reference to the temporal
library only by means of pure SWRL?

Best regards, 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3083 bytes
Desc: not available
URL: <>

More information about the protege-owl mailing list