public class SparqlQueryRunner extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SparqlQueryRunner.QueryParser<T>
This template class provides some parsing methods to help in the
parseResults() method.
|
static interface |
SparqlQueryRunner.VariableValue |
| Constructor and Description |
|---|
SparqlQueryRunner(org.apache.jena.rdf.model.Model model) |
| Modifier and Type | Method and Description |
|---|---|
static String |
bindValues(String rawString,
SparqlQueryRunner.VariableValue... values) |
org.apache.jena.rdf.model.Model |
executeConstruct(String queryStr)
Execute the CONSTRUCT query and return the resulting model.
|
<T> T |
executeSelect(SparqlQueryRunner.QueryParser<T> parser,
String queryStr)
Execute the SELECT query and parse the results, closing and cleaning up
afterward.
|
static edu.cornell.mannlib.vitro.webapp.utils.SparqlQueryRunner.UriValue |
uriValue(String name,
String uri) |
public SparqlQueryRunner(org.apache.jena.rdf.model.Model model)
public <T> T executeSelect(SparqlQueryRunner.QueryParser<T> parser, String queryStr)
public org.apache.jena.rdf.model.Model executeConstruct(String queryStr)
public static String bindValues(String rawString, SparqlQueryRunner.VariableValue... values)
Copyright © 2022. All rights reserved.