Package | Description |
---|---|
org.apache.commons.rdf.api |
Commons RDF, a common library of RDF 1.1 concepts.
|
org.apache.commons.rdf.jena | |
org.apache.commons.rdf.jena.experimental |
Experimental Commons RDF Jena implementations.
|
org.apache.commons.rdf.jena.impl | |
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
QuadLike<G extends RDFTerm>
A generalised "quad-like" interface, extended by
Quad . |
Modifier and Type | Interface and Description |
---|---|
interface |
BlankNode
A RDF-1.1
Blank Node, as defined by
RDF-1.1
Concepts and Abstract Syntax, a W3C Recommendation published on 25
February 2014.
Note: Blank nodes are disjoint from IRIs and literals. |
interface |
BlankNodeOrIRI
|
interface |
IRI
An RDF-1.1 IRI,
as defined by RDF-1.1
Concepts and Abstract Syntax, a W3C Recommendation published on 25
February 2014.
|
interface |
Literal
An RDF-1.1 Literal, as defined by
RDF-1.1 Concepts and Abstract Syntax, a W3C Recommendation published on
25 February 2014.
|
Modifier and Type | Method and Description |
---|---|
RDFTerm |
Triple.getObject()
|
RDFTerm |
TripleLike.getObject()
The object of this statement.
|
RDFTerm |
Quad.getObject()
|
RDFTerm |
TripleLike.getPredicate()
The predicate of this statement.
|
RDFTerm |
TripleLike.getSubject()
The subject of this statement.
|
Modifier and Type | Method and Description |
---|---|
void |
Dataset.add(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Add a quad to the dataset, possibly mapping any of the components to
those supported by this dataset.
|
void |
Graph.add(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Adds a triple to the graph, possibly mapping any of the components to
those supported by this Graph.
|
boolean |
Graph.contains(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Checks if graph contains a pattern of triples.
|
boolean |
Dataset.contains(Optional<BlankNodeOrIRI> graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Check if dataset contains a pattern of quads.
|
Quad |
RDF.createQuad(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Create a quad.
|
Triple |
RDF.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Create a triple.
|
default Triple |
RDFTermFactory.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Deprecated.
|
default Stream<? extends Triple> |
Graph.getTriples(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Deprecated.
|
default Iterable<Triple> |
Graph.iterate(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Gets an Iterable for iterating over the triples in the graph that match
the pattern.
|
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.
|
void |
Graph.remove(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Removes a concrete pattern of triples from the graph.
|
void |
Dataset.remove(Optional<BlankNodeOrIRI> graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Remove a concrete pattern of quads from the default graph of the dataset.
|
Stream<? extends Triple> |
Graph.stream(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Gets all triples contained by the graph matched with the pattern.
|
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 | Interface and Description |
---|---|
interface |
JenaQuadLike<G extends RDFTerm>
A
QuadLike wrapper of a Jena Quad . |
Modifier and Type | Interface and Description |
---|---|
interface |
JenaBlankNode
A Jena-backed
BlankNode . |
interface |
JenaIRI
A Jena-backed
IRI . |
interface |
JenaLiteral
|
interface |
JenaRDFTerm
A Jena-backed
RDFTerm . |
Modifier and Type | Method and Description |
---|---|
static RDFTerm |
JenaRDF.asRDFTerm(RDF factory,
org.apache.jena.graph.Node node)
Convert from Jena
Node to any Commons RDF implementation. |
Modifier and Type | Method and Description |
---|---|
JenaQuadLike<RDFTerm> |
JenaRDF.asGeneralizedQuad(org.apache.jena.sparql.core.Quad quad)
Adapt a generalized Jena
Quad to a
CommonsRDF QuadLike . |
Modifier and Type | Method and Description |
---|---|
org.apache.jena.graph.Node |
JenaRDF.asJenaNode(RDFTerm term)
Convert a CommonsRDF RDFTerm to a Jena Node.
|
JenaGeneralizedQuadLike |
JenaRDF.createGeneralizedQuad(RDFTerm subject,
RDFTerm predicate,
RDFTerm object,
RDFTerm graphName)
Create a generalized Jena quad.
|
JenaGeneralizedTripleLike |
JenaRDF.createGeneralizedTriple(RDFTerm subject,
RDFTerm predicate,
RDFTerm object)
Create a generalized Jena triple.
|
JenaQuad |
JenaRDF.createQuad(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Create a quad.
|
JenaTriple |
JenaRDF.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Modifier and Type | Method and Description |
---|---|
org.apache.jena.riot.system.StreamRDF |
JenaRDF.streamJenaToGeneralizedQuad(Consumer<QuadLike<RDFTerm>> generalizedConsumer)
Create a
StreamRDF instance that inserts generalized
QuadLike s. |
Modifier and Type | Method and Description |
---|---|
JenaRDFParser |
JenaRDFParser.targetGeneralizedQuad(Consumer<QuadLike<RDFTerm>> consumer) |
Modifier and Type | Method and Description |
---|---|
JenaGeneralizedQuadLike |
InternalJenaFactory.createGeneralizedQuad(RDFTerm subject,
RDFTerm predicate,
RDFTerm object,
RDFTerm graphName) |
JenaGeneralizedTripleLike |
InternalJenaFactory.createGeneralizedTriple(RDFTerm subject,
RDFTerm predicate,
RDFTerm object) |
JenaQuad |
InternalJenaFactory.createQuad(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object,
BlankNodeOrIRI graphName) |
JenaTriple |
InternalJenaFactory.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Modifier and Type | Interface and Description |
---|---|
interface |
JsonLdQuadLike<G extends RDFTerm> |
Modifier and Type | Interface and Description |
---|---|
interface |
JsonLdBlankNode |
interface |
JsonLdIRI |
interface |
JsonLdLiteral |
interface |
JsonLdTerm |
Modifier and Type | Method and Description |
---|---|
com.github.jsonldjava.core.RDFDataset.Node |
JsonLdRDF.asJsonLdNode(RDFTerm term) |
JsonLdQuad |
JsonLdRDF.createQuad(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
JsonLdTriple |
JsonLdRDF.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Modifier and Type | Interface and Description |
---|---|
interface |
RDF4JBlankNode
Marker interface for RDF4J implementations of Commons RDF
BlankNode . |
interface |
RDF4JBlankNodeOrIRI
Marker interface for RDF4J implementations of Commons RDF
BlankNodeOrIRI (e.g. |
interface |
RDF4JIRI
Marker interface for RDF4J implementations of Commons RDF
IRI . |
interface |
RDF4JLiteral
Marker interface for RDF4J implementations of Commons RDF
Literal . |
interface |
RDF4JTerm
Marker interface for RDF4J implementations of RDFTerm.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.rdf4j.model.Value |
RDF4J.asValue(RDFTerm term)
Adapt a Commons RDF
RDFTerm as a RDF4J Value . |
Quad |
RDF4J.createQuad(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
RDF4JTriple |
RDF4J.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
ClosableIterable<Triple> |
RDF4JGraph.iterate(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Gets an Iterable for iterating over the triples in the graph that match
the pattern.
|
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.
|
Stream<RDF4JTriple> |
RDF4JGraph.stream(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Gets all triples contained by the graph matched with the pattern.
|
Stream<RDF4JQuad> |
RDF4JDataset.stream(Optional<BlankNodeOrIRI> graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Get all quads contained by the dataset matched with the pattern.
|
Modifier and Type | Class and Description |
---|---|
class |
Types
Types from the RDF and XML Schema vocabularies.
|
Modifier and Type | Method and Description |
---|---|
void |
DatasetGraphView.add(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
boolean |
DatasetGraphView.contains(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Quad |
SimpleRDF.createQuad(BlankNodeOrIRI graphName,
BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Triple |
SimpleRDF.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Triple |
SimpleRDFTermFactory.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Deprecated.
|
void |
DatasetGraphView.remove(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Stream<? extends Triple> |
DatasetGraphView.stream(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.