Hi Zainab
Unfortunately you can't query for a range of PIDs in the way you suggest.
Mulgara does maintain a datatyping model that can be used for that style of
query, but only for some specific data types - numeric and date/time values
- http://docs.mulgara.org/itqloperations/datatypingmodels.html
So you will need to specify each PID in your case in the WHERE clause, eg
WHERE
(
$s <mulgara:is> <info:fedora/demo:test-1>
or
$s <mulgara:is> <info:fedora/demo:test-2>
or
$s <mulgara:is> <info:fedora/demo:test-3>
{etc}
)
Alternatively is there some other property of the objects you could use to
select them? What's the overall reason for wanting to select a range of
PIDs in this way?
Regards
Steve
-----Original Message-----
From: Zainab Arsiwala [mailto:[email protected]]
Sent: 17 March 2010 15:19
To: [email protected]
Subject: [Fedora-commons-developers] Itql range query
Hello,
I want to access a range of Pids say for example demo:test-1 to demo:test-5
The range will be dynamically entered and the list of objects displayed.
Please let me know how do I query something like '<member> between
demo:test-1 and demo:test-5' ?
Or do I need to have a workaround and query each Pid in the range?
Thank you,
Zainab Arsiwala
------------------------------------------------------------------------------
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers