What is {diplomatic relation} of {place of origin} of {katana} ?
Which is {course of action} of {prequel} {Interior a Budding Woods} ?
What is our diplomatic relation to the place of origin of the katana?
SELECT ?g WHERE { ?k property:diplomatic_relation ?g . resource:katana property:country_of_origin ?k }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q172736> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P495>. ?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/P530> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q172736 wdt:P495 ?X . ?X wdt:P530 ?answer}
Canada Hungary Spain United States of America Finland Sweden Denmark Lithuania Italy Austria Greece Turkey Portugal Netherlands Uruguay Egypt Mexico Ethiopia France United Kingdom People's Republic of China Brazil Russia Germany Ukraine Albania Azerbaijan Georgia Malta Monaco Montenegro Barbados Indonesia South Africa Algeria Singapore Armenia Serbia Australia Peru North Korea Cambodia European Union East Timor New Zealand India Solomon Islands Mongolia Venezuela Paraguay Colombia Trinidad and Tobago Grenada Iran Israel Laos Malaysia Nepal Pakistan Saudi Arabia Sri Lanka Syria Taiwan Thailand Vietnam South Korea Afghanistan Bangladesh Bhutan Brunei Philippines Kosovo Latin America Soviet Union China