This is a limited proof of concept to search for research data, not a production system.

Search the MIT Libraries

Title: owlapi-jsonld 0.1.0

Type Software Stian Soiland-Reyes (2014): owlapi-jsonld 0.1.0. Zenodo. Software. https://zenodo.org/record/10561

Author: Stian Soiland-Reyes (myGrid, University of Manchester) ;

Links

Summary

Add JSON-LD parser and renderer (read and write) support for the OWL API.

Usage

If using Maven, edit pom.xml to include:

org.clojars.stain owlapi-jsonld 0.1.0 clojars Clojars repository https://clojars.org/repo

Reading an JSON-LD-based ontology:

OWLOntologyManager ontologyManager = OWLManager.createOWLOntologyManager(); JsonLdParserFactory.register(); // Really just needed once IRI vcardIri = IRI.create("http://www.w3.org/2006/vcard/ns.jsonld"); OWLOntology ontology = ontologyManager.loadOntology(vcardIri); ontologyManager.saveOntology(ontology, new TurtleOntologyFormat(), System.out);

Writing out an ontology as JSON-LD:

OWLOntologyManager ontologyManager = OWLManager.createOWLOntologyManager(); JsonLdStorer.register(ontologyManager); // Needed once per ontologyManager IRI oaIri = IRI.create("http://www.w3.org/ns/oa.rdf"); OWLOntology ontology = ontologyManager.loadOntology(oaIri); ontologyManager.saveOntology(ontology, new JsonLdOntologyFormat(), System.out);

For further details about the OWL API, see OWL API documentation

License

Copyright © 2014 Stian Soiland-Reyes, University of Manchester.

License under the alternative of LGPL or Apache license 2.0; the same as OWL API.

More information

  • DOI: 10.5281/zenodo.10561

Dates

  • Publication date: 2014
  • Issued: June 18, 2014

Rights

  • info:eu-repo/semantics/openAccess Open Access

Much of the data past this point we don't have good examples of yet. Please share in #rdi slack if you have good examples for anything that appears below. Thanks!

Format

electronic resource

Relateditems

DescriptionItem typeRelationshipUri
IsSupplementTohttps://github.com/stain/owlapi-jsonld/tree/0.1.0
IsPartOfhttps://zenodo.org/communities/zenodo