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.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 | Method and Description |
---|---|
default Triple |
Quad.asTriple()
Adapt this Quad to a Triple.
|
Triple |
RDF.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Create a triple.
|
default Triple |
RDFTermFactory.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default Stream<? extends Triple> |
Graph.getTriples()
Deprecated.
|
default Stream<? extends Triple> |
Graph.getTriples(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Deprecated.
|
default Iterable<Triple> |
Graph.iterate()
Gets an Iterable for iterating over all triples in the graph.
|
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.
|
Stream<? extends Triple> |
Graph.stream()
Gets all triples contained by the graph.
|
Stream<? extends Triple> |
Graph.stream(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Gets all triples contained by the graph matched with the pattern.
|
Modifier and Type | Method and Description |
---|---|
void |
Graph.add(Triple triple)
Adds a triple to the graph, possibly mapping any of the components of the
Triple to those supported by this Graph.
|
boolean |
Graph.contains(Triple triple)
Checks if graph contains triple.
|
void |
Graph.remove(Triple triple)
Removes a concrete triple from the graph.
|
Modifier and Type | Interface and Description |
---|---|
interface |
JenaTriple
A Jena-backed
Triple . |
Modifier and Type | Method and Description |
---|---|
static Triple |
JenaRDF.asTriple(RDF factory,
org.apache.jena.graph.Triple triple)
Convert from Jena
Triple to a Commons RDF
Triple . |
Modifier and Type | Method and Description |
---|---|
org.apache.jena.graph.Triple |
JenaRDF.asJenaTriple(Triple triple)
Convert a CommonsRDF
Triple to a Jena
Triple . |
Modifier and Type | Interface and Description |
---|---|
interface |
JsonLdTriple |
Modifier and Type | Method and Description |
---|---|
com.github.jsonldjava.core.RDFDataset.Quad |
JsonLdRDF.asJsonLdQuad(Triple triple)
Adapt a Commons RDF
Triple as a JsonLd
RDFDataset.Quad . |
Modifier and Type | Interface and Description |
---|---|
interface |
RDF4JTriple
Marker interface for RDF4J implementations of Triple.
|
Modifier and Type | Method and Description |
---|---|
ClosableIterable<Triple> |
RDF4JGraph.iterate()
Gets an Iterable for iterating over all triples in the graph.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Triple |
SimpleRDF.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Triple |
SimpleRDFTermFactory.createTriple(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Stream<? extends Triple> |
DatasetGraphView.stream() |
Stream<? extends Triple> |
DatasetGraphView.stream(BlankNodeOrIRI subject,
IRI predicate,
RDFTerm object) |
Modifier and Type | Method and Description |
---|---|
void |
DatasetGraphView.add(Triple triple) |
boolean |
DatasetGraphView.contains(Triple triple) |
void |
DatasetGraphView.remove(Triple triple) |
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.