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

public class SparqlRelationParserImpl extends Object implements 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 Details

    • VAR_PATTERN_STR

      public static String VAR_PATTERN_STR
    • VAR_PATTERN

      public static Pattern VAR_PATTERN
  • Constructor Details

    • SparqlRelationParserImpl

      public SparqlRelationParserImpl()
    • SparqlRelationParserImpl

      public SparqlRelationParserImpl(Function<String,org.apache.jena.sparql.syntax.Element> elementParser)
  • Method Details