Question: What administrative territorial entity has military conflicts with the sovereign state that shares a border with New Zealand?
Choices:
Union of South Africa
United States of America
Chatham County
Tooele County
Philippines
Yugoslavia
Soviet Union
Sandoval County
Dominion of New Zealand
British Raj
Program:
function: Find
inputs: New Zealand
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: military conflicts
backward
function: FilterConcept
dependencies: 3
inputs: administrative territorial entity
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "New Zealand" .   }
Answer: Dominion of New Zealand