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] Duration of Years Months Days Hours (or time)

Matsokis Aristeidis aristeidis.matsokis at
Fri Jan 25 06:14:33 PST 2008

Dear All,


I am new in the protégé society…

I have been working on an ontology describing a product and its components.

For each component I am interested into knowing up to the hour time of its working hours to track several values. I have given them a datatype property birthDateTime and another one currentYearDateTime with xsd: date time as range. 

I have tried this:

name(?x, ?n)  ∧  birthDateTime(?x, ?y)  ∧  currentDateTime(?x, ?z)  ∧  swrlb:subtractDatetimesYieldingDayTimeDuration(?age, ?z, ?y) → sqwrl:select(?x, ?n, ?y, ?z, ?age)


My aim is to:


1. Exact duration in the form Years Months Days Time


2. Renew currentDateTime automatically (optional)


Could anyone help me?


Any suggestion is welcome, thanks a lot in advance!





Aristeidis MATSOKIS
PhD Student- Research Assistant
ME A1 380 (Bâtiment ME)
Station 9
CH-1015 Lausanne
TEL: +41 21 693 4359
FAX: +41 21 693 3553
Mob: +41 76 232 0873


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-owl mailing list