Hi Jody, Jena has a couple of built-in magic predicates, including list: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 next SPARQL standard. Holger On Mar 31, 2009, at 5:32 AM, Jody wrote: > > Hello, > > I am looking for pointers on how to deal with lists in SPARQL/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 string list > ["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 > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
