Interface ReferenceFormulation

All Known Implementing Classes:
ReferenceFormulationCsvViaCsvParse, ReferenceFormulationCsvViaService, ReferenceFormulationJsonStrViaService, ReferenceFormulationJsonViaService, ReferenceFormulationJsonViaUrlText, ReferenceFormulationRdbViaService, ReferenceFormulationTarql, ReferenceFormulationViaServiceBase, ReferenceFormulationWrapper, ReferenceFormulationXmlViaService

public interface ReferenceFormulation
Interface for turning logical sources into (syntactic) SPARQL elements (i.e. graph patterns) and references into SPARQL expressions
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.sparql.expr.Expr
    reference(org.apache.jena.sparql.core.Var itemVar, String expr)
    Access attributes of an item via the given expression
    org.apache.jena.sparql.syntax.Element
    source(org.aksw.rmltk.model.backbone.rml.ILogicalSource logicalSource, org.apache.jena.sparql.core.Var sourceVar)
    <source.xml> xml:parse ?xmlDoc
  • Method Details

    • source

      org.apache.jena.sparql.syntax.Element source(org.aksw.rmltk.model.backbone.rml.ILogicalSource logicalSource, org.apache.jena.sparql.core.Var sourceVar)
      
         <source.xml> xml:parse ?xmlDoc
       
      Parameters:
      logicalSource - A RML logical source specification
      sourceVar - A SPARQL variable that represents the source.
      Returns:
      A graph pattern for loading the source
    • reference

      org.apache.jena.sparql.expr.Expr reference(org.apache.jena.sparql.core.Var itemVar, String expr)
      Access attributes of an item via the given expression