3 ms·
You need to add an asterisk after wdt:P279, otherwise the query only finds instances of direct subclasses of Q38723. On the other hand, I didn't think to filter
by yorwba 7y ago
You need to add an asterisk after wdt:P279, otherwise the query only finds instances of direct subclasses of Q38723. On the other hand, I didn't think to filter only for those that have an associated website. (See sibling comment.)
Modifying your query, I get 563 results: https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fschool%20%3FschoolLabel%20%3Fwebsite%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%20%20%3Fschool%20wdt%3AP31%2Fwdt%3AP279%2a%20wd%3AQ38723.%0A%20%20%3Fschool%20wdt%3AP17%20wd%3AQ142.%0A%20%20%3Fschool%20wdt%3AP856%20%3Fwebsite.%0A%7D%20%0ALIMIT%201000 https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fschool%20...
Conclusion: it depends on how you count.
- tuukkah 7y agoThanks for noticing and fixing my bug!