Adds a quad.
The quad to store.
Deletes a quad.
The quad to delete.
Checks whether a specific quad has been stored.
The quad to look for.
true if it exists, otherwise false.
Queries for quads matching the given matcher.
For each property specified in the matcher, the result set is narrowed to only contain quads that match it exactly.
For example, the following query only returns quads with the subject
IRI http://example.org:
const results = await polyIn.match({
subject: dataFactory.namedNode("http://example.org")
})
The matcher.
A list of quads that conform to the specified matcher.
Generated using TypeDoc
PolyIn, mysteriously named for historical reasons, offers access to the polyPod's internal triplestore through an API that follows the RDFJS specification.To create RDF terms that can be passed to
PolyIn, use Pod.dataFactory. Please note that blank nodes, variables, or graphs other than the default graph are not reliably supported across all platforms and therefore best avoided.PolyOut for storing larger amounts of data.
Triplestore for an experimental, more adequately named, replacement for
PolyIn.