What country that borders Ghana borders the most countries? (Q568): Difference between revisions
Appearance
Created claim: component question (P66): What countries border Ghana? (Q349) |
Created claim: component question (P66): Which country borders the most countries? (Q370) |
||
| Property / component question | |||
| Property / component question: Which country borders the most countries? / rank | |||
Normal rank | |||
Revision as of 04:42, 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