DeerExecutionGraphNode, EnrichmentOperator, ParameterizedEnrichmentOperator, ParameterizedDeerExecutionGraphNode, ExecutionGraphNode<Model>, Parameterized, Plugin, org.pf4j.ExtensionPoint@Extension public class DereferencingEnrichmentOperator extends AbstractParameterizedEnrichmentOperator
Dereferencing is a method of expanding knowledge of resources that belong to an external knowledge base. We define a dereferencing operation as the following sequence of operations:
?x
that belong to an external knowledge base(?x, d, ?y),
where d is a defined property path in the external knowledge base.(?x, i, ?y),
where i is the property name under which they should be imported.:operationsDereferencingEnrichmentOperator.
Each entry may contain the following properties:
:lookUpPropertyrange: resource
Determines the starting resources?xas all objects of triples having the value of:lookUpPropertyas predicate.
:lookUpPrefix[required] range: string
Determines the starting resources?xas all objects of triples having the value of:lookUpPropertyas predicate.
:dereferencingProperty[required] range: resource
Look up the values to be imported to the local model in the external knowledge base using the property defined by the value of:dereferencingProperty.
:importProperty[required] range: resource
Add looked up values to starting resources using the value of :importProperty.
AbstractParameterizedExecutionGraphNode.WithImplicitCloning<T>ExecutionGraphNode.DegreeBounds| Modifier and Type | Field | Description |
|---|---|---|
static Property |
DEREFERENCING_PROPERTY |
|
static Property |
IMPORT_PROPERTY |
|
static Property |
LOOKUP_PREFIX |
|
static Property |
LOOKUP_PROPERTY |
|
static Property |
OPERATION |
| Constructor | Description |
|---|---|
DereferencingEnrichmentOperator() |
| Modifier and Type | Method | Description |
|---|---|---|
ValidatableParameterMap |
createParameterMap() |
Create an uninitialized
ParameterMap to be filled by the
ExecutionGraphGenerator. |
void |
initializeOperations() |
|
protected List<Model> |
safeApply(List<Model> models) |
apply, getId, getInDegree, getOutDegree, initDegrees, initPluginId, usesImplicitCloningdeepCopy, getDegreeBounds, getTypegetParameterMap, getValidationModelFor, initParameters, isInitializedapply, getInDegree, getOutDegree, initDegrees, usesImplicitCloningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterMap, initParameters, isInitializedgetId, initPluginId, isInitializedpublic static final Property LOOKUP_PROPERTY
public static final Property LOOKUP_PREFIX
public static final Property DEREFERENCING_PROPERTY
public static final Property IMPORT_PROPERTY
public static final Property OPERATION
@NotNull public ValidatableParameterMap createParameterMap()
ParameterizedParameterMap to be filled by the
ExecutionGraphGenerator.ParameterMap containing all allowed Parameterpublic void initializeOperations()
Copyright © 2019. All rights reserved.