SMILA (incubation) API documentation

org.eclipse.smila.ontology.pipelets
Class CreateRelationPipelet

java.lang.Object
  extended by org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
      extended by 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".
 
Fields inherited from class org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
_configuration, _valueHelper, PARAM_RECORDFILTER, PARAM_REPOSITORY
 
Constructor Summary
CreateRelationPipelet()
           
 
Method Summary
 Id[] process(Blackboard blackboard, Id[] recordIds)
          process records on Blackboard service.
 
Methods inherited from class org.eclipse.smila.ontology.pipelets.ASesameRecordPipelet
configure, createUri, getParameters, getRepositoryConnection, getSesameOntologyManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CreateRelationPipelet

public CreateRelationPipelet()
Method Detail

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.

SMILA (incubation) API documentation