Question: Which island has the largest area in Europe?
Choices:
Great Britain
Long Island
Tasmania
Trinidad
Hawaii
Iceland
Puerto Rico
Ireland
Cyprus
Newfoundland
Program:
function: Find
inputs: Europe
function: Relate
dependencies: 0
inputs: continent
backward
function: FilterConcept
dependencies: 1
inputs: island
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" . ?e <continent> ?e_1 . ?e_1 <pred:name> "Europe" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Great Britain