DeerPlugin, SelfConfigurator, ParametrizedDeerPlugin, Execution<Model>, Node<Model>, ParametrizedNode<Model>, Parametrized, Plugin<Model>, org.pf4j.ExtensionPoint@Extension public class DereferencingEnrichmentOperator extends AbstractParametrizedEnrichmentOperator
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.:operationsDictList.
Each entry in the DictList corresponds to one dereferencing operation, allowing multiple
dereferencing operations being carried out by a single DereferencingEnrichmentOperator.
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.
AbstractParametrizedNode.WithImplicitCloning<T>Node.DegreeBounds| Constructor | Description |
|---|---|
DereferencingEnrichmentOperator() |
| Modifier and Type | Method | Description |
|---|---|---|
ParameterMap |
createParameterMap() |
Create an uninitialized
ParameterMap to be filled by the
ExecutionGraphGenerator. |
protected List<Model> |
safeApply(List<Model> models) |
|
ParameterMap |
selfConfig(Model source,
Model target) |
Self configuration
Find source/target URI as the most redundant URIs
|
void |
validateAndAccept(ParameterMap params) |
apply, apply, gatherAnalytics, getId, getInDegree, getOutDegree, init, init, writeAnalyticsdeepCopy, getDegreeBounds, getType, writeInputAnalytics, writeOutputAnalyticsgetParameterMap, init, init, isInitializedapply, apply, gatherAnalytics, getIdgetInDegree, getOutDegree, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParameterMap, init, isInitializedinitinit, isInitialized@NotNull public ParameterMap selfConfig(Model source, Model target)
source - sourcetarget - target@NotNull public ParameterMap createParameterMap()
ParametrizedParameterMap to be filled by the
ExecutionGraphGenerator.ParameterMap containing all allowed Parameterpublic void validateAndAccept(@NotNull
ParameterMap params)
validateAndAccept in class AbstractParametrizedNode<Model>Copyright © 2018. All rights reserved.