public class SwrlAugmenter extends SemanticAugmenter
Constructor and Description |
---|
SwrlAugmenter() |
Modifier and Type | Method and Description |
---|---|
boolean |
augment(OwlThing thing)
Augment a particular OwlThing.
|
java.lang.String |
getConfig()
Get the configuration information.
|
protected java.util.Set<java.lang.String> |
getNewValues(OwlThing thing,
Property prop)
Get new values for the particular OwlThing and property.
|
protected java.util.Set<java.lang.String> |
getRefineValues(OwlThing thing)
Get any possible values used to refine the class of the OwlThing passed
in.
|
void |
setConfig(java.lang.String configValue)
This method allows the individual augmenters to have a configuration
parameter.
|
addProperties, addProperty, getOwlClass, getProperties, isOverwrite, isRefine, setOverwrite, setOwlClass, setRefine, toString
public boolean augment(OwlThing thing)
SemanticAugmenter
to derive all triples, and save those
triples with the subject matching thing
. It then calls the
superclass method.augment
in class SemanticAugmenter
thing
- the OwlThing to enhancepublic java.lang.String getConfig()
getConfig
in class SemanticAugmenter
protected java.util.Set<java.lang.String> getNewValues(OwlThing thing, Property prop)
getNewValues
in class SemanticAugmenter
thing
- the OwlThing to augmentprop
- the property to augmentprotected java.util.Set<java.lang.String> getRefineValues(OwlThing thing)
getRefineValues
in class SemanticAugmenter
thing
- the thing to find the possible refinements forpublic void setConfig(java.lang.String configValue)
setConfig
in class SemanticAugmenter
configValue
- a configuration string. The format for this string is
dependent on the individual augmenter