[redland-dev] [SPAM?]-05.589 rdf:Seq
dave at dajobe.org
Mon Nov 28 19:11:23 GMT 2005
Donald E Curtis wrote:
> But the problem is. I need them in an ordering. Now, i'm guessing IF i
> did go that way, i could inherently get the correct ordering, but
> truely, the language isn't correct unless i use a sequence for it.
This might be somewhere between "a bit of a hack" and "works":
with data like:
<rdf:_1 rdf:resource="file://home/mp/development/rci/components/rng" />
<rdf:_2 rdf:resource="file://home/mp/development/rci/components/sum" />
and SPARQL like:
PREFIX c: <http://milkbox.net/rad-schema#>
 c:Components [
a rdf:Seq ;
ORDER BY str(?property)
which will sort in URI order which will work for rdf:_1 to rdf:_9 at least.
Not tested of course, might be syntax errors above!
More information about the redland-dev