+ "namespace: unit.ontology\n"
+ "def: \"A unit which is a standard measure of the distance between two points.\" [Wikipedia:Wikipedia]\n"
+ "subset: unit_group_slim\n" + "is_a: UO:0000000 ! unit\n"
+ "relationship: is_unit_of PATO:0001708 ! 1-D extent\n"
+ "created_by: george gkoutos";
StringDocumentSource streamDocumentSource = new StringDocumentSource(
input);
OWLOntologyLoaderConfiguration loaderConfig = new OWLOntologyLoaderConfiguration()
.setMissingImportHandlingStrategy(MissingImportHandlingStrategy.SILENT);
OWLOntology ontology = rootOntologyManager
.loadOntologyFromOntologyDocument(streamDocumentSource,