good morning; > On 2015-10-28, at 12:41, Claude Warren <[email protected]> wrote: > > I replied on stackoverflow but am wondering exactly how would ARQ parse the > statement > > SELECT * WHERE { > (?a ?b ?c) :hasMagicProperty ?result . > }
sparql.org says, as to be expected: 1 (base <http://example/base/> 2 (prefix ((: <http://spinning/onwards>)) 3 (bgp 4 (triple ??0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> ?a) 5 (triple ??0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> ??1) 6 (triple ??1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> ?b) 7 (triple ??1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> ??2) 8 (triple ??2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> ?c) 9 (triple ??2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>) 10 (triple ??0 :hasMagicProperty ?result) 11 ))) > > what is the expected query? to find some sort of computed relation between a three-element list(s) and some other node. > > > On Tue, Oct 27, 2015 at 7:58 PM, Morrisey, Russell < > [email protected]> wrote: > >> I have a bunch of code that uses SelectBuilder to build up a complex >> SPARQL query. In my query, I want to use a SPIN magic property that’s >> invoked like this: >> >> >> >> (?a ?b ?c) :hasMagicProperty ?result . >> >> >> >> I can’t figure out how to represent the list syntax (?a ?b ?c) using >> SelectBuilder. I’ve tried several approaches using java lists, strings and >> trying to figure out RDFList, but I’m still struggling. >> >> >> >> I posted the problem in more detail on stackoverflow: >> >> >> http://stackoverflow.com/questions/33351102/how-to-i-build-a-sparql-list-input-using-jena-querybuilder >> >> >> >> >> >> *Russell Morrisey* >> *Java Developer | CLS Platform Team* >> *Phone* *302-636-5400 <302-636-5400> x62899* >> >> [email protected] >> cscglobal.com >> >> [image: >> http://wiki/download/attachments/13879359/CSC+logo+for+sig+line.jpg?version=1&modificationDate=1411058694237] >> >> *Making Business Possible – Worldwide* >> >> *New York Law Journal** Reader Rankings* >> >> *CSC named* *#1 for Entity Management* *and* *#1 for Matter Management* >> *by* *The New York Law Journal.* Click here >> <https://www.cscglobal.com/global/web/csc/nylj-rankings.html> *to learn >> more!* >> >> >> >> ------------------------------ >> >> NOTICE: This e-mail and any attachments is intended only for use by the >> addressee(s) named herein and may contain legally privileged, proprietary >> or confidential information. If you are not the intended recipient of this >> e-mail, you are hereby notified that any dissemination, distribution or >> copying of this email, and any attachments thereto, is strictly prohibited. >> If you receive this email in error please immediately notify me via reply >> email or at (800) 927-9800 and permanently delete the original copy and >> any copy of any e-mail, and any printout. >> > > > > -- > I like: Like Like - The likeliest place on the web > <http://like-like.xenei.com> > LinkedIn: http://www.linkedin.com/in/claudewarren --- james anderson | [email protected] | http://dydra.com
