com.raritantechnologies.concept.rdf_owl
Class SearchSourceStatement

java.lang.Object
  extended byStatementBase
      extended bycom.raritantechnologies.concept.rdf_owl.SearchSourceStatement

public class SearchSourceStatement
extends StatementBase

Binds an RDF Subject / Predicate to one or more objects using an RTI SearchSource to find and transform one or more IResults into an RDFNode within a Jena com.hp.hpl.jena.rdf.model.Model.

Example:

Subject: Drug (which is a Pharmaceutical Product which is a Product)
Property: Manufactured By ( Object Property of Product )
Object: Pharmaceutical Company.

Resolves the Statement into one or more RDF Resource or Literals: Implements the Statement.getObject( ) method by converting the Subject Resource and Property into a SearchSource query using its configuration mapping. It then translates the Result or Results to a Resource or Literal instance(s), returning either a single RDFNode object (a Resource or Literal) or a set of objects within an RDFList.

XML Configuration Template:
     
  

Developed by Raritan Technologies .

Author:
Ted Sullivan
See Also:
Serialized Form

Constructor Summary
SearchSourceStatement(Model model)
           
 
Method Summary
 Literal getLiteral()
           
 RDFNode getObject()
           
 Property getPredicate()
           
 Resource getResource()
           
 Resource getSubject()
           
 void initialize(org.w3c.dom.Element elem)
           
protected  StatementImpl replace(RDFNode rdfnode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchSourceStatement

public SearchSourceStatement(Model model)
Method Detail

replace

protected StatementImpl replace(RDFNode rdfnode)

getLiteral

public Literal getLiteral()

getResource

public Resource getResource()

getSubject

public Resource getSubject()

getPredicate

public Property getPredicate()

getObject

public RDFNode getObject()

initialize

public void initialize(org.w3c.dom.Element elem)