Question: The Australia that has diplomatic ties with Cambodia is which island's country?
Choices:
Vancouver Island
Maui
Geelong
University of Adelaide
Hawaii
South Island
RMIT University
Sardinia
Australian Army
Tasmania
Program:
function: Find
inputs: Cambodia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: island
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" . ?e <country> ?e_1 . ?e_1 <pred:name> "Australia" . ?e_2 <diplomatic_relation> ?e_1 . ?e_2 <pred:name> "Cambodia" .   }
Answer: Tasmania