The Ontology service is an implementation of OpenTox Ontology service API.
The Ontology Service does not depend on AMBIT modules, and compiles into a different web application. It currently uses the Jena TDB persistence mechanism, and was initially designed as a proof-of-concept service to illustrate the added value of gathering RDF triples of several remote OpenTox services into the same triple storage and enabling SPARQL queries.
Please note: AMBIT REST web services do not require an Ontology service to be installed. However, some applications like ToxPredict and Bioclipse-OpenTox depend on querying an OpenTox Ontology service.
Currently, the Ontology service is used as a registry of all deployed OpenTox services (both local and remote), and ToxPredict web application retrieves the list of QSAR models via SPARQL query.
http://localhost:8080/ontology
Does not use MySQL database. Uses Jena TDB for persistent storage (file based), which is automatically generated on deploy. The following configuration files can be found under webapps/ontology folder. There are reasonable default values.
curl -X POST -d "uri=THE-URI" http://yourhost:8080/ontology -H "subjectid:OPENSSOTOKEN"
Or use the HTML form at the top, paste the URI of the model and click "Submit".
Artifact
<dependency> <groupId>org.opentox</groupId> <artifactId>ontology</artifactId> <version>0.0.2</version> <type>war</type> </dependency>
Repository
<repository>
<id>ambit-plovdiv-releases</id>
<url>http://ambit.uni-plovdiv.bg:8083/nexus/content/repositories/releases</url>
</repository>