What is {garrison} of {Asia-Pacific Economic Cooperation}, that has {inhabitants} is {5888926} ?
"What is {troops} of {Asia-Pacific Economic Cooperation}, that has {dweller} is {5888926} ?"
SELECT ?answer WHERE { wd:Q170481 wdt:P159 ?answer . ?answer wdt:P1082 ?x FILTER(contains(?x,'5888926'))}
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q170481> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159>. ?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> <5888926> . }
"What is {troops} of {Asia-Pacific Economic Cooperation}, that has {dweller} is {5888926} ?"