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

Empty Latest Core Collection Download Urls #139

Open
Vehnem opened this issue Dec 15, 2020 · 2 comments
Open

Empty Latest Core Collection Download Urls #139

Vehnem opened this issue Dec 15, 2020 · 2 comments

Comments

@Vehnem
Copy link
Collaborator

Vehnem commented Dec 15, 2020

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

@Vehnem Vehnem added the website label Dec 15, 2020
@Vehnem
Copy link
Collaborator Author

Vehnem commented Dec 15, 2020

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
Copy link

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.

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

No branches or pull requests

2 participants