W3C home > Mailing lists > Public > public-semweb-lifesci@w3.org > May 2007

Re: Advancing translational research with the Semantic Web

From: Alan Ruttenberg <alanruttenberg@gmail.com>
Date: Thu, 17 May 2007 08:15:01 -0400
Message-Id: <51FDDB7A-5E65-4A70-8E04-FBD825BB1413@gmail.com>
Cc: Chris Mungall <cjm@fruitfly.org>, public-semweb-lifesci <public-semweb-lifesci@w3.org>
To: Eric Jain <Eric.Jain@isb-sib.ch>
On May 17, 2007, at 4:58 AM, Eric Jain wrote:

> 2. tools don't support reification well (just try writing a SPARQL  
> query that queries statements about statements).

prefix dc: <http://purl.org/dc/elements/1.1/>
prefix sc: <http://purl.org/science/owl/sciencecommons/>
insert into graph <http://purl.org/commons/hcls/proto>
{ sc:s1 sc:p1 sc:o1.
   _:foo rdf:type rdf:Statement.
   _:foo rdf:subject sc:s1.
   _:foo rdf:predicate sc:p1.
   _:foo rdf:object sc:o1.
   _:foo dc:creator "Alan"
}


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
}

(results in attached picture - in case it doesn't show up in line in  
your email)

Picture_21.png
(image/png attachment: 02-Picture_21.png)

Received on Thursday, 17 May 2007 12:15:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:20:26 UTC