Skip to main content

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.

Try this query

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fizzysearch-0.2.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

fizzysearch-0.2-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page