[redland-dev] [SPAM?]-05.589 rdf:Seq

Donald E Curtis dcurtis at cs.uiowa.edu
Mon Nov 28 19:01:33 GMT 2005


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.

Daniel Larsson wrote:
> Donald Ephraim Curtis wrote:
> 
>> So, here is an RDF file i'm trying to parse.
>>
>> I've got everything in need except i need to get the rdf:Seq
>>
>> basically, i'm developing an RDF schema to describe component based 
>> systems similar to armani / adml etc etc.
>>
>> anyways, i can't figure out how to get the sequence of the components 
>> that belong to a system.
>>
>> hopefully someone can help.  here is my sparql query right now:
>>
>> g_strconcat("SELECT ?node WHERE ( [ ", system,
>>                      " <http://milkbox.net/rad-schema#Components> ", " 
>> ] ?i ",
>>                      " ?node )", NULL);
>>
>> this was just an attempt to use the syntax i found in
>> http://www.w3.org/TR/rdf-sparql-query/#blankNodes
>>
>> i have no idea where to go.  see no examples.
> 
> 
> One possible solution is to skip using <rdf:Seq> and just use "plain" 
> properties:
> 
> <rdf:Description about="...">
>  <c:Component 
> rdf:resource="file://home/mp/development/rci/components/rng" />
>  <c:Component 
> rdf:resource="file://home/mp/development/rci/components/sum" />
>  ...
> </rdf:Description>
> 
>> _______________________________________________
> 
> 
>> redland-dev mailing list
>> redland-dev at lists.librdf.org
>> http://lists.gnomehack.com/mailman/listinfo/redland-dev
>>  
>>
> 


More information about the redland-dev mailing list