rdf4j
Classes:
-
RDF4JStore–An RDF4J store.
RDF4JStore
RDF4JStore(base_url: str, repository_id: str, configuration: str | None = None, auth: tuple[str, str] | None = None, timeout: float = 30.0, create: bool = False, **kwargs)
Bases: Store
An RDF4J store.
Methods:
-
__len__– -
add– -
addN– -
add_graph– -
bind– -
close– -
contexts– -
namespace– -
namespaces– -
open– -
prefix– -
remove– -
remove_graph– -
triples–
Attributes:
-
client– -
context_aware– -
formula_aware– -
graph_aware– -
repo– -
transaction_aware–
Source code in rdflib/plugins/stores/rdf4j.py
__len__
add
Source code in rdflib/plugins/stores/rdf4j.py
addN
Source code in rdflib/plugins/stores/rdf4j.py
add_graph
add_graph(graph: Graph) -> None
bind
bind(prefix: str, namespace: URIRef, override: bool = True) -> None
close
contexts
Source code in rdflib/plugins/stores/rdf4j.py
namespace
namespace(prefix: str) -> Optional[URIRef]
namespaces
namespaces() -> Iterator[Tuple[str, URIRef]]
open
Source code in rdflib/plugins/stores/rdf4j.py
prefix
prefix(namespace: URIRef) -> Optional[str]
remove
remove_graph
remove_graph(graph: Graph) -> None
triples
triples(triple_pattern: _TriplePatternType, context: Optional[_ContextType] = None) -> Iterator[Tuple[_TripleType, Iterator[Optional[_ContextType]]]]