com.raritantechnologies.concept.rdf_owl
Class SearchSourceStatement
java.lang.Object
StatementBase
com.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchSourceStatement
public SearchSourceStatement(Model model)
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)