Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparqlmap seems to bloat generated turtle file (action=dump) #34

Open
k00ni opened this issue Mar 6, 2018 · 1 comment
Open

sparqlmap seems to bloat generated turtle file (action=dump) #34

k00ni opened this issue Mar 6, 2018 · 1 comment

Comments

@k00ni
Copy link
Contributor

k00ni commented Mar 6, 2018

Version: https://github.com/tomatophantastico/sparqlmap/releases/tag/v0.7.5-SNAPSHOT-2

Input CSV: https://github.com/AKSW/transform-bvl-pages-to-csv-file/blob/master/le-online-extracted-places.csv

Mapping: https://github.com/AKSW/transform-bvl-pages-to-csv-file/blob/master/r2rml-mapping.ttl

The TTL output file is about 60 MB.

But after running

rapper -i turtle -o turtle ~/Docker-Containers/sparqlmap/data/output.ttl >! ~/Downloads/output.ttl
rapper: Parsing URI file:///home/k00ni/Docker-Containers/sparqlmap/data/output.ttl with parser turtle
rapper: Serializing with serializer turtle
rapper: Parsing returned 402426 triples

the output file shrinks to about 9 MB. File seems to have way less triples as the one generated by sparqlmap.

rapper -i turtle -c ~/Downloads/output.ttl                            
rapper: Parsing URI file:///home/k00ni/Downloads/output.ttl with parser turtle
rapper: Parsing returned 67071 triples

I reproduced the behavior of rapper with CMEM from eccenca. Uploaded the 60 MB turtle file as a new graph, but downloading it resulted in a file around 9 MB.

Any idea?

k00ni added a commit to k00ni/sparqlmap-docker that referenced this issue Mar 6, 2018
@k00ni
Copy link
Contributor Author

k00ni commented May 14, 2018

Hi, how is the status with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant