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

Daniel Larsson daniel.larsson at servicefactory.com
Mon Nov 28 18:44:11 GMT 2005


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