Hi Khaled
To do this, you'll need to query against a datatyping model. The full
documentation for this is here:
http://docs.mulgara.org/itqloperations/datatypingmodels.html#o265
Fedora does maintain a <#xsd> datatyping model, so in your example below,
you will need to use something like:
select $object
from <#ri>
where $object <fedora-model:hasModel> <info:fedora/MY-CModel>
and $object <fedora-view:lastModifiedDate> $modified
and $ modified <mulgara:after>
'2010-02-22T12:54:59.265Z'^^<xml-schema:dateTime> in <#xsd>
Hope that helps.
Steve
-----Original Message-----
From: Khaled Almahallawy [mailto:[email protected]]
Sent: 03 March 2010 09:50
To: '[email protected]'
Subject: [Fedora-commons-users] RDF ITQL query against date
Dears,
I want to know how to query the RI against the date, what is the predicate I
can use in the ITQL for date comparison.
select $object
from <#ri>
where $object <fedora-model:hasModel> <info:fedora/MY-CModel>
and $object <fedora-view:lastModifiedDate> $modified
and $ modified <???greaterthan???> '2010-02-22T12:54:59.265Z'
The links provided regarding the same issue in this
post(http://www.fedora-commons.org/confluence/display/FCKB/mail/8752530)
seems broken.
Thanks in advance.
Best Regards
___________________________
Khaled Almahallawy
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users