Package | Description |
---|---|
org.apache.jena.query |
ARQ - A query engine for Jena, implementing SPARQL.
|
org.apache.jena.riot | |
org.apache.jena.sparql | |
org.apache.jena.sparql.algebra | |
org.apache.jena.sparql.core | |
org.apache.jena.sparql.core.assembler | |
org.apache.jena.sparql.engine | |
org.apache.jena.sparql.engine.http | |
org.apache.jena.sparql.modify | |
org.apache.jena.sparql.sse | |
org.apache.jena.sparql.util | |
org.apache.jena.update |
Modifier and Type | Method and Description |
---|---|
static Dataset |
DatasetFactory.assemble(Model model)
Assembler a dataset from the model
|
static Dataset |
DatasetFactory.assemble(Resource resource)
Assembler a dataset from a resource
|
static Dataset |
DatasetFactory.assemble(String filename)
Assembler a dataset from the model in a file
|
static Dataset |
DatasetFactory.assemble(String filename,
String resourceURI)
Assembler a dataset from the model in a file
|
static Dataset |
DatasetFactory.create(Dataset dataset)
Create a dataset: clone the dataset structure of named graohs, and share
the graphs themselves.
|
static Dataset |
DatasetFactory.create(DatasetGraph dataset)
Wrap a datasetgraph to make a mutable dataset
|
static Dataset |
DatasetFactory.create(List<String> uriList)
Create a dataset based on a list of URIs : these are merged into the
default graph of the dataset.
|
static Dataset |
DatasetFactory.create(List<String> uriList,
List<String> namedSourceList)
Create a dataset based on two list of URIs.
|
static Dataset |
DatasetFactory.create(List<String> uriList,
List<String> namedSourceList,
String baseURI)
Create a named graph container based on two list of URIs.
|
static Dataset |
DatasetFactory.create(Model model)
Create a dataset with the given model as the default graph
|
static Dataset |
DatasetFactory.create(String uri)
Create a dataset with a default graph and no named graphs
|
static Dataset |
DatasetFactory.create(String uri,
List<String> namedSourceList)
Create a dataset container based on two list of URIs.
|
static Dataset |
DatasetFactory.create(String uri,
List<String> namedSourceList,
String baseURI)
Create a named graph container based on two list of URIs.
|
static Dataset |
DatasetFactory.createMem()
Create an in-memory, modifiable Dataset
|
static Dataset |
DatasetFactory.createMemFixed()
Create an in-memory, modifiable Dataset.
|
static Dataset |
DatasetFactory.createNamed(List<String> namedSourceList)
Create a named graph container of graphs based on a list of URIs.
|
Dataset |
QueryExecution.getDataset()
The dataset against which the query will execute.
|
static Dataset |
DatasetFactory.make(Dataset ds,
Model defaultModel) |
Modifier and Type | Method and Description |
---|---|
static Dataset |
DatasetFactory.create(Dataset dataset)
Create a dataset: clone the dataset structure of named graohs, and share
the graphs themselves.
|
static DatasetAccessor |
DatasetAccessorFactory.create(Dataset dataset)
Create an accessor for a local dataset
|
static QueryExecution |
QueryExecutionFactory.create(Query query,
Dataset dataset)
Create a QueryExecution to execute over the Dataset.
|
static QueryExecution |
QueryExecutionFactory.create(Query query,
Dataset dataset,
QuerySolution initialBinding)
Create a QueryExecution over a Dataset given some initial values of variables.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Dataset dataset)
Create a QueryExecution to execute over the Dataset.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Dataset dataset,
QuerySolution initialBinding)
Create a QueryExecution over a Dataset given some initial values of variables.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax syntax,
Dataset dataset)
Create a QueryExecution to execute over the Dataset.
|
static QueryExecution |
QueryExecutionFactory.create(String queryStr,
Syntax syntax,
Dataset dataset,
QuerySolution initialBinding)
Create a QueryExecution over a Dataset given some initial values of variables.
|
static Dataset |
DatasetFactory.make(Dataset ds,
Model defaultModel) |
Modifier and Type | Method and Description |
---|---|
static Dataset |
RDFDataMgr.loadDataset(String uri)
Create a memory Dataset and read in some data
|
static Dataset |
RDFDataMgr.loadDataset(String uri,
Lang lang)
Create a memory Dataset and read in some data
|
Modifier and Type | Method and Description |
---|---|
static void |
RDFDataMgr.read(Dataset dataset,
InputStream in,
Lang lang)
Read quads or triples into a dataset with bytes from an input stream.
|
static void |
RDFDataMgr.read(Dataset dataset,
InputStream in,
String base,
Lang lang)
Read quads or triples into a dataset with bytes from an input stream.
|
static void |
RDFDataMgr.read(Dataset dataset,
Reader in,
String base,
Lang lang)
Deprecated.
use an InputStream or a StringReader.
|
static void |
RDFDataMgr.read(Dataset dataset,
String uri)
Read quads or triples into a Dataset from the given location, with hint of language.
|
static void |
RDFDataMgr.read(Dataset dataset,
String uri,
Lang hintLang)
Read quads or triples into a Dataset from the given location, with hint of language.
|
static void |
RDFDataMgr.read(Dataset dataset,
String uri,
Lang hintLang,
Context context)
Read quads or triples into a Dataset from the given location.
|
static void |
RDFDataMgr.read(Dataset dataset,
StringReader in,
String base,
Lang lang)
Read quads into a dataset with chars from a StringReader.
|
static void |
RDFDataMgr.read(Dataset dataset,
String uri,
String base,
Lang hintLang)
Read quads or triples into a Dataset from the given location, with hint of language.
|
static void |
RDFDataMgr.read(Dataset dataset,
String uri,
String base,
Lang hintLang,
Context context)
Read quads or triples into a Dataset from the given location.
|
static void |
RDFDataMgr.write(OutputStream out,
Dataset dataset,
Lang lang)
Write the Dataset to the output stream in the default serialization for the language.
|
static void |
RDFDataMgr.write(OutputStream out,
Dataset dataset,
RDFFormat serialization)
Write the graph to the output stream in the default serialization for the language.
|
static void |
RDFDataMgr.write(StringWriter out,
Dataset dataset,
Lang lang)
Write the graph to the output stream in the default serialization for the language.
|
static void |
RDFDataMgr.write(StringWriter out,
Dataset dataset,
RDFFormat serialization)
Write the graph to the output stream in the default serialization for the language.
|
static void |
RDFDataMgr.write(Writer out,
Dataset dataset,
RDFFormat serialization)
Deprecated.
Use of writers is deprecated - use an OutputStream
|
Modifier and Type | Method and Description |
---|---|
static void |
SystemARQ.sync(Dataset dataset)
Sync a Dataset, if underlying storage provides sync.
|
Modifier and Type | Method and Description |
---|---|
static QueryIterator |
Algebra.exec(Op op,
Dataset ds) |
static QueryIterator |
Algebra.execRef(Op op,
Dataset ds) |
Modifier and Type | Class and Description |
---|---|
class |
DatasetImpl
A implementation of a Dataset.
|
Modifier and Type | Method and Description |
---|---|
static Dataset |
DatasetImpl.cloneStructure(DatasetGraph datasetGraph)
Clone the structure of a DatasetGraph.
|
Dataset |
DatasetDescription.createDataset()
Create a dataset from the description - reads URLs into an in-memory dataset
|
static Dataset |
DynamicDatasets.dynamicDataset(DatasetDescription description,
Dataset ds,
boolean defaultUnionGraph)
Given a Dataset and a query, form a Dataset that
is the dynamic dataset from the query.
|
static Dataset |
DatasetImpl.wrap(DatasetGraph datasetGraph)
Wrap an existing DatasetGraph
|
Modifier and Type | Method and Description |
---|---|
static Dataset |
DynamicDatasets.dynamicDataset(DatasetDescription description,
Dataset ds,
boolean defaultUnionGraph)
Given a Dataset and a query, form a Dataset that
is the dynamic dataset from the query.
|
Constructor and Description |
---|
DatasetImpl(Dataset ds) |
Modifier and Type | Method and Description |
---|---|
Dataset |
DatasetAssembler.createDataset(Assembler a,
Resource root,
Mode mode) |
Modifier and Type | Method and Description |
---|---|
Dataset |
QueryExecutionBase.getDataset() |
Constructor and Description |
---|
QueryExecutionBase(Query query,
Dataset dataset,
Context context,
QueryEngineFactory qeFactory) |
Modifier and Type | Method and Description |
---|---|
Dataset |
QueryEngineHTTP.getDataset() |
Constructor and Description |
---|
GraphStoreBasic(Dataset ds) |
Modifier and Type | Method and Description |
---|---|
static void |
SSE.write(Dataset dataset) |
static void |
SSE.write(IndentedWriter out,
Dataset dataset) |
static void |
SSE.write(OutputStream out,
Dataset dataset) |
Modifier and Type | Method and Description |
---|---|
static Dataset |
DatasetUtils.addInGraphs(Dataset ds,
List<String> uriList,
List<String> namedSourceList)
add graphs into an existing DataSource
|
static Dataset |
DatasetUtils.addInGraphs(Dataset ds,
List<String> uriList,
List<String> namedSourceList,
String baseURI)
add graphs into an existing DataSource
|
static Dataset |
DatasetUtils.createDataset(DatasetDescription datasetDesc) |
static Dataset |
DatasetUtils.createDataset(DatasetDescription datasetDesc,
String baseURI) |
static Dataset |
DatasetUtils.createDataset(List<String> uriList,
List<String> namedSourceList) |
static Dataset |
DatasetUtils.createDataset(List<String> uriList,
List<String> namedSourceList,
String baseURI) |
static Dataset |
DatasetUtils.createDataset(String uri,
List<String> namedSourceList) |
static Dataset |
DatasetUtils.createDataset(String uri,
List<String> namedSourceList,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
static Dataset |
DatasetUtils.addInGraphs(Dataset ds,
List<String> uriList,
List<String> namedSourceList)
add graphs into an existing DataSource
|
static Dataset |
DatasetUtils.addInGraphs(Dataset ds,
List<String> uriList,
List<String> namedSourceList,
String baseURI)
add graphs into an existing DataSource
|
static RDFNode |
QueryExecUtils.getExactlyOne(String qs,
Dataset ds)
Execute a query, expecting the result to be one row, one column.
|
Modifier and Type | Method and Description |
---|---|
static GraphStore |
GraphStoreFactory.create(Dataset dataset)
Deprecated.
|
static UpdateProcessor |
UpdateExecutionFactory.create(Update update,
Dataset dataset)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessor |
UpdateExecutionFactory.create(Update update,
Dataset dataset,
QuerySolution inputBinding)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessor |
UpdateExecutionFactory.create(UpdateRequest updateRequest,
Dataset dataset)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessor |
UpdateExecutionFactory.create(UpdateRequest updateRequest,
Dataset dataset,
Context context)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessor |
UpdateExecutionFactory.create(UpdateRequest updateRequest,
Dataset dataset,
QuerySolution inputBinding)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessor |
UpdateExecutionFactory.create(UpdateRequest updateRequest,
Dataset dataset,
QuerySolution inputBinding,
Context context)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessorStreaming |
UpdateExecutionFactory.createStreaming(Dataset dataset)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessorStreaming |
UpdateExecutionFactory.createStreaming(Dataset dataset,
Context context)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessorStreaming |
UpdateExecutionFactory.createStreaming(Dataset dataset,
QuerySolution inputBinding)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static UpdateProcessorStreaming |
UpdateExecutionFactory.createStreaming(Dataset dataset,
QuerySolution inputBinding,
Context context)
Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor
|
static void |
UpdateAction.execute(Update update,
Dataset dataset)
Execute a single SPARQL Update operation.
|
static void |
UpdateAction.execute(Update update,
Dataset dataset,
QuerySolution inputBinding)
Execute a single SPARQL Update operation.
|
static void |
UpdateAction.execute(UpdateRequest request,
Dataset dataset)
Execute SPARQL Update operations.
|
static void |
UpdateAction.execute(UpdateRequest request,
Dataset dataset,
QuerySolution inputBinding)
Execute SPARQL Update operations.
|
static void |
UpdateAction.parseExecute(String updateString,
Dataset dataset)
Parse a string containing SPARQL Update operations, and execute the operations.
|
static void |
UpdateAction.parseExecute(String updateString,
Dataset dataset,
QuerySolution inputBinding)
Parse a string containing SPARQL Update operations, and execute the operations.
|
static void |
UpdateAction.readExecute(String filename,
Dataset dataset)
Read a file containing SPARQL Update operations, and execute the operations.
|
static void |
UpdateAction.readExecute(String filename,
Dataset dataset,
QuerySolution inputBinding)
Read a file containing SPARQL Update operations, and execute the operations.
|
Licenced under the Apache License, Version 2.0