This is a simple module that allows developer to query SPARQL endpoints and analyze the results with Apache Spark. In particular, if a SELECT query is used, a DataFrame is returned, while if a CONSTRUCT query is used, a GraphFrame is returned. You can find the documentation here.
Build
To generate a .whl file just type make build, and the file will be generated under dist folder.
Test
To properly test the library a SPARQL endpoint is needed. Navigate to deplyoment folder and start a Jena-Fuseky component with the command docker-compose up -d. A simple, hand made, FOAF ontology with few individuals is loaded in Jena-Fuseki. You are encouraged to experiment with the SPARQL endpoint availabe at localhost.
After starting Jena-Fuseki, navigate back to the main folder, and type make docker-test to start the test phase.
Please, feel free to add more tests and open a pull request 😁
Metadata
Release files for SPARQL2Spark 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| SPARQL2Spark-0.0.5.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SPARQL2Spark-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / SPARQL2Spark-0.0.5.tar.gz
| Download URL | SPARQL2Spark-0.0.5.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
addd6e75885ba6c2681aebe183baa7aeaac3f69da4b3b2722bd739964570a3be
|
|
BLAKE2b-256 checksum How to use checksums |
3fcb0ba9b426ad7df9e4bd9d4de464794c1cf2b09f2d5303213b6ae195c9333b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|
Release files / SPARQL2Spark-0.0.5-py3-none-any.whl
| Download URL | SPARQL2Spark-0.0.5-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da4ea5c936abe09f1f350fbab28c318df495c86e50113d7644b742095285782d
|
|
BLAKE2b-256 checksum How to use checksums |
9fcd6bd987a49229b3820f53cc0554a5e8151b4d93e72a22f23dec72d4432347
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|
Security for SPARQL2Spark 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.