What is {has rural cities} of {Pará}, that has {inhabitants} is {13155} ?
Do the country cities of Para have 13155 inhabitants?
Do the rural cities of Para have 13155 inhabitants?
SELECT ?n WHERE { resource:Pará property:contains_administrative_territorial_entity ?n . ?n property:population ?j . FILTER ( ?j = 13155 ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q39517> . ?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/P1082> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <13155> . }
SELECT ?answer WHERE { wd:Q39517 wdt:P150 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x , '13155'))}
São João do Araguaia