Package | Description |
---|---|
com.hp.hpl.jena.query |
ARQ - A query engine for Jena, implementing SPARQL.
|
com.hp.hpl.jena.sparql | |
com.hp.hpl.jena.sparql.algebra | |
com.hp.hpl.jena.sparql.core | |
com.hp.hpl.jena.sparql.core.assembler | |
com.hp.hpl.jena.sparql.engine | |
com.hp.hpl.jena.sparql.engine.http | |
com.hp.hpl.jena.sparql.lib | |
com.hp.hpl.jena.sparql.modify | |
com.hp.hpl.jena.sparql.sse | |
com.hp.hpl.jena.sparql.util | |
com.hp.hpl.jena.update | |
org.apache.jena.riot | |
org.apache.jena.riot.out |
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()
Deprecated.
Use createMem
|
static Dataset |
DatasetFactory.create(Dataset dataset)
Create a dataset
|
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,
FileManager fileManager)
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,
FileManager fileManager,
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,
FileManager fileManager)
Create a dataset based on a list of URIs : these are merged into the default graph of the dataset.
|
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,
FileManager fileManager,
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,
FileManager fileManager)
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 DatasetAccessor |
DatasetAccessorFactory.create(Dataset dataset) |
static Dataset |
DatasetFactory.create(Dataset dataset)
Create a 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 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 |
---|---|
Object |
DatasetAssembler.createTextIndex(Dataset ds,
Resource root) |
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() |
Modifier and Type | Method and Description |
---|---|
static boolean |
DatasetLib.isomorphic(Dataset dataset1,
Dataset dataset2)
Return true if the datasets are isomorphic - same names for graphs, graphs isomorphic.
|
Modifier and Type | Method and Description |
---|---|
Dataset |
GraphStoreBasic.toDataset() |
Dataset |
GraphStoreNull.toDataset() |
Dataset |
GraphStoreWrapper.toDataset() |
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 exiting DataSource
|
static Dataset |
DatasetUtils.addInGraphs(Dataset ds,
List<String> uriList,
List<String> namedSourceList,
FileManager fileManager,
String baseURI)
add graphs into an existing DataSource
|
static Dataset |
DatasetUtils.createDataset(DatasetDescription datasetDesc) |
static Dataset |
DatasetUtils.createDataset(DatasetDescription datasetDesc,
FileManager fileManager,
String baseURI) |
static Dataset |
DatasetUtils.createDataset(List<String> uriList,
List<String> namedSourceList) |
static Dataset |
DatasetUtils.createDataset(List<String> uriList,
List<String> namedSourceList,
FileManager fileManager,
String baseURI) |
static Dataset |
DatasetUtils.createDataset(String uri,
List<String> namedSourceList) |
static Dataset |
DatasetUtils.createDataset(String uri,
List<String> namedSourceList,
FileManager fileManager,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
static Dataset |
DatasetUtils.addInGraphs(Dataset ds,
List<String> uriList,
List<String> namedSourceList)
add graphs into an exiting DataSource
|
static Dataset |
DatasetUtils.addInGraphs(Dataset ds,
List<String> uriList,
List<String> namedSourceList,
FileManager fileManager,
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 |
---|---|
Dataset |
GraphStore.toDataset()
Convert to a dataset (for query)
|
Modifier and Type | Method and Description |
---|---|
static GraphStore |
GraphStoreFactory.create(Dataset dataset)
Create a GraphStore from a dataset so that updates apply to the graphs in the dataset.
|
static void |
UpdateAction.execute(Update update,
Dataset dataset)
Execute a single SPARQL Update operation.
|
static void |
UpdateAction.execute(UpdateRequest request,
Dataset dataset)
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.readExecute(String filename,
Dataset dataset)
Read a file containing SPARQL Update operations, and execute the operations.
|
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,
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 |
NQuadsWriter.write(OutputStream out,
Dataset dsg)
Deprecated.
Use RDFDataMgr.write(OutputStream, Dataset, Lang)
with
Lang.NQUADS . |
Licenced under the Apache License, Version 2.0