Skip to main content

Small wrapper to simplify the interaction with SPARQL endpoints. Built on top of sparqlwrapper and RDFlib

Project description

practicalSPARQL

Version 0.0.4

Install using pip

pip install practicalsparql

Install using conda from conda-forge

conda install -c conda-forge practicalsparql

Some details

This package provdes some functions to easily interact with a SPARQL endpoint using one liners. The package is built on top of rdflib https://rdflib.readthedocs.io/en/stable/index.html and sparqlwrapper https://sparqlwrapper.readthedocs.io/en/latest/#.

practicalSPARQL has two main classes, practicalWrapper which inherits from sparqlWrapper with a couple of extra functions to query some values directly to a dataframe, as well as some function to quickly construct TTL files. Error handeling is mostly done within these function to allow their quick usage with minimal code.

Check the tutorial.ipynb for some examples; which are executed again the Wikidata sparql endpoint. Some example queries are saved as .sparql files int he queries folder.

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

practicalSPARQL-0.0.5.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

practicalSPARQL-0.0.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file practicalSPARQL-0.0.5.tar.gz.

File metadata

  • Download URL: practicalSPARQL-0.0.5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for practicalSPARQL-0.0.5.tar.gz
Algorithm Hash digest
SHA256 babe0df0bcb41b220bd50b86421bcf8203ed520c539bb5bcdcb8309f01c4dee9
MD5 ef445d3eaffbedb8a3254d8cebf9a154
BLAKE2b-256 d263c1f120eb0bf50d5145890e92ec1a161de7d632ad6f51113c18e45573a42d

See more details on using hashes here.

File details

Details for the file practicalSPARQL-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for practicalSPARQL-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6d442067a4d760c9bef690fd9c27a4155e0656de454d8d139d0a8cf805f58f11
MD5 be78ff63234f825a6f0ba1e28d7d77cd
BLAKE2b-256 19e51c9c07c2ec7421794220519f1f92c68aefeb87ca6d2b010309ae61575c98

See more details on using hashes here.

Supported by

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