Class RDFInput

java.lang.Object
org.apache.jena.sparql.resultset.ResultSetMem
org.apache.jena.sparql.resultset.RDFInput
All Implemented Interfaces:
Iterator<QuerySolution>, ResultSet, ResultSetRewindable, ResultSetPeekable

public class RDFInput extends ResultSetMem
  • Constructor Details

    • RDFInput

      public RDFInput(org.apache.jena.rdf.model.Model model)
      Process a result set encoded in RDF according to @link{http://www.w3.org/2001/sw/DataAccess/tests/result-set}#
      Parameters:
      model -
  • Method Details

    • fromRDF

      public static ResultSet fromRDF(org.apache.jena.rdf.model.Model model)
      Turns an RDF model, with properties and classes from the result set vocabulary, into a SPARQL result set. The result set formed is a copy in memory.
      Parameters:
      model -
      Returns:
      ResultSet