What country that borders Ghana borders the most countries? (Q568)
Appearance
No description defined
- Which neighbor of Ghana has the most neighbors?
| Language | Label | Description | Also known as |
|---|---|---|---|
| English | What country that borders Ghana borders the most countries? |
No description defined |
|
Statements
SELECT ?sbj { { SELECT ?sbj (COUNT(DISTINCT ?obj) as ?cnt) WHERE { ?sbj wdt:P31/wdt:P279* wd:Q3624078 . ?sbj wdt:P47 ?obj . wd:Q117 wdt:P47 ?sbj } GROUP BY ?sbj } { SELECT (COUNT(DISTINCT ?obj) as ?cnt) WHERE { ?sbj wdt:P31/wdt:P279* wd:Q3624078 . ?sbj wdt:P47 ?obj . wd:Q117 wdt:P47 ?sbj } GROUP BY ?sbj ORDER BY DESC (COUNT(DISTINCT ?obj)) LIMIT 1 } }
0 references