What is {has counties} of {county seat of} of {Caracas} ?
which nations of the nation situate of Caracas?
which countries of the country seat of Caracas?
SELECT ?e WHERE { resource:Caracas property:capital_of ?y . ?y property:contains_administrative_territorial_entity ?e }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1533> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1376>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P150> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q1533 wdt:P1376 ?X . ?X wdt:P150 ?answer}
Tachira Apure Zulia Barinas Federal Dependencies Merida Amazonas Aragua Anzoátegui Bolívar Miranda Carabobo Yaracuy Delta Amacuro Trujillo Falcón Guárico State Nueva Esparta Cojedes Monagas Portuguesa Lara Sucre La Guaira state Capital District Libertador Macarao Antímano Caricuao (Parish) Coche Sucre El Valle 23 de Enero Altagracia El Junquito El Paraíso El Recreo La Candelaria La Pastora San Agustín San José San Juan San Pedro Santa Rosalía Santa Teresa San Bernardino Catedral La Vega