Package | Description |
---|---|
org.apache.commons.rdf.api |
Commons RDF, a common library of RDF 1.1 concepts.
|
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
A 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 |
TripleLike.getObject()
The object of this statement.
|
RDFTerm |
Triple.getObject()
|
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)
Add 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)
Check 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.
|
default Triple |
RDFTermFactory.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Deprecated.
|
Triple |
RDF.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Create a triple.
|
default Stream<? extends Triple> |
Graph.getTriples(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Deprecated.
|
default Iterable<Triple> |
Graph.iterate(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Get 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)
Remove 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)
Get 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.
|
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.