What is {permanent resident of} of {Ma Ying-jeou}, that has {acronym} is {USA} ?
Which is premanent resident of Ma Ying-jeou having acronym as USA?
Which is premanent resident of Ma Ying-jeou having acronym as USA?
SELECT ?t WHERE { ?t property:short_name ?t . FILTER ( CONTAINS ( ?t , 'USA' ) ) . resource:Ma_Ying-jeou property:permanent_resident_of ?t }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q19216> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P5389>. ?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/P1813> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <USA> . }
SELECT ?answer WHERE { wd:Q19216 wdt:P5389 ?answer . ?answer wdt:P1813 ?x FILTER(contains(?x , 'USA'))}
United States of America