Thank you Scott, did the trick perfectly.

Jack

On Monday, January 19, 2015 at 2:24:11 PM UTC-8, Scott Henninger wrote:
>
> Jack; No reason to use spif:split, given that the data is already in RDF. 
> Something like the following should work:
>
> SELECT ?str
> WHERE
> {  ...
>    ?s rdf:rest*/rdf:first ?o .
>     BIND (xsd:string(?o) AS ?str)
> }
>
> The rdf:rest*/rdf:first idiom will de-construct the RDF list into 
> elements.
>
> -- Scott
>
> Sent from my iPhone
>
> On Jan 19, 2015, at 3:00 PM, Jack Hodges <jhodg...@gmail.com <javascript:>> 
> wrote:
>
> I have a list of xsd:NMTOKENs that I want to render (using SWP) in a table 
> or chart. These items are in an owl:equivalentClass as owl:oneOf items (an 
> enumerated type). I tried breaking them up with spif:split (oops, not a 
> string), and spif:foreach but neither worked. Here is an example list:
>
> ["FOO"^^xsd:NMTOKEN,
>
> "BAR"^^xsd:NMTOKEN,
>
> "BAZ"^^xsd:NMTOKEN]
>
>
> With other ways of modeling enumerated types (e.g., by representing FOO as 
> an instance) I can do this, but this modeling approach was used by someone 
> else.
>
>
> Is there a way to de-list these items in a SPARQL query?
>
>
> Thanks,
>
>
> Jack
>
> -- 
> You received this message because you are subscribed to the Google Group 
> "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
> Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid 
> Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
> To post to this group, send email to topbrai...@googlegroups.com 
> <javascript:>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to topbraid-user...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Group 
"TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, 
TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to