|
@ -154,7 +154,6 @@ def artistsindex(): |
|
|
''') |
|
|
''') |
|
|
sparql.setReturnFormat(JSON) |
|
|
sparql.setReturnFormat(JSON) |
|
|
results = sparql.query().convert() |
|
|
results = sparql.query().convert() |
|
|
print(results) |
|
|
|
|
|
return render_template('artistsindex.html', results=results) |
|
|
return render_template('artistsindex.html', results=results) |
|
|
|
|
|
|
|
|
######################### PUBLISHERS INDEX |
|
|
######################### PUBLISHERS INDEX |
|
@ -178,7 +177,7 @@ def publishersindex(): |
|
|
FILTER(?publishers != wd:Q83) |
|
|
FILTER(?publishers != wd:Q83) |
|
|
FILTER(?publishers != wd:Q71) |
|
|
FILTER(?publishers != wd:Q71) |
|
|
} |
|
|
} |
|
|
ORDER BY DESC(?count) ?publishersLabel |
|
|
ORDER BY ?publishersLabel |
|
|
''') |
|
|
''') |
|
|
sparql.setReturnFormat(JSON) |
|
|
sparql.setReturnFormat(JSON) |
|
|
results = sparql.query().convert() |
|
|
results = sparql.query().convert() |
|
|