Question: Did Gibraltar claim territory in both the United Kingdom and Spain?
SPARQL (Wikidata): ASK WHERE { wd:Q1410 wdt:P1336 wd:Q145 . wd:Q1410 wdt:P1336 wd:Q29 }