Java, Perl, Python, Javascript, Ruby, etc. examples to query
JavaScript Perl Java Python Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 21 commits behind ncbo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This repository contains code examples to query

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] (
    - TODO
        * Ruby
        * C#
        * Scala

[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

* BSD 2-clause license ("Simplified BSD License" or "FreeBSD License") applies to this repository, see COPYING file.

* Eventually will be redirected to

* If you do not have an account in BioPortal you'll need one to use the service. 
  Register at

* Please visit the following links to get extra information about this service:


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.