Question: Premier-led Tasmania is distinct from which island?
Choices:
Cyprus
Corsica
Java
Crete
Puerto Rico
Trinidad
Ireland
Tasmania
Cuba
Hawaii
Program:
function: Find
inputs: premier
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Tasmania
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
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_1 <different_from> ?e . ?e_1 <pred:name> "Tasmania" . ?e_1 <office_held_by_head_of_government> ?e_2 . ?e_2 <pred:name> "premier" .   }
Answer: Tasmania