Difference between revisions of "Which city has the most catedrals? (Q169)"

From QAWiki
Jump to navigation Jump to search
(‎Created claim: instance of (P1): question (Q1))
(‎Created claim: query (P11): SELECT ?obj (COUNT(DISTINCT ?sbj) AS ?cnt) WHERE { ?sbj wdt:P31/wdt:P279* wd:Q2977 . ?sbj wdt:P131* ?obj . ?obj wdt:P31/wdt:P279* wd:Q515 . } GROUP BY ?obj ORDER BY DESC(COUNT(DISTINCT ?sbj)) LIMIT 1)
Property / query
 
SELECT ?obj (COUNT(DISTINCT ?sbj) AS ?cnt) WHERE { ?sbj wdt:P31/wdt:P279* wd:Q2977 . ?sbj wdt:P131* ?obj . ?obj wdt:P31/wdt:P279* wd:Q515 . } GROUP BY ?obj ORDER BY DESC(COUNT(DISTINCT ?sbj)) LIMIT 1
Property / query: SELECT ?obj (COUNT(DISTINCT ?sbj) AS ?cnt) WHERE { ?sbj wdt:P31/wdt:P279* wd:Q2977 . ?sbj wdt:P131* ?obj . ?obj wdt:P31/wdt:P279* wd:Q515 . } GROUP BY ?obj ORDER BY DESC(COUNT(DISTINCT ?sbj)) LIMIT 1 / rank
 
Normal rank
Property / query: SELECT ?obj (COUNT(DISTINCT ?sbj) AS ?cnt) WHERE { ?sbj wdt:P31/wdt:P279* wd:Q2977 . ?sbj wdt:P131* ?obj . ?obj wdt:P31/wdt:P279* wd:Q515 . } GROUP BY ?obj ORDER BY DESC(COUNT(DISTINCT ?sbj)) LIMIT 1 / qualifier
 
Property / query: SELECT ?obj (COUNT(DISTINCT ?sbj) AS ?cnt) WHERE { ?sbj wdt:P31/wdt:P279* wd:Q2977 . ?sbj wdt:P131* ?obj . ?obj wdt:P31/wdt:P279* wd:Q515 . } GROUP BY ?obj ORDER BY DESC(COUNT(DISTINCT ?sbj)) LIMIT 1 / qualifier
 

Revision as of 23:57, 9 February 2022

No description defined
  • What city contains the most catedrals?
  • Which city has the highest number of catedrals?
Language Label Description Also known as
English
Which city has the most catedrals?
No description defined
  • What city contains the most catedrals?
  • Which city has the highest number of catedrals?

Statements

0 references
SELECT ?obj (COUNT(DISTINCT ?sbj) AS ?cnt) WHERE { ?sbj wdt:P31/wdt:P279* wd:Q2977 . ?sbj wdt:P131* ?obj . ?obj wdt:P31/wdt:P279* wd:Q515 . } GROUP BY ?obj ORDER BY DESC(COUNT(DISTINCT ?sbj)) LIMIT 1
0 references