Hi Holger, Thanks. Looks like that would work, however... I'm using 2.6.2 ME and not getting errors on the SPARQL query saying that list: is not a recognized prifix. I've looked, but don't see any ontologies that would define these majic predicates. How can I use them?
Jody On Mar 31, 12:01 pm, Holger Knublauch <[email protected]> wrote: > Hi Jody, > > Jena has a couple of built-in magic predicates, includinglist:member: > > http://jena.sourceforge.net/ARQ/library-propfunc.html > > You can use these within TopBraid as well, to iterate over all values > in an rdf:List. > > These predicates (under a different name) may also become part of the > nextSPARQLstandard. > > Holger > > On Mar 31, 2009, at 5:32 AM, Jody wrote: > > > > > > > Hello, > > > I am looking for pointers on how to deal with lists inSPARQL/JSP. > > The purpose of this code is to print out the properties and their > > possible range(s) from an ontology into a simplified XML format. When > > I encounter an owl:DataRange I haven't found an easy solution to > > capture all the possible values as variables. Alternatively, I have > > been able to use the smf:name() function to get a stringlist > > ["value1", "value2"]. Could I use the same method that generates this > > label to create a result set that contains the values individually? > > > Thanks for any feedback! > > > Jody- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
