Uses of Interface
org.apache.jena.query.Dataset
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
-
Uses of Dataset in org.apache.jena.query
Modifier and TypeMethodDescriptionDataset.addNamedModel
(String uri, org.apache.jena.rdf.model.Model model) Add a named graph.Dataset.addNamedModel
(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Model model) Add a named graph.static Dataset
Assemble a dataset from the model in a filestatic Dataset
Assemble a dataset from the model in a filestatic Dataset
DatasetFactory.assemble
(org.apache.jena.rdf.model.Model model) Assemble a dataset from the model.static Dataset
Assemble a dataset from a specific resource in a model.static Dataset
DatasetFactory.assemble
(org.apache.jena.rdf.model.Model model, org.apache.jena.rdf.model.Resource resource) Assemble a dataset from a specific resource in a model.static Dataset
DatasetFactory.assemble
(org.apache.jena.rdf.model.Resource resource) Assemble a dataset from a resourcestatic Dataset
DatasetFactory.create()
Create an in-memoryDataset
.static Dataset
static Dataset
Create a dataset container based on two list of URIs.static Dataset
Create a named graph container based on two list of URIs.static Dataset
static Dataset
Create a dataset based on two list of URIs.static Dataset
Create a named graph container based on two list of URIs.static Dataset
DatasetFactory.create
(org.apache.jena.rdf.model.Model model) Create a dataset, starting with the model argument as the default graph of the dataset.static Dataset
DatasetFactory.createGeneral()
Create a general-purposeDataset
.
Any graphs needed are in-memory unless explicitly added withaddNamedModel(java.lang.String, org.apache.jena.rdf.model.Model)
.static Dataset
DatasetFactory.createNamed
(List<String> namedSourceList) static Dataset
DatasetFactory.createTxnMem()
Create an in-memory. transactionalDataset
.static Dataset
DatasetFactory.empty()
An always emptyDataset
.QueryExecution.execConstructDataset()
Execute a CONSTRUCT query, putting the statements into 'dataset'.QueryExecution.execConstructDataset
(Dataset dataset) Execute a CONSTRUCT query, putting the statements into 'dataset'.ModelStore.getDataset()
GET dataset.QueryExecution.getDataset()
The dataset against which the query will execute.Dataset.removeNamedModel
(String uri) Remove a named graph.Dataset.removeNamedModel
(org.apache.jena.rdf.model.Resource resource) Remove a named graph.Dataset.replaceNamedModel
(String uri, org.apache.jena.rdf.model.Model model) Change a named graph for another using the same nameDataset.replaceNamedModel
(org.apache.jena.rdf.model.Resource resource, org.apache.jena.rdf.model.Model model) Change a named graph for another using the same nameDataset.setDefaultModel
(org.apache.jena.rdf.model.Model model) Set the default graph.static Dataset
DatasetFactory.wrap
(org.apache.jena.rdf.model.Model model) Wrap aModel
to make a dataset; the model is the default graph of the RDF Dataset.static Dataset
DatasetFactory.wrap
(DatasetGraph dataset) Wrap aDatasetGraph
to make a datasetModifier and TypeMethodDescriptionstatic QueryExecution
Create a local execution on a dataset for a given querystatic QueryExecution
Create a local execution on a dataset for a given querystatic QueryExecution
Create a QueryExecution to execute over the Dataset.static QueryExecution
Create a QueryExecution to execute over the Dataset.static QueryExecution
Create a QueryExecution to execute over the Dataset.static QueryExecution
QueryExecutionFactory.create
(Query query, Dataset dataset, QuerySolution querySolution) Deprecated.static QueryExecutionDatasetBuilder
Create a local execution builder on a datasetQueryExecution.execConstructDataset
(Dataset dataset) Execute a CONSTRUCT query, putting the statements into 'dataset'.void
ModelStore.postDataset
(Dataset dataset) POST a datasetvoid
ModelStore.putDataset
(Dataset dataset) PUT a dataset -
Uses of Dataset in org.apache.jena.rdfs
Modifier and TypeMethodDescriptionstatic Dataset
RDFSFactory.datasetRDFS
(Dataset data, org.apache.jena.graph.Graph vocab) Create an RDFS inference dataset.Modifier and TypeMethodDescriptionstatic Dataset
RDFSFactory.datasetRDFS
(Dataset data, org.apache.jena.graph.Graph vocab) Create an RDFS inference dataset. -
Uses of Dataset in org.apache.jena.riot
Modifier and TypeMethodDescriptionstatic Dataset
RDFDataMgr.loadDataset
(String uri) Create a memory Dataset and read in some datastatic Dataset
RDFDataMgr.loadDataset
(String uri, Lang lang) Create a memory Dataset and read in some dataRDFParser.toDataset()
Parse the source in to a freshDataset
and return the dataset.RDFParserBuilder.toDataset()
Parse the source in to a freshDataset
and return the dataset.Modifier and TypeMethodDescriptionvoid
Parse the source, sending the results to aDataset
.void
Parse the source, sending the results to aDataset
.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, InputStream in, Lang lang) Read quads or triples into a dataset with bytes from an input stream.static void
RDFDataMgr.read
(Dataset dataset, StringReader in, String base, Lang lang) Read quads into a dataset with chars from a StringReader.static void
Read quads or triples into a Dataset from the given location, with a hint of the language.static void
Read quads or triples into a Dataset from the given location, with a hint of the language.static void
Read quads or triples into a Dataset from the given location, with a hint of the language.static RDFWriterBuilder
Create anRDFWriterBuilder
and set the source of writing to the graph argument.Set the source of writing to theDatasetGraph
argument.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. -
Uses of Dataset in org.apache.jena.sparql
-
Uses of Dataset in org.apache.jena.sparql.algebra
-
Uses of Dataset in org.apache.jena.sparql.core
Modifier and TypeMethodDescriptionDatasetImpl.addNamedModel
(String uri, org.apache.jena.rdf.model.Model model) DatasetImpl.addNamedModel
(org.apache.jena.rdf.model.Resource uri, org.apache.jena.rdf.model.Model model) DatasetDescription.createDataset()
Create a dataset from the description - reads URLs into an in-memory datasetstatic Dataset
DynamicDatasets.dynamicDataset
(DatasetDescription description, Dataset ds, boolean defaultUnionGraph) Given a DatasetDescription, form a Dataset that is the dynamic dataset over the base dataset.DatasetImpl.removeNamedModel
(String uri) DatasetImpl.removeNamedModel
(org.apache.jena.rdf.model.Resource uri) DatasetImpl.replaceNamedModel
(String uri, org.apache.jena.rdf.model.Model model) DatasetImpl.replaceNamedModel
(org.apache.jena.rdf.model.Resource uri, org.apache.jena.rdf.model.Model model) DatasetImpl.setDefaultModel
(org.apache.jena.rdf.model.Model model) static Dataset
DatasetImpl.wrap
(DatasetGraph datasetGraph) Wrap an existing DatasetGraphModifier and TypeMethodDescriptionstatic Dataset
DynamicDatasets.dynamicDataset
(DatasetDescription description, Dataset ds, boolean defaultUnionGraph) Given a DatasetDescription, form a Dataset that is the dynamic dataset over the base dataset. -
Uses of Dataset in org.apache.jena.sparql.core.assembler
-
Uses of Dataset in org.apache.jena.sparql.exec
Modifier and TypeMethodDescriptionQueryExecutionAdapter.execConstructDataset()
Execute a CONSTRUCT query, putting the statements into 'dataset'.QueryExecutionAdapter.execConstructDataset
(Dataset dataset) Execute a CONSTRUCT query, putting the statements into 'dataset'.QueryExecutionCompat.execConstructDataset()
QueryExecutionCompat.execConstructDataset
(Dataset dataset) QueryExecutionAdapter.getDataset()
The dataset against which the query will execute.QueryExecutionCompat.getDataset()
Modifier and TypeMethodDescriptionstatic QueryExecution
QueryExecutionCompat.compatibility
(QueryExecMod qExec, Dataset dataset, Query query, String queryString) QueryExecutionAdapter.execConstructDataset
(Dataset dataset) Execute a CONSTRUCT query, putting the statements into 'dataset'.QueryExecutionCompat.execConstructDataset
(Dataset dataset) -
Uses of Dataset in org.apache.jena.sparql.resultset
-
Uses of Dataset in org.apache.jena.sparql.sse
-
Uses of Dataset in org.apache.jena.sparql.util
Modifier and TypeMethodDescriptionstatic Dataset
Add graphs into an existing Datasetstatic Dataset
DatasetUtils.addInGraphs
(Dataset ds, List<String> uriList, List<String> namedSourceList, String baseURI) Add graphs into a Datasetstatic Dataset
DatasetUtils.createDataset
(String uri, List<String> namedSourceList) Create a general purpose, in-memory dataset, and load data into the default graph and also some named graphs.static Dataset
DatasetUtils.createDataset
(String uri, List<String> namedSourceList, String baseURI) Create a general purpose, in-memory dataset, and load data into the default graph and also some named graphs.static Dataset
DatasetUtils.createDataset
(List<String> uriList, List<String> namedSourceList) Create a general purpose, in-memory dataset, and load some datastatic Dataset
Create a general purpose, in-memory dataset, and load data.static Dataset
DatasetUtils.createDataset
(DatasetDescription datasetDesc) Create a general purpose, in-memory dataset, and load data.static Dataset
DatasetUtils.createDataset
(DatasetDescription datasetDesc, String baseURI) Create a general purpose, in-memory dataset, and load data.Modifier and TypeMethodDescriptionstatic Dataset
Add graphs into an existing Datasetstatic Dataset
DatasetUtils.addInGraphs
(Dataset ds, List<String> uriList, List<String> namedSourceList, String baseURI) Add graphs into a Datasetstatic org.apache.jena.rdf.model.RDFNode
QueryExecUtils.getExactlyOne
(String qs, Dataset ds) Execute a query, expecting the result to be one row, one column. -
Uses of Dataset in org.apache.jena.sparql.util.compose
Modifier and TypeMethodDescriptionstatic Dataset
DatasetLib.difference
(Dataset d1, Dataset d2) static Dataset
DatasetLib.difference
(Dataset d1, Dataset d2, Context c) static Dataset
DatasetLib.intersection
(Dataset d1, Dataset d2) static Dataset
DatasetLib.intersection
(Dataset d1, Dataset d2, Context c) static Dataset
static Dataset
Modifier and TypeMethodDescriptionDatasetCollector.ConcurrentDatasetCollector.accumulator()
DatasetCollector.ConcurrentDatasetCollector.accumulator()
DatasetCollector.IntersectionDatasetCollector.accumulator()
DatasetCollector.IntersectionDatasetCollector.accumulator()
DatasetCollector.UnionDatasetCollector.accumulator()
DatasetCollector.UnionDatasetCollector.accumulator()
DatasetCollector.ConcurrentDatasetCollector.combiner()
DatasetCollector.IntersectionDatasetCollector.combiner()
DatasetCollector.UnionDatasetCollector.combiner()
DatasetCollector.supplier()
Modifier and TypeMethodDescriptionstatic Dataset
DatasetLib.difference
(Dataset d1, Dataset d2) static Dataset
DatasetLib.difference
(Dataset d1, Dataset d2, Context c) static Dataset
DatasetLib.intersection
(Dataset d1, Dataset d2) static Dataset
DatasetLib.intersection
(Dataset d1, Dataset d2, Context c) static Dataset
static Dataset
-
Uses of Dataset in org.apache.jena.update
Modifier and TypeMethodDescriptionstatic UpdateExecution
UpdateExecutionFactory.create
(UpdateRequest updateRequest, Dataset dataset) Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionstatic UpdateExecution
UpdateExecutionFactory.create
(UpdateRequest updateRequest, Dataset dataset, Context context) Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionstatic UpdateExecution
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionstatic UpdateProcessorStreaming
UpdateExecutionFactory.createStreaming
(Dataset dataset) Deprecated, for removal: This API element is subject to removal in a future version.static UpdateProcessorStreaming
UpdateStreaming.createStreaming
(Dataset dataset, QuerySolution inputBinding) Deprecated, for removal: This API element is subject to removal in a future version.static UpdateProcessorStreaming
UpdateStreaming.createStreaming
(Dataset dataset, Context context) Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionCreate aUpdateExecutionBuilder
for a dataset.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
Execute a single SPARQL Update operation.static void
UpdateAction.execute
(Update update, Dataset dataset, QuerySolution inputBinding) Execute a single SPARQL Update operation.void
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.
QueryExecution.dataset(dataset).query(query).substitution(querySolution).build()
.