I think instanceOf works, at least some portion. It is misnamed -
should be owl:subClassOf ;-)
it is for relating Gene Ontology terms. Try:
prefix re: <http://purl.org/commons/ontology/reactome/>
prefix rei: <http://purl.org/commons/record/reactome/>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select distinct ?thisc ?otherc
where
{?this re:instanceOf ?other.
?this a ?thisc.
?other a ?otherc.
filter ((?thisc != re:DatabaseObject) && (?otherc !
=re:DatabaseObject))
}
(filter isn't working for some reason)
or
select ?thisl ?otherl ?thiscl ?othercl
where
{?this re:instanceOf ?other.
?this rdfs:label ?thisl.
?other rdfs:label ?otherl.
?this a ?thisc.
?thisc rdfs:label ?thiscl.
?other a ?otherc.
?otherc rdfs:label ?othercl.
filter (?thisc != re:DatabaseObject && ?otherc !=re:DatabaseObject)
}
limit 100
Another example, btw, of BioPAX dropping information relative to the
original, though we will most likely drop this portion anyways and
just GO OWL directly. Part of the rewrite will be to use the GO URIs
for these.
-Alan
> Ok, I'll have a look.
> Did you try the intsanceOf also ? (already asked : ).
> That's new, maybe that was the cause.
>
> Anyway, at worst, we can split the mapping. For what we need is ok.
>
> ciao,
> A.
>
> Il giorno 15/mar/08, alle ore 10:02, Alan Ruttenberg ha scritto:
>
> <reactome4.n3>
>>
>> Maybe you try to run it. My machine keeps eating all available
>> memory then slowing to a crawl.
>> -Alan
>>
>
> -----------
> Andrea Splendiani
> post-doc, bootstrep project (www.bootstrep.eu)
>
> UPRES-EA 3888 - Laboratoire d'Informatique Médicale
> CHU de Pontchaillou
> 2, rue Henri Le Guilloux
> 35033 Rennes - France
> Tel : +33 2 99 28 92 45 / +33 2 99 28 42 15 (secr.)
> Fax : +33 2 99 28 41 60
>
> 48° 07.275N
> 1° 41.643W
>
>
>
>
>
>
Good job! Sorry I could not be in the we.
ciao,
Andrea
Il giorno 16/mar/08, alle ore 18:22, Alan Ruttenberg ha scritto: