Porta del castell d'Eroles (Q96483209)

  • matcher place: Tremp (relation 343014)
  • view on Wikidata
  • Overpass query: show queryOverpass Turbo
    [timeout:300][out:json];
    (
        node(around:1000,42.17195,0.81839)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)[building][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)[military][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)["artwork:type"="sculpture"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)["artwork:type"="sculpture"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)["artwork:type"="sculpture"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)["artwork_type"="sculpture"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)["artwork_type"="sculpture"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)["artwork_type"="sculpture"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)["artwork_type"="statue"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)["artwork_type"="statue"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)["artwork_type"="statue"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)[barrier=gate][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)[barrier=gate][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)[barrier=gate][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)["historic"="city_gate"][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)["historic"="city_gate"][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)["historic"="city_gate"][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)[historic=monument][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)[historic=monument][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)[historic=monument][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)[memorial=statue][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)[memorial=statue][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)[memorial=statue][~"^(addr:housenumber|.*name.*)$"~".",i];
        node(around:1000,42.17195,0.81839)[tourism=artwork][~"^(addr:housenumber|.*name.*)$"~".",i];
        way(around:1000,42.17195,0.81839)[tourism=artwork][~"^(addr:housenumber|.*name.*)$"~".",i];
        rel(around:1000,42.17195,0.81839)[tourism=artwork][~"^(addr:housenumber|.*name.*)$"~".",i];
    );
    out center tags;
Wikidata location: 42.1720, 0.8184 view on OSM or edit on OSM

matches

login to upload wikidata tags

found a single match candidate

way: Castell d'Eroles (OSM), 1 m from Wikidata [show tags]
name: Castell d'Eroles
ruins: yes
name:ca: Castell d'Eroles
building: residential
historic: castle
wikidata: Q8342422
wikipedia: ca:Castell d'Eroles
building:levels: 3

wikidata mismatch: Q8342422

Search criteria from Wikidata

view with query.wikidata.org

statue (Q179700) artwork_type=statue, memorial=statue
military facility (Q18691599) military
building (Q41176) building=yes, building
monument (Q4989906) historic=monument
gate (Q53060) barrier=gate
city gate (Q82117) historic=city_gate, building=gatehouse
work of art (Q838948) tourism=artwork
sculpture (Q860861) artwork_type=sculpture, artwork:type=sculpture