Package | Description |
---|---|
org.apache.commons.rdf.api |
Commons RDF, a common library of RDF 1.1 concepts.
|
org.apache.commons.rdf.experimental |
Experimental Commons RDF features.
|
org.apache.commons.rdf.jena | |
org.apache.commons.rdf.jsonldjava |
Integration with jsonld-java
|
org.apache.commons.rdf.rdf4j |
Commons RDF integration with RDF4J.
|
org.apache.commons.rdf.simple |
A simple in-memory implementation of the Commons RDF API.
|
org.apache.commons.rdf.simple.experimental |
Experimental Commons RDF Simple implementations.
|
Modifier and Type | Method and Description |
---|---|
Quad |
RDF.createQuad(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Create a quad.
|
Modifier and Type | Method and Description |
---|---|
default Iterable<Quad> |
Dataset.iterate()
Get an Iterable for iterating over all quads in the dataset.
|
default Iterable<Quad> |
Dataset.iterate(Optional<BlankNodeOrIRI> graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Get an Iterable for iterating over the quads in the dataset that match
the pattern.
|
Stream<? extends Quad> |
Dataset.stream()
Get all quads contained by the dataset.
|
Stream<? extends Quad> |
Dataset.stream(Optional<BlankNodeOrIRI> graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Get all quads contained by the dataset matched with the pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
Dataset.add(Quad quad)
Add a quad to the dataset, possibly mapping any of the components of the
Quad to those supported by this dataset.
|
boolean |
Dataset.contains(Quad quad)
Check if dataset contains quad.
|
void |
Dataset.remove(Quad quad)
Remove a concrete quad from the dataset.
|
Modifier and Type | Method and Description |
---|---|
RDFParser |
RDFParser.target(Consumer<Quad> consumer)
Specify a consumer for parsed quads.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JenaQuad
A Jena-backed
Quad . |
Modifier and Type | Method and Description |
---|---|
static Quad |
JenaRDF.asQuad(RDF factory,
org.apache.jena.sparql.core.Quad quad)
Convert from Jena
Quad to a Commons
RDF Quad . |
Modifier and Type | Method and Description |
---|---|
org.apache.jena.sparql.core.Quad |
JenaRDF.asJenaQuad(Quad quad)
Convert a CommonsRDF
Quad to a Jena
Quad . |
Modifier and Type | Method and Description |
---|---|
static org.apache.jena.riot.system.StreamRDF |
JenaRDF.streamJenaToQuad(RDF factory,
Consumer<Quad> consumer)
Create a
StreamRDF instance that inserts the converted
Quad s. |
Modifier and Type | Interface and Description |
---|---|
interface |
JsonLdQuad |
Modifier and Type | Method and Description |
---|---|
com.github.jsonldjava.core.RDFDataset.Quad |
JsonLdRDF.asJsonLdQuad(Quad quad)
Adapt a Commons RDF
Quad as a JsonLd
RDFDataset.Quad . |
Modifier and Type | Interface and Description |
---|---|
interface |
RDF4JQuad
Marker interface for RDF4J implementations of Quad.
|
Modifier and Type | Method and Description |
---|---|
Quad |
RDF4J.createQuad(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Modifier and Type | Method and Description |
---|---|
ClosableIterable<Quad> |
RDF4JDataset.iterate()
Get an Iterable for iterating over all quads in the dataset.
|
ClosableIterable<Quad> |
RDF4JDataset.iterate(Optional<BlankNodeOrIRI> graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Get an Iterable for iterating over the quads in the dataset that match
the pattern.
|
Modifier and Type | Method and Description |
---|---|
Quad |
SimpleRDF.createQuad(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Modifier and Type | Method and Description |
---|---|
Consumer<Quad> |
AbstractRDFParser.getTarget()
Get the target to consume parsed Quads.
|
Modifier and Type | Method and Description |
---|---|
T |
AbstractRDFParser.target(Consumer<Quad> consumer) |
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.