diff --git a/scholia/app/templates/work-index_recently-retracted-works.sparql b/scholia/app/templates/work-index_recently-retracted-works.sparql index 3e6ad048..1a6160da 100644 --- a/scholia/app/templates/work-index_recently-retracted-works.sparql +++ b/scholia/app/templates/work-index_recently-retracted-works.sparql @@ -1,7 +1,11 @@ SELECT DISTINCT - ?retracted_work ?retracted_workLabel (CONCAT("/work/", SUBSTR(STR(?retracted_work), 32)) AS ?retracted_workUrl) + ?retracted_work ?retracted_workLabel + (CONCAT("/work/", SUBSTR(STR(?retracted_work), 32)) AS ?retracted_workUrl) + ?date - ?retraction ?retractionLabel (CONCAT("/work/", SUBSTR(STR(?retraction), 32)) AS ?retractionUrl) + + ?retraction ?retractionLabel + (CONCAT("/work/", SUBSTR(STR(?retraction), 32)) AS ?retractionUrl) WITH { # Find retracted papers indicated by instance of retracted paper, # by retraction notice property or by significant event @@ -25,4 +29,5 @@ WHERE { BIND(COALESCE(xsd:date(COALESCE(?retraction_datetime, ?keyevent_datetime)), "Unknown date") AS ?date) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],mul,en". } } -ORDER BY DESC(?date) \ No newline at end of file +ORDER BY DESC(?date) +LIMIT 500 \ No newline at end of file