public class CreateRelationPipelet extends ASesameRecordPipelet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PARAM_OBJECT_IS_RESOURCE
configuration property/parameter name for specifying the attribute name of the relation objects: "objectAttribute".
|
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".
|
_configuration, _valueHelper, PARAM_RECORDFILTER, PARAM_REPOSITORY
Constructor and Description |
---|
CreateRelationPipelet() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
process(Blackboard blackboard,
java.lang.String[] recordIds)
process given records.
|
configure, createUri, getParameters, getRepositoryConnection, getSesameOntologyManager
public static final java.lang.String PARAM_SUBJECTATTRIBUTE
public static final java.lang.String PARAM_OBJECTATTRIBUTE
public static final java.lang.String PARAM_OBJECT_IS_RESOURCE
public static final java.lang.String PARAM_PREDICATEURI
public java.lang.String[] process(Blackboard blackboard, java.lang.String[] recordIds) throws ProcessingException
blackboard
- Blackboard holding and managing the records.recordIds
- Ids of records to process.ProcessingException
- error during processing.