Java, Perl, Python, Javascript, Ruby, etc. examples to query
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

This repository contains code examples to query

At we host two databases:

  • to host ontology metadata and content.
  • to host BioPortal's mappings.

By default queries pointing to use the ontologies endpoint. To issue queries that target data from both endpoints see related information and examples on SPARQL federation.

Examples are provided for the following platforms/languages: - Java: * Java with no 3-party libs ( * Java with JenaARQ ( * Java with OpenRDF [*] ( - Python: * Python with no 3-party libs ( * Python with SPARQLWrapper [1] ( - Javascript: * Javacript with the SPARQLClient [2] lib (index.html) * Javascript with node.js. (node_test.js) - Perl using from [3] ( - Ruby. - TODO * C# * Scala

[1] [2] (slightly modified to allow API keys) [3] (slightly modified to allow API keys) [*] The jar file alibaba-repository-sparql-2.0-beta9-patched.jar has been patched to allow API keys and GET HTTP requests.

Extra notes


Contact us via email:


The National Center for Biomedical Ontology is one of the National Centers for Biomedical Computing supported by the NHGRI, the NHLBI, and the NIH Common Fund under grant U54-HG004028.