Projects tagged ‘modularisation’ and ‘modularization’


Jump to tag:

Projects tagged ‘modularisation’ and ‘modularization’

Filtered by Project Tags modularisation modularization

[1 total ]

0 Users

ModTool allows ontology modules to be extracted from an ontology based on a user supplied concept. ModTool was created by the University of Liverpool's Semantic Web Lab. More information on ModTool ... [More] can be found here RequirementsYou will need the following on the classpath to use ModTool: Jena Pellet Example public static void main(String args[]) { //The concept you want to extract a module about. String concept = "Concept URI" parentModel = ModelFactory .createOntologyModel(PelletReasonerFactory.THE_SPEC); //The ontology the module will be extracted from parentModel.read("Ontology URI"); //The OntologyModel that will contain the module. moduleModel = ModelFactory .createOntologyModel(PelletReasonerFactory.THE_SPEC); moduleModel.createOntology(concept); //Instantiate the class that does the extraction. StmtBasedExtraction sbe = new StmtBasedExtraction(parentModel, moduleModel, Exclusion.OWL_DL_EXCLUSION); //Start the extraction. sbe.start(parentModel.getResource(concept)); } [Less]
Created 4 months ago.