semvec/pypi-packages huggingface dataset:
practicalSPARQL 0.0.6
Small wrapper to simplify the interaction with SPARQL endpoints. Built on top of sparqlwrapper and RDFlib

# practicalSPARQL
Version 0.0.6
## 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](https://rdflib.readthedocs.io/en/stable/index.html) and sparqlwrapper [https://sparqlwrapper.readthedocs.io/en/latest/#](https://sparqlwrapper.readthedocs.io/en/latest/#).<br>

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. <br>

Check the [tutorial.ipynb](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.