regexmatching
This wrapper intercepts calls through the store interface which make use of the REGEXTerm class to represent matches by REGEX instead of literal comparison.
Implemented for stores that don’t support this and essentially provides the support by replacing the REGEXTerms by wildcards (None) and matching against the results from the store it’s wrapping.
Classes:
-
REGEXMatching– -
REGEXTerm–REGEXTerm can be used in any term slot and is interpreted as a request to
Functions:
Attributes:
REGEXMatching
Bases: Store
Methods:
-
__len__– -
add– -
bind– -
close– -
commit– -
contexts– -
destroy– -
namespace– -
namespaces– -
open– -
prefix– -
remove– -
remove_context– -
rollback– -
triples–
Attributes:
Source code in rdflib/plugins/stores/regexmatching.py
__len__
add
bind
close
commit
contexts
Source code in rdflib/plugins/stores/regexmatching.py
destroy
namespace
namespaces
open
prefix
remove
Source code in rdflib/plugins/stores/regexmatching.py
remove_context
rollback
triples
Source code in rdflib/plugins/stores/regexmatching.py
REGEXTerm
Bases: str
REGEXTerm can be used in any term slot and is interpreted as a request to perform a REGEX match (not a string comparison) using the value (pre-compiled) for checking rdf:type matches
Methods:
Attributes: