Interface SourceOutput

All Superinterfaces:
org.apache.jena.graph.FrontsNode, org.apache.jena.rdf.model.RDFNode, org.apache.jena.rdf.model.Resource

public interface SourceOutput extends org.apache.jena.rdf.model.Resource
Extension for rml:Source in order to capture their the output variable(s)
 SERVICE invalid input: '<'rml:source:> {[
   rml:source "file.csv" ;
   oso:output ?row
 ]}
 
For sources that produce lists of items(notably CSV) an RDF lists of variables can be specified to map them directly:
 [] oso:outputs (?firstName ?lastName)
 
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.rdf.model.Resource
     
    List<org.apache.jena.graph.Node>
     
    default org.apache.jena.sparql.core.Var
     
    default List<org.apache.jena.sparql.core.Var>
     
    setOutput(org.apache.jena.rdf.model.Resource output)
     

    Methods inherited from interface org.apache.jena.graph.FrontsNode

    asNode

    Methods inherited from interface org.apache.jena.rdf.model.RDFNode

    as, asLiteral, asResource, asStatementTerm, canAs, getModel, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, visitWith

    Methods inherited from interface org.apache.jena.rdf.model.Resource

    abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, toString
  • Method Details

    • setOutput

      SourceOutput setOutput(org.apache.jena.rdf.model.Resource output)
    • getOutput

      org.apache.jena.rdf.model.Resource getOutput()
    • getOutputVar

      default org.apache.jena.sparql.core.Var getOutputVar()
    • getOutputs

      List<org.apache.jena.graph.Node> getOutputs()
    • getOutputVars

      default List<org.apache.jena.sparql.core.Var> getOutputVars()