SPARQL Result to Spark
Project description
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 😁
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
Built Distribution
File details
Details for the file SPARQL2Spark-0.0.5.tar.gz
.
File metadata
- Download URL: SPARQL2Spark-0.0.5.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | addd6e75885ba6c2681aebe183baa7aeaac3f69da4b3b2722bd739964570a3be |
|
MD5 | 8b634334efb72f001658c32f9407a646 |
|
BLAKE2b-256 | 3fcb0ba9b426ad7df9e4bd9d4de464794c1cf2b09f2d5303213b6ae195c9333b |
File details
Details for the file SPARQL2Spark-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: SPARQL2Spark-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da4ea5c936abe09f1f350fbab28c318df495c86e50113d7644b742095285782d |
|
MD5 | 53f804b5bf5fe64af2ae2c18bcf4e40a |
|
BLAKE2b-256 | 9fcd6bd987a49229b3820f53cc0554a5e8151b4d93e72a22f23dec72d4432347 |