Class RdfEmitterContextImpl
java.lang.Object
org.aksw.jena_sparql_api.mapper.context.RdfEmitterContextImpl
- All Implemented Interfaces:
RdfEmitterContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.aksw.commons.collections.frontier.Frontier<Object>static intprotected Map<org.apache.jena.graph.Node,ResolutionRequest> protected RdfPersistenceContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.aksw.commons.collections.frontier.Frontier<Object>Request a placeholder node which corresponds to the (inverse) property of the given subject.Map<org.apache.jena.graph.Node,ResolutionRequest> booleanorg.apache.jena.graph.NoderequestResolution(Object entity) Resolve an entity to a node using default strategiesorg.apache.jena.graph.NoderequestResolution(Object parentEntity, String propertyName) voidsetEmitted(Object entity, boolean status)
-
Field Details
-
frontier
-
persistenceContext
-
nodeToResolutionRequest
-
entityToNode
-
i
public static int i
-
-
Constructor Details
-
RdfEmitterContextImpl
-
-
Method Details
-
getNodeToResolutionRequest
-
isEmitted
- Specified by:
isEmittedin interfaceRdfEmitterContext- Returns:
-
setEmitted
- Specified by:
setEmittedin interfaceRdfEmitterContext
-
requestResolution
- Parameters:
entity-- Returns:
-
requestResolution
Description copied from interface:RdfEmitterContextResolve an entity to a node using default strategies- Specified by:
requestResolutionin interfaceRdfEmitterContext- Returns:
-
getFrontier
Request a placeholder node which corresponds to the (inverse) property of the given subject. Making the strategy for what to do with an existing node configurable is work in progress. Furthermore, the given java entity triple should be written using the given rdfType with the obtained placeholder node as the starting node. This means, that during writing, further requestResultion requests can be occurr. Note, that based on the triples written to the sink, existing iri values may be looked up and possibly reused. Node subject, Directedproperty, - Specified by:
getFrontierin interfaceRdfEmitterContext
-