public class Templates extends Object
| Constructor and Description |
|---|
Templates() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jena.rdf.model.Model |
construct(org.apache.jena.rdf.model.Resource template,
org.apache.jena.query.QuerySolutionMap bindings,
org.apache.jena.query.Dataset dataset)
Takes an instance of dash:SPARQLConstructTemplate and parameter bindings and returns a Model with the triples
that result from the execution of all CONSTRUCT queries in the template using the given parameter bindings.
|
static org.apache.jena.query.QueryExecution |
select(org.apache.jena.rdf.model.Resource template,
org.apache.jena.query.QuerySolutionMap bindings,
org.apache.jena.query.Dataset dataset)
Takes an instance of dash:SPARQLSelectTemplate and parameter bindings and returns a QueryExecution object for the
sh:select query in the template using the given parameter bindings.
|
public static org.apache.jena.rdf.model.Model construct(org.apache.jena.rdf.model.Resource template,
org.apache.jena.query.QuerySolutionMap bindings,
org.apache.jena.query.Dataset dataset)
template - the template defining the sh:construct queries to runbindings - the initial bindings for the CONSTRUCT queriesdataset - the Dataset to query overpublic static org.apache.jena.query.QueryExecution select(org.apache.jena.rdf.model.Resource template,
org.apache.jena.query.QuerySolutionMap bindings,
org.apache.jena.query.Dataset dataset)
template - the template defining the sh:select query to runbindings - the initial bindings for the SELECT querydataset - the Dataset to query overCopyright © 2019 TopQuadrant, Inc.. All rights reserved.