org.eclipse.smila.ontology.pipelets
Class CreateRelationPipelet
java.lang.Object
org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
org.eclipse.smila.ontology.pipelets.CreateRelationPipelet
- All Implemented Interfaces:
- IPipelet, SimplePipelet
public class CreateRelationPipelet
- extends ASesameRecordPipelet
pipelet for creating relations between attribute values in ontology.
- Author:
- jschumacher
|
Field Summary |
static java.lang.String |
PARAM_OBJECTATTRIBUTE
configuration property/parameter name for specifying the attribute name of the relation objects: "objectAttribute". |
static java.lang.String |
PARAM_PREDICATEURI
configuration property/parameter name for specifying the URI of the relation predicate: "predicateUri". |
static java.lang.String |
PARAM_SUBJECTATTRIBUTE
configuration property/parameter name for specifying the attribute name of the relation subjects:
"subjectAttribute". |
|
Method Summary |
Id[] |
process(Blackboard blackboard,
Id[] recordIds)
process records on Blackboard service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_SUBJECTATTRIBUTE
public static final java.lang.String PARAM_SUBJECTATTRIBUTE
- configuration property/parameter name for specifying the attribute name of the relation subjects:
"subjectAttribute".
- See Also:
- Constant Field Values
PARAM_OBJECTATTRIBUTE
public static final java.lang.String PARAM_OBJECTATTRIBUTE
- configuration property/parameter name for specifying the attribute name of the relation objects: "objectAttribute".
- See Also:
- Constant Field Values
PARAM_PREDICATEURI
public static final java.lang.String PARAM_PREDICATEURI
- configuration property/parameter name for specifying the URI of the relation predicate: "predicateUri".
- See Also:
- Constant Field Values
CreateRelationPipelet
public CreateRelationPipelet()
process
public Id[] process(Blackboard blackboard,
Id[] recordIds)
throws ProcessingException
- process records on Blackboard service.
- Parameters:
blackboard - Blackboard service managing the records.recordIds - Ids of records to process.
- Returns:
- Ids of result records.
- Throws:
ProcessingException - error during processing.