Question: Which is the OSM tag or key for castle?
SPARQL (Wikidata): select distinct ?answer where { wd:Q23413 wdt:P1282 ?answer}
Answer: Tag:historic=castle