DeerPlugin, SelfConfigurator, ParametrizedDeerPlugin, org.aksw.faraday_cage.Execution<Model>, org.aksw.faraday_cage.IdentifiableExecution<Model>, org.aksw.faraday_cage.nodes.Node<Model>, org.aksw.faraday_cage.nodes.ParametrizedNode<Model>, org.aksw.faraday_cage.Parametrized, org.aksw.faraday_cage.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:
: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.
:endpointrange: string
URL of the SPARQL endpoint to use for this dereferencing operation. If not given, this operator tries to infer the endpoint from the starting resources URIs.
org.aksw.faraday_cage.nodes.AbstractParametrizedNode.WithImplicitCloning<T extends Object>| Constructor | Description |
|---|---|
DereferencingEnrichmentOperator() |
| Modifier and Type | Method | Description |
|---|---|---|
org.aksw.faraday_cage.parameter.ParameterMap |
createParameterMap() |
|
protected List<Model> |
safeApply(List<Model> models) |
|
org.aksw.faraday_cage.parameter.ParameterMap |
selfConfig(Model source,
Model target) |
Self configuration
Find source/target URI as the most redundant URIs
|
void |
validateAndAccept(org.aksw.faraday_cage.parameter.ParameterMap params) |
apply, apply, getId, getInDegree, getOutDegree, init, initdeepCopy, getDegreeBounds, getTypegetParameterMap, init, init, isInitializedapply, apply, toMultiExecution, toSingleExecutiongetInDegree, getOutDegree, init, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@NotNull public org.aksw.faraday_cage.parameter.ParameterMap selfConfig(Model source, Model target)
source - sourcetarget - target@NotNull public org.aksw.faraday_cage.parameter.ParameterMap createParameterMap()
public void validateAndAccept(@NotNull
org.aksw.faraday_cage.parameter.ParameterMap params)
validateAndAccept in class org.aksw.faraday_cage.nodes.AbstractParametrizedNode<Model>Copyright © 2018. All rights reserved.