W3C home > Mailing lists > Public > public-semweb-lifesci@w3.org > March 2008

Re: GO as RDF properties

From: Tore Eriksson <tore.eriksson@po.rd.taisho.co.jp>
Date: Fri, 14 Mar 2008 09:02:21 +0900
To: Chris Mungall <cjm@fruitfly.org>
Cc: public-semweb-lifesci@w3.org
Message-Id: <20080314084537.D945.TORE.ERIKSSON@po.rd.taisho.co.jp>

Hi Chris,

> As Alan says biopax-obo would be a good list to ask about this

I'm checking out the list at this very moment.
 
> > Also, I suppose I have to remap the
> > class hierarchy to a property hierarchy, since the properties will not
> > heed the rdfs:subClassOf hierarchy. Perhaps something like this in
> > SPARQL:
> >
> > PREFIX GO: <http://purl.org/obo/owl/GO#>
> > CONSTRUCT { ?a a rdfs:Property .
> >             ?b a rdfs:Property .
> >             ?a rdfs:subPropertyOf ?b }
> > WHERE   { GRAPH <http://www.berkeleybop.org/ontologies/obo-all/ 
> > molecular_function/molecular_function.owl>
> >           {  ?a a GO:GO_000382 .
> >              ?b a GO:GO_000382 .
> >              ?a rdfs:subClassOf ?b } } .
> 
> 'a' is a synonym for rdf:type isn't it? Which means ?a and ?b would  
> be in the ABox, so you couldn't have a subClassOf axiom between them  
> in OWL1.0 DL

My mistake. One more try:

PREFIX GO: <http://purl.org/obo/owl/GO#>
CONSTRUCT { ?a a rdfs:Property .
            ?b a rdfs:Property .
            ?a rdfs:subPropertyOf ?b }
WHERE  { GRAPH <http://www.berkeleybop.org/ontologies/obo-all/molecular_
function/molecular_function.owl>
         {  ?a rdfs:subClassOf GO:GO_000382 .
            ?b rdfs:subClassOf GO:GO_000382 .
            ?a rdfs:subClassOf ?b } } .

> 
> > Another question is how can I write this in RDF schema or OWL? I  
> > have a
> > nagging feeling that I am over-reaching on this one... Any comments
> > welcome.
> 
> Not sure what you mean here.

I'm not sure either. I wondered what is the best way to model the enzyme
property in RDF schema or OWL; maybe something like this (ignoring RNA
enzymes for now).

<http://purl.org/obo/owl/GO#GO_000382>
    a rdfs:Property ;
    rdfs:domain :Reaction ;
    rdfs:range <http://purl.uniprot.org/core/Protein> .

Tore

_______________________________________________________________
Tore Eriksson [tore.eriksson ad po.rd.taisho.co.jp]
Received on Friday, 14 March 2008 00:03:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 March 2008 00:03:06 GMT