Java, Perl, Python, Javascript, Ruby, etc. examples to query alphasparql.bioontology.org
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.
Permalink
Failed to load latest commit information.
java
javascript
perl
python
ruby
.gitignore
COPYING
README

README

This repository contains code examples to query alphasparql.bioontology.org.

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

[1] http://sparql-wrapper.sourceforge.net/
[2] http://thefigtrees.net/lee/sw/sparql.js (slightly modified to allow API keys)
[3] https://github.com/swh/Perl-SPARQL-client-library (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 alphasparql.bioontology.org will be redirected to sparql.bioontology.org

* If you do not have an account in BioPortal you'll need one to use the service. 
  Register at http://bioportal.bioontology.org/accounts/new

* Please visit the following links to get extra information about this service:
    - http://alphasparql.bioontology.org/policy
    - http://alphasparql.bioontology.org/alpha

--------
Support
--------

Contact us via email: support@bioontology.org

-----------------
Acknowledgments
-----------------

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.