Skip to content

Nearby "Place type": Japanese schools considered as "unknown" rather than as schools #6528

@nicolas-raoul

Description

@nicolas-raoul

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:

  1. 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).
  2. Hard-coded these lists into the app.
  3. Use them when filtering the Nearby map.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions