What is {has shires} of {Rio Grande do Norte}, that has {date incorporated} is {1962-0-0} ?
What area that used to be included in 1962 has shires of Rio Grande do Norte?
What place that was incorporated in 1962 has shires of Rio Grande do Norte?
SELECT ?h WHERE { resource:Rio_Grande_do_Norte property:contains_administrative_territorial_entity ?h . FILTER ( CONTAINS ( YEAR ( ?i ) , '1962' ) ) . ?h property:inception ?i }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q43255> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P571> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1962-0-0> . }
SELECT ?answer WHERE { wd:Q43255 wdt:P150 ?answer . ?answer wdt:P571 ?x FILTER(contains(YEAR(?x),'1962'))}
Doutor Severiano Janduís