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 05:22:20 PST 2008

I just noticed that when invoking the Jess engine upon the rule

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

the instance in the Project class gets renamed to the result of the

For example, I created an instance in the OWL class 'Project' and name it
'Project_1'. Once I run Jess to calculate the duration between start and
finish date and translated the asserted result back to OWL, the instance got
renamed to '14' (note that 14 is the calculated value of the duration). 

Does anyone know the reason for this behavior?

Best regards, Martin

-------------- 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