uk.ac.open.kmi.owl
Class OWLOntologyBuilder
java.lang.Object
uk.ac.open.kmi.owl.OWLOntologyBuilder
- public class OWLOntologyBuilder
- extends java.lang.Object
OWLOntologyBuilder is used to create and maintain the ontology for the alignment
Method Summary |
void |
createClass(SKOSConcept skosConcept)
Creates an OWL class from the SKOS concept
The following mappings have been assumed
skos:Concept -> owl:Class
skos:prefLabel -> rdfs:label
skos:altLabel -> rdfs:label
skos:broader -> rdfs:subClassOf
skos:narrower -> No need to handle in the class since it will be an
another class like owl:Class with rdfs:subClassOf this class
skos:definition -> rdfs:comment
skos:scopeNote -> rdfs:comment |
org.semanticweb.owl.model.OWLClass |
getClass(java.lang.String className)
Get a particular class from the Ontology |
org.semanticweb.owl.model.OWLOntology |
getOntology()
|
java.lang.String |
getUriStr()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OWLOntologyBuilder
public OWLOntologyBuilder(java.lang.String uriStr)
createClass
public void createClass(SKOSConcept skosConcept)
- Creates an OWL class from the SKOS concept
The following mappings have been assumed
skos:Concept -> owl:Class
skos:prefLabel -> rdfs:label
skos:altLabel -> rdfs:label
skos:broader -> rdfs:subClassOf
skos:narrower -> No need to handle in the class since it will be an
another class like owl:Class with rdfs:subClassOf this class
skos:definition -> rdfs:comment
skos:scopeNote -> rdfs:comment
- Parameters:
skosConcept
-
getClass
public org.semanticweb.owl.model.OWLClass getClass(java.lang.String className)
- Get a particular class from the Ontology
- Parameters:
className
-
- Returns:
- OWLClass
getOntology
public org.semanticweb.owl.model.OWLOntology getOntology()
getUriStr
public java.lang.String getUriStr()