Example: https://www.wikidata.org/wiki/Q11521696 with class elementary school in Japan
I suspect the app only checks one Wikidata class. Instead, it should check the most popular sub-classes too.
Another solution could be to dynamically check parents hierarchies, but that would be far too slow (one expensive SPARQL request for each pin, multiplied by: for each of the ~20 place types).
Tasks:
- Using SPARQL at https://query.wikidata.org, identify each place type's sub-classes that have at least 1000 occurrences (this may help but get classes instead).
- Hard-coded these lists into the app.
- Use them when filtering the Nearby map.