Re: Query VALUES Variable Names

2018-11-08 Thread Lorenz B.
Hello Greg, I can understand that this is a bit misleading, but the methods you used just work for VALUES clause "outside" of the query pattern: |String ||queryString ||= ||"PREFIX dc: ||\n||"||+ ||"PREFIX : ||\n||"||+ ||"PREF

Re: Query VALUES Variable Names

2018-11-08 Thread Andy Seaborne
Hi Greg, query.getValuesVariables() applies specifically to the case of a trailing VALUES block. SELECT * WHERE {} VALUES ?var { ... } (I'll add some javadoc) To get an inner VALUES block which can be anywhere in the graph pattern, the code has to walk the query or to walk into the WHERE pa

RDF "undefined" property context

2018-11-08 Thread Laura Morales
Is there an appropriate way in RDF to use a property which is not defined in any context/vocabulary/ontology? I mean, I'm importing some non-rdf data to rdf and I'd like to set a property "foobar" which is not associated to any vocabulary. I was wondering if there is something like "subject und