public class OntologyCatalog extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
OntologyCatalog()
Constructor for the OntologyCatalog object
|
Modifier and Type | Method and Description |
---|---|
void |
addConcept(java.lang.String conceptName)
Adds a concept to the default ontology
|
void |
addConcept(java.lang.String conceptName,
java.lang.String conceptLabel)
Adds a concept to the default ontology
|
void |
assignSuperConcept(java.lang.String subConceptName,
java.lang.String superConceptName)
Assigns a concept as a subconcept to a superconcept
|
java.lang.String |
getConceptNameWithLabel(java.lang.String label)
Returns the first concept in the default onto with the given label
|
com.hp.hpl.jena.ontology.OntModel |
getDefaultOntology()
Returns the default ontology model for the actor library.
|
java.util.Vector<com.hp.hpl.jena.ontology.OntModel> |
getOntModels()
Gets the ontModels attribute of the OntologyCatalog object
|
protected void |
initialize()
Description of the Method
|
static OntologyCatalog |
instance() |
static void |
main(java.lang.String[] args)
The main program for the OntologyCatalog class
|
protected void |
writeDefaultModel()
Description of the Method
|
protected OntologyCatalog()
public static OntologyCatalog instance()
public com.hp.hpl.jena.ontology.OntModel getDefaultOntology()
public java.util.Vector<com.hp.hpl.jena.ontology.OntModel> getOntModels()
public java.lang.String getConceptNameWithLabel(java.lang.String label)
label
- Description of the Parameterpublic void addConcept(java.lang.String conceptName)
conceptName
- The feature to be added to the Concept attributepublic void addConcept(java.lang.String conceptName, java.lang.String conceptLabel)
conceptName
- The feature to be added to the Concept attributeconceptLabel
- The feature to be added to the Concept attributepublic void assignSuperConcept(java.lang.String subConceptName, java.lang.String superConceptName)
subConceptName
- Description of the ParametersuperConceptName
- Description of the Parameterprotected void writeDefaultModel()
protected void initialize()
public static void main(java.lang.String[] args)
args
- The command line arguments