|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.concept.rdf_owl.RdfOwlOutputProcessor
Uses Jena API to convert IResultSet into Resource Description Framework (RDF)
fact statements (Subject-relationship-Object 'triples') that can be used by a Ontology-based query processor.
Maps RDF "triples" subject-predicate-object into a repository based on an RDF or OWL schema and an RDF - SearchSource
mapping. Ensures that the data corresponds to the RDF ontology.
<GatewayOutputProcessor class="com.raritantechnologies.concept.RDF.RDFOutputProcessor"
subjectField="[ result field with subject name ]"
defaultSubject="[ default subject (use if no field for subject) ]"
valueField="[ result field with the fact 'Object' value ]"
defaultRelationship="[ the relationship between subject and 'Object' ]" >
<!-- Optional table defining mapping of result fields to subject/object "relationships" -->
<FieldRelationships>
<Field ID="[ result field with 'Object' value ]" relationship="[ name of fact relationship ]" />
<!-- etc. . . -->
</FieldRelationships>
</GatewayOutputProcessor>
| Constructor Summary | |
RdfOwlOutputProcessor()
|
|
| Method Summary | |
void |
dataComplete()
Data feed is complete. |
void |
initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
Initialize the GatewayOutputProcessor from XML Configuration Element. |
java.lang.String |
processData(IResultSet data)
returns name of XML File created/appended. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.raritantechnologies.searchApp.dataCollection.IGatewayOutputProcessor |
getConfigurationXML, initialize |
| Constructor Detail |
public RdfOwlOutputProcessor()
| Method Detail |
public java.lang.String processData(IResultSet data)
IGatewayOutputProcessor
processData in interface IGatewayOutputProcessorpublic void dataComplete()
IGatewayOutputProcessor
dataComplete in interface IGatewayOutputProcessor
public void initialize(org.w3c.dom.Element outputProcElem,
ISearchFieldMap sfMap)
IGatewayOutputProcessor
initialize in interface IGatewayOutputProcessor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||