Question: What is the smallest country in area which its currency is pound sterling ?
Choices:
Cook Islands
Netherlands
Greenland
Poltergeist
Faroe Islands
Wales
Killers
Jonathan Demme
Radio Days
Scotland
Program:
function: Find
inputs: pound sterling
function: Relate
dependencies: 0
inputs: currency
backward
function: FilterConcept
dependencies: 1
inputs: country
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e <currency> ?e_1 . ?e_1 <pred:name> "pound sterling" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wales