Class SparqlRelationParserImpl
java.lang.Object
org.aksw.jena_sparql_api.concept.parser.SparqlRelationParserImpl
- All Implemented Interfaces:
com.google.common.base.Function<String,,Fragment2> Function<String,,Fragment2> SparqlRelationParser
There are multiple ways to represent a relation:
- as a path of property uris (TODO we could extend this with a propery path language), "foaf:knows"
- as two variables, followed by a '|' and a graph pattern, e.g. "?s ?o | ?s foaf:knows ?o"
- Author:
- raven
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSparqlRelationParserImpl(Function<String, org.apache.jena.sparql.syntax.Element> elementParser) -
Method Summary
Modifier and TypeMethodDescriptionstatic SparqlRelationParserImplcreate(org.apache.jena.query.Syntax syntax, org.apache.jena.sparql.core.Prologue prologue) static Fragment2Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals
-
Field Details
-
VAR_PATTERN_STR
-
VAR_PATTERN
-
-
Constructor Details
-
SparqlRelationParserImpl
public SparqlRelationParserImpl() -
SparqlRelationParserImpl
-
-
Method Details