Difference between revisions of "SPARQL BioPortal"

From NCBO Wiki
Jump to navigation Jump to search
(Replaced content with "Before using the BioPortal SPARQL service please read SPARQL_Release_Notes_And_Usage_Policy === Submitting SPARQL queries programmatically === yyyyyyyyyyy === Preferr...")
Line 1: Line 1:
Before using the BioPortal SPARQL service please read [[SPARQL_Release_Notes_And_Usage_Policy]]
+
<div style="margin-top: 10px; background: #F6F9ED; padding: 6px; border: 1px solid #aaaaaa; margin-bottom: 20px;">
 +
Before using the BioPortal SPARQL service please read our [[SPARQL_Release_Notes_And_Usage_Policy]]
 +
</div>
  
 
=== Submitting SPARQL queries programmatically ===
 
=== Submitting SPARQL queries programmatically ===
  
yyyyyyyyyyy
+
A github project contains examples to query our SPARQL service programmatically:
  
 +
https://github.com/ncbo/sparql-code-examples
 +
 +
A tarball with these examples is for download here:
 +
 +
https://github.com/ncbo/sparql-code-examples/tarball/master
 +
 +
This project contains examples in Java, Python, JavaScript and Perl. Some of the examples use just language built-in capabilities and other need third-party libraries like Jena, Sesame or SPARQLWrapper. The github project and the tarball are self-contained, no need to download and install extra libraries.
 +
 +
<div style="margin-top: 10px; background: #F6F9ED; padding: 6px; border: 1px solid #aaaaaa; margin-bottom: 20px;">
 +
To run these examples or any other SPARQL queries programmatically an API key from BioPortal is required. If you do not have a BioPortal account go to [[http://bioportal.bioontology.org/accounts/new New Account]]  and create one. Once you have the BioPortal account, login in BioPortal and go to your account details. You should see your API Key as part of your account profile.
 +
</div>
  
 
=== Preferred Names, Synonyms and other common predicates ===
 
=== Preferred Names, Synonyms and other common predicates ===
  
 
yyyyyyyyyyy
 
yyyyyyyyyyy

Revision as of 18:42, 29 November 2011

Before using the BioPortal SPARQL service please read our SPARQL_Release_Notes_And_Usage_Policy

Submitting SPARQL queries programmatically

A github project contains examples to query our SPARQL service programmatically:

https://github.com/ncbo/sparql-code-examples

A tarball with these examples is for download here:

https://github.com/ncbo/sparql-code-examples/tarball/master

This project contains examples in Java, Python, JavaScript and Perl. Some of the examples use just language built-in capabilities and other need third-party libraries like Jena, Sesame or SPARQLWrapper. The github project and the tarball are self-contained, no need to download and install extra libraries.

To run these examples or any other SPARQL queries programmatically an API key from BioPortal is required. If you do not have a BioPortal account go to [New Account] and create one. Once you have the BioPortal account, login in BioPortal and go to your account details. You should see your API Key as part of your account profile.

Preferred Names, Synonyms and other common predicates

yyyyyyyyyyy