A SPARQL rewriter that performs enhanced searches
Project description
FIZzysearch
A SPARQL rewriter that performs enhanced searches
This is an extension of the work that was started at the 2023 HackaLOD event in Gouda. The package provides a SPARQL rewriting framework which can be used to implement different enhanced search facilities like full-text searches or embeddings based searches. The re-writing can be used as a "front-end" to existing SPARQL endpoints, or integrated as a software library. One of the benefits are enabling easier searches for existing triplestires in which it might be cumbersome to install or configure enhanced search facilities.
✨ This library gives you "fizzy" searches! ✨
(and it was made by the FIZ ISE group)
Example
See it in action by running this command in a terminal:
docker run --rm -it -p 8000:8000 -e FTS_FILEPATH=/fts -e DATA_LOAD_PATHS=https://yogaontology.org/ontology.ttl ghcr.io/epoz/shmarql:latest
This will load up a triplestore with an example ontology, and allow fulltext searches over the literals in that store.
SELECT * WHERE {
?sub <http://shmarql.com/fts> "Sa*" .
}
This demo is from SHMARQL which uses FIZzysearch to add fulltext searches to the triplestore.
TODO
-
Add a sample FTS implementation as demo
-
Add documentation on how to build the dependencies and where to fetch the SPARQL grammar
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fizzysearch-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38dc34bf126dd0aa7aa32f18d447ca905c1ae1ec8e6e64ebd05ac893907e9e24 |
|
MD5 | 20f1d8a2c5cb658c5b74af23cb887106 |
|
BLAKE2b-256 | c3a75aca850a172b731851114da36d0789efba4d6fcc0903e1a1b0e7c1ec3269 |