Re: [Virtuoso-users] embedded sparql in sql

2013-04-11 Thread Kingsley Idehen
On 4/11/13 8:52 PM, Sandeep Gupta wrote: select q1."y",q2.name , q2.age from (sparql PREFIX : SELECT ?y WHERE { :alice :knows ?y } ) as q1. people as q2 where q2.y=q1."y" -Sandeep As you can see from the example above, a SPARQL SELECT (which r

Re: [Virtuoso-users] embedded sparql in sql

2013-04-11 Thread Sandeep Gupta
Hugh, Many thanks for the prompt reply. Te rdfsparqlinline page does give an example but I was not able to wrap my head around it. I just now found this page http://www.mail-archive.com/virtuoso-users@lists.sourceforge.net/msg03224.htmlwhich has much simple example that I can follow and modify fo

Re: [Virtuoso-users] embedded sparql in sql

2013-04-11 Thread Hugh Williams
Hi Sandeep, I assume you are seeking the Virtuoso SPASQL documentation which enables the embedding of SPARQL queries in SQL at: http://docs.openlinksw.com/virtuoso/rdfsparql.html#rdfsparqlinline Conversely SQL calls can also be embedded in SPARQL queries as detailed at: http://

[Virtuoso-users] embedded sparql in sql

2013-04-11 Thread Sandeep Gupta
Hi, I am looking for examples for embedding sparql queries within the SQL from clause. I came across such a documentation sometime but I am not able to locate it now. Can someone please point me to it if they happen to know where it might be located. Thanks. Sandeep --