- From: Alan Ruttenberg <alanruttenberg@gmail.com>
- Date: Thu, 17 May 2007 09:15:43 -0400
- To: Eric Jain <Eric.Jain@isb-sib.ch>
- Cc: Chris Mungall <cjm@fruitfly.org>, public-semweb-lifesci <public-semweb-lifesci@w3.org>
Nice idea for syntax. Jonathan and I will be working on some sort of macro syntax for SPARQL, which would make this and a lot of other queries be a lot nicer to write. The Virtuoso folks are willing to implement a prototype. If it works out then perhaps it can be proposed for SPARQL 2. More news about it when we have something, hopefully in the next couple of months... -Alan On May 17, 2007, at 9:05 AM, Eric Jain wrote: > Alan Ruttenberg wrote: > > prefix dc: <http://purl.org/dc/elements/1.1/> > > prefix sc: <http://purl.org/science/owl/sciencecommons/> > > select ?s ?p ?o ?by > > from <http://purl.org/commons/hcls/proto> > > where > > { ?s ?p ?o. > > ?statement rdf:type rdf:Statement. > > ?statement rdf:subject ?s. > > ?statement rdf:predicate ?p. > > ?statement rdf:object ?o. > > ?statement dc:creator ?by > > } > > That's precisely what I'm talking about :-) Now imagine a query > that's already complicated to start with, even without any > reification... > > If reification was directly supported, you'd expect something like > this: > > prefix dc: <http://purl.org/dc/elements/1.1/> > prefix sc: <http://purl.org/science/owl/sciencecommons/> > select ?s ?p ?o ?by > from <http://purl.org/commons/hcls/proto> > where { ?s ?p ?o [ dc:creator ?by ] }
Received on Thursday, 17 May 2007 13:21:48 UTC