Question: What island is associated with the country of Australia, which has a diplomatic relation with Sweden?
Choices:
Isle of Wight
Cyprus
North Island
National Institute of Dramatic Art
New South Wales
Perth Glory FC
Saint John
Newfoundland
Australian dollar
Tasmania
Answer: Tasmania
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> "Sweden" .   }
Program:
function: Find
inputs: Sweden
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