|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umu.jasb.reasoning.SemanticEnforcing
public class SemanticEnforcing
This class is the contact point will be client application in which the enforcing of all the semantic features is achieved.
Field Summary | |
---|---|
static long |
AXIOMATIC_TIME
This will contain the axiomatic time for reasoning(for performance measure) |
static long |
CONVERSION_TIME
This will contain the conversion time from instances to OWL (for performance measure) |
static boolean |
DEBUG
This is a config parameter that defined the output in the console for debugging proposes |
static long |
ENFORCING_TIME
This will contain the enforcing time from OWL to instances (for performance measure) |
(package private) java.lang.String |
ontologyURL
This is the URL of the working ontology |
static long |
RULE_TIME
This will contain the rule time for firing the rules in the rule engine (for performance measure) |
(package private) com.hp.hpl.jena.rdf.model.Model |
tBox
THis is the statical perspective of the system |
Constructor Summary | |
---|---|
|
SemanticEnforcing(java.io.File ontFile,
java.lang.String ontologyURL)
This is the default constructor in which at least the URL of the ontology need to be provided Notive that must match which the URL stored in the OWL representation of the domain (the statical perspective o TBox component). |
|
SemanticEnforcing(java.io.InputStream ontUrl,
java.lang.String ontologyURL)
This is the default constructor in which at least the URL of the ontology need to be provided Notive that must match which the URL stored in the OWL representation of the domain (the statical perspective o TBox component). |
|
SemanticEnforcing(java.io.Reader ontUrl,
java.lang.String ontologyURL)
This is the default constructor in which at least the URL of the ontology need to be provided Notive that must match which the URL stored in the OWL representation of the domain (the statical perspective o TBox component). |
private |
SemanticEnforcing(java.lang.String ontologyURL)
This is the default constructor in which at least the URL of the ontology need to be provided Notive that must match which the URL stored in the OWL representation of the domain (the statical perspective o TBox component) |
|
SemanticEnforcing(java.net.URL ontUrl,
java.lang.String ontologyURL)
This is the default constructor in which at least the URL of the ontology need to be provided Notive that must match which the URL stored in the OWL representation of the domain (the statical perspective o TBox component). |
Method Summary | |
---|---|
void |
doReasoningJena(java.util.HashMap<java.lang.Class,java.util.Collection<?>> individuals)
This method is the key of the architecture and provided the semantic enrichment of all the given object with the guide lines provided by the OWL ontology provided in the constructor. |
void |
doReasoningPellet(java.util.HashMap<java.lang.Class,java.util.Collection<?>> individuals)
This method is the key of the architecture and provided the semantic enrichment of all the given object with the guide lines provided by the OWL ontology provided in the constructor. |
void |
doReasoningPelletJena(java.util.HashMap<java.lang.Class,java.util.Collection<?>> individuals)
This method is the key of the architecture and provided the semantic enrichment of all the given object with the guide lines provided by the OWL ontology provided in the constructor. |
void |
doReasoningPelletJess(java.util.HashMap<java.lang.Class,java.util.Collection<?>> individuals)
This method is the key of the architecture and provided the semantic enrichment of all the given object with the guide lines provided by the OWL ontology provided in the constructor. |
private void |
init()
This is an auxiliary method used by all the constructor. |
static void |
setDEBUG(boolean DEBUG)
Establish the debug value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
com.hp.hpl.jena.rdf.model.Model tBox
java.lang.String ontologyURL
public static boolean DEBUG
public static long CONVERSION_TIME
public static long ENFORCING_TIME
public static long AXIOMATIC_TIME
public static long RULE_TIME
Constructor Detail |
---|
private SemanticEnforcing(java.lang.String ontologyURL)
ontologyURL
- The URL of the ontology.public SemanticEnforcing(java.io.File ontFile, java.lang.String ontologyURL)
ontologyURL
- The URL of the ontology.ontFile
- The file that contains the initial ontology filepublic SemanticEnforcing(java.net.URL ontUrl, java.lang.String ontologyURL)
ontologyURL
- The URL of the ontology.ontUrl
- The URL that contains the initial ontology filepublic SemanticEnforcing(java.io.InputStream ontUrl, java.lang.String ontologyURL)
ontologyURL
- The URL of the ontology.ontUrl
- The inputstream that contains the initial ontology filepublic SemanticEnforcing(java.io.Reader ontUrl, java.lang.String ontologyURL)
ontologyURL
- The URL of the ontology.ontUrl
- The reader that contains the initial ontology fileMethod Detail |
---|
public static void setDEBUG(boolean DEBUG)
DEBUG
- the debug valueprivate void init()
public void doReasoningJena(java.util.HashMap<java.lang.Class,java.util.Collection<?>> individuals) throws ConvertionException
individuals
- These are all the instances over which the semantic enrichment will be provided and
conform all the registered instances of the architecture.
ConvertionException
- In the case of any error occur during the appliment of the semantic features.public void doReasoningPelletJena(java.util.HashMap<java.lang.Class,java.util.Collection<?>> individuals) throws ConvertionException
individuals
- These are all the instances over which the semantic enrichment will be provided and
conform all the registered instances of the architecture.
ConvertionException
- In the case of any error occur during the appliment of the semantic features.public void doReasoningPelletJess(java.util.HashMap<java.lang.Class,java.util.Collection<?>> individuals) throws ConvertionException
individuals
- These are all the instances over which the semantic enrichment will be provided and
conform all the registered instances of the architecture.
ConvertionException
- In the case of any error occur during the appliment of the semantic features.public void doReasoningPellet(java.util.HashMap<java.lang.Class,java.util.Collection<?>> individuals) throws ConvertionException
individuals
- These are all the instances over which the semantic enrichment will be provided and
conform all the registered instances of the architecture.
ConvertionException
- In the case of any error occur during the appliment of the semantic features.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |