Class HierarchicalDataProviderRdfFlat
java.lang.Object
org.aksw.jena_sparql_api.entity.graph.metamodel.HierarchicalDataProviderRdfFlat
Data provider where ingoing and outgoing predicates are at the same
level of nesting:
The schema of a triple-based resource traversal path is comprised of the following constituents:
${value}/${direction}/${property}/${alias}/${value}/...
Bob / fwd / job / x / Artist
For quads, a graph component is included:
${value}/${direction}/${property}/${alias}/${graph}/${value}/...
Bob / fwd / job / x / old / Artist
Bob / fwd / job / x / new / Architect
Interpretation: Followng the predicate 'job' in forward direction starting from 'Bob'
leads to a set of graphs, each of which contains a certain set of values.
One can navigate from a value (a Node) to the set of related nodes
The schema for a property traversal path is:
{direction}/${property}/${alias}/${direction}/...
${value} and {$property} are generally an identifier for a set of resources.
However, it is common to use concrete identifiers to denote singleton sets containing the identifier itself
For example to the set labelled dbo:Leipzig may contain dbo:Leipzig as its only member.
Example:
dataProvider.fetchChildren(hierarchicalQuery("root")) yields
outgoing/predicate/
- Author:
- raven
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinterpretAbsolutePath(List<org.apache.jena.graph.Node> segments) Determine which kind of data provider needs to be created for the given path
-
Constructor Details
-
HierarchicalDataProviderRdfFlat
public HierarchicalDataProviderRdfFlat()
-
-
Method Details
-
interpretAbsolutePath
Determine which kind of data provider needs to be created for the given path- Parameters:
segments-
-