User:Robevans123/Monuments

Querying English Heritage data itemsEdit

The following produces a list of heritage items in Antony (Q4697677), a parish in Cornwall, with label and descriptions

SELECT ?item ?itemLabel ?itemDescription WHERE {
  ?item wdt:P1216 ?number.
  ?item wdt:P131 wd:Q4697677.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
LIMIT 5000
Try it!

Following gives a list of heritage items from their National Heritage number:

SELECT ?item ?itemLabel ?located_in_the_administrative_territorial_entityLabel WHERE {
  { ?item wdt:P1216 "1004239". }
  UNION  { ?item wdt:P1216 "1004240". }
  UNION  { ?item wdt:P1216 "1004241". }
  UNION  { ?item wdt:P1216 "1004399". }
  UNION  { ?item wdt:P1216 "1004464". }
  UNION  { ?item wdt:P1216 "1004486". }
  UNION  { ?item wdt:P1216 "1007278". }
  UNION  { ?item wdt:P1216 "1007298". }
  UNION  { ?item wdt:P1216 "1007771". }
  UNION  { ?item wdt:P1216 "1007772". }
  UNION  { ?item wdt:P1216 "1007773". }
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en". }
  OPTIONAL { ?item wdt:P131 ?located_in_the_administrative_territorial_entity. }
}
LIMIT 10000
Try it!

Finding UK items with commons category but no imageEdit

Scheduled monumentsEdit

SELECT ?item ?itemLabel ?category WHERE {
  {
    SELECT ?item ?category WHERE {
      ?item wdt:P373 ?category. 
      ?item wdt:P17 wd:Q145 .
      ?item wdt:P1435 wd:Q219538 .
      MINUS { ?item wdt:P18 ?image. }
    }
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!

Grade II listed buildingsEdit

SELECT ?item ?itemLabel ?category WHERE {
  {
    SELECT ?item ?category WHERE {
      ?item wdt:P373 ?category. 
      ?item wdt:P17 wd:Q145 .
      ?item wdt:P1435 wd:Q15700834 .
      MINUS { ?item wdt:P18 ?image. }
    }
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!

Useful heritage termsEdit

BarrowsEdit

CrossesEdit

RailwayaniaEdit

  • signal box
  • railway bridge
  • railway viaduct


Scratch areaEdit

Polkerris

Cornwall