-

Difference between revisions of "SemWeb:Bio2RDF Endpoints"

From Open Bioinformatics Foundation
Jump to: navigation, search
Line 26: Line 26:
  
 
* http://pubmed.bio2rdf.org/sparql
 
* http://pubmed.bio2rdf.org/sparql
 +
<pre>
 +
select ?label ?o
 +
where
 +
{
 +
?s a <http://bio2rdf.org/pubmed:JournalArticle> .
 +
?s ?p ?o .
 +
?o bif:contains "HK1" .
 +
?s rdfs:label ?label .
 +
}
 +
limit 5
 +
</pre>
 +
 
* http://refseq.bio2rdf.org/sparql
 
* http://refseq.bio2rdf.org/sparql
 
* http://omim.bio2rdf.org/sparql
 
* http://omim.bio2rdf.org/sparql

Revision as of 22:06, 7 July 2010

Here are the current working Sparql Endpoints for Bio2RDF has of July 7th 2010, 17:23 PM

SELECT
*
WHERE
{
<http://bio2rdf.org/pdb:1GOF> ?p ?o .
optional {?o ?p2 ?o2 .}
optional {?o2 ?p3 ?o3 .}
}
select distinct ?g ?o
where {
graph ?g 
{
?s ?p ?o .
?o bif:contains "HK1" .
}
}
select ?label ?o
where
{
?s a <http://bio2rdf.org/pubmed:JournalArticle> .
?s ?p ?o .
?o bif:contains "HK1" .
?s rdfs:label ?label .
}
limit 5

URI are build with this pattern

http://bio2rdf.org/[namespace]:[identifier]

To get information about this URI, you can either ask directly

http://bio2rdf.org/[namespace]:[identifier]

or ask the corresponding endpoint about it. The corresponding endpoints is located at

http://[namespace].bio2rdf.org/sparql

P.S.: The refseq endpoint is experimental. Instead of using the URI pattern http://bio2rdf.org/refseq:[identifier] it use http://bio2rdf.org/ncbi:[identifier]