dbpedia / databus-maven-plugin

Databus Maven Plugin: Aligning Data and Software Lifecycle with Maven
GNU Affero General Public License v3.0
6 stars 10 forks source link

Empty Latest Core Collection Download Urls #139

Open Vehnem opened 3 years ago

Vehnem commented 3 years ago

https://databus.dbpedia.org/dbpedia/collections/latest-core is not showing any data or download links, but the hierarchy is working.

Vehnem commented 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
holycrab13 commented 3 years ago

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.