Open Vehnem opened 3 years ago
query=$(curl -H "Accept:text/sparql" https://databus.dbpedia.org/dbpedia/collections/latest-core)
curl -H "Accept: text/csv" --data-urlencode "query=${query}" https://databus.dbpedia.org/repo/sparql | tail -n+2 | sed 's/"//g'
returns
Internal error: The length of generated SQL text has exceeded 10000 lines of code
Changed the query generator to use less UNION instructions and go for VALUES ?o { value1 value2 value3 } when possible.
This is more of a hotfix as we do not know how many lines that saved and when it will break again. We need to discuss the one-collection-one-huge-query design as this doesn't scale so well.
https://databus.dbpedia.org/dbpedia/collections/latest-core is not showing any data or download links, but the hierarchy is working.