public class OwlReasoner extends java.lang.Object implements RecordReasoner
Constructor and Description |
---|
OwlReasoner(org.w3c.dom.Element cfgElement)
Instantiates a new RecordReasoner.
|
Modifier and Type | Method and Description |
---|---|
boolean |
augmentRecord(DataRecord rec)
Augment the data record with information from the ontology.
|
boolean |
canConvert(DataRecord rec)
Return whether the given record can be converted by this adapter
configuration.
|
OwlThing |
createThing(DataRecord rec)
Creates the OwlThing from the DataRecord.
|
java.lang.String |
getTemplateName()
Get the template name this reasoner applies to
|
public OwlReasoner(org.w3c.dom.Element cfgElement)
cfgElement
- the configuration elementpublic boolean augmentRecord(DataRecord rec)
augmentRecord
in interface RecordReasoner
rec
- the data record to augmentpublic boolean canConvert(DataRecord rec)
rec
- the DataRecordpublic OwlThing createThing(DataRecord rec)
rec
- the DataRecordpublic java.lang.String getTemplateName()