Modifier and Type | Interface and Description |
---|---|
interface |
BlankNode
An RDF-1.1
Blank Node, as defined by RDF-1.1 Concepts
and Abstract Syntax, a W3C Recommendation published on 25 February 2014.
Note that: Blank nodes are disjoint from IRIs and literals. |
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.
|
Modifier and Type | Method and Description |
---|---|
BlankNodeOrIRI |
Triple.getSubject()
The subject of this triple, which may be either a
BlankNode or an
IRI , which are represented in Commons RDF by the interface
BlankNodeOrIRI . |
Modifier and Type | Method and Description |
---|---|
void |
Graph.add(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Add a triple to the graph.
|
boolean |
Graph.contains(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Check if graph contains a pattern of triples.
|
java.util.stream.Stream<? extends Triple> |
Graph.getTriples(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Get all triples contained by the graph matched with the pattern.
|
void |
Graph.remove(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Remove a concrete pattern of triples from the graph.
|
Copyright © 2014. All rights reserved.