GoSparqlQueries

From W3C Wiki

Chris Mungall's email

The SQL queries are here: http://wiki.geneontology.org/index.php/Example_Queries

What is the nuclear chromosome part of

First query, from his email


PREFIX go: <http://purl.org/obo/owl/GO#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select *
where
 {    graph <http://purl.org/commons/hcls/20070416/classrelations>
     { go:GO_0000228 <http://purl.org/obo/owl/obo#part_of>?whole.}
   graph <http://purl.org/commons/hcls/20070416>
     { ?whole rdfs:label ?label }
 }

=>

http://purl.org/obo/owl/GO#GO_0044424 intracellular part
http://purl.org/obo/owl/GO#GO_0044464 cell part
http://purl.org/obo/owl/GO#GO_0043226 organelle
http://purl.org/obo/owl/GO#GO_0005575 cellular_component
http://purl.org/obo/owl/GO#GO_0005622 intracellular
http://purl.org/obo/owl/GO#GO_0005623 cell
http://purl.org/obo/owl/GO#GO_0005634 nucleus
http://purl.org/obo/owl/GO#GO_0043231 intracellular membrane-bound organelle
http://purl.org/obo/owl/GO#GO_0043227 membrane-bound organelle
http://purl.org/obo/owl/GO#GO_0043229 intracellular organelle