Difference between revisions of "What country that borders Ghana borders the most countries? (Q568)"
Jump to navigation
Jump to search
(Created claim: component question (P66): Which country borders the most countries? (Q370)) |
(Created claim: broader question (P41): What countries border Ghana? (Q349)) |
||
| Property / broader question | |||
| Property / broader question: What countries border Ghana? / rank | |||
Normal rank | |||
Revision as of 04:43, 12 May 2025
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