Skip to content

Tree view only maps Wikidata entities to tree nodes #21

@1ec5

Description

@1ec5

The Tree view only creates nodes for Wikidata entities, not OSM Wiki data items or OSM elements. For example, this query displays nothing even though the table view shows a row for most of the U.S. states:

#defaultView:Tree
SELECT ?osm ?name WHERE {
  ?osm osmt:boundary "administrative";
       osmt:admin_level "4";
       osmt:is_in:country_code "US";
       osmt:name ?name.
}

But replacing the OSM element with a Wikidata entity in the output results in a node for each state:

#defaultView:Tree
SELECT ?wd ?name WHERE {
  ?osm osmt:boundary "administrative";
       osmt:admin_level "4";
       osmt:is_in:country_code "US";
       osmt:name ?name;
       osmt:wikidata ?wd.
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions