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 triplestores 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.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

fizzysearch-0.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file fizzysearch-0.4.tar.gz.

File metadata

  • Download URL: fizzysearch-0.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for fizzysearch-0.4.tar.gz
Algorithm Hash digest
SHA256 c38afbc8d76f42e10ae5612a11fc2bcf4435bea9b49fb5626773f16e49a227f6
MD5 4b4464c812403d2e591ff2547ea20a13
BLAKE2b-256 3949d210288c8f89bb303541342121187b50c66803b59b9ae2badd9032be1bc7

See more details on using hashes here.

File details

Details for the file fizzysearch-0.4-py3-none-any.whl.

File metadata

  • Download URL: fizzysearch-0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for fizzysearch-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9286d0f3ef53c0b51ecccc68ffa682eb7cc1e5a4f149ed6ae113ea45a71dca95
MD5 5347f8dd18479e787e078a379efd5f73
BLAKE2b-256 94d32ad9c29eda583a9ef052672a3b739b8bf093da9102540ca866b47d8df66b

See more details on using hashes here.

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