Skip to content

Commit e0d98f3

Browse files
committed
Restored the DISTINCT
1 parent d8b3bf6 commit e0d98f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scholia/app/templates/location_nearby-organizations.sparql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PREFIX wdt: <http://www.wikidata.org/prop/direct/>
55
PREFIX geof: <http://www.opengis.net/def/function/geosparql/>
66
SELECT ?distance ?unit ?unitLabel ?organization ?organizationLabel ?organizationDescription (CONCAT("/organization/", SUBSTR(STR(?organization),32)) AS ?organizationUrl) WHERE {
77
{ # Compute distance.
8-
SELECT ?organization ?distance ?unit WHERE {
8+
SELECT DISTINCT ?organization ?distance ?unit WHERE {
99
# Academic institutions on all levels
1010
{ ?organization wdt:P361*/wdt:P31/wdt:P279* wd:Q3918 }
1111
UNION

0 commit comments

Comments
 (0)