Question: Of countries bordering England (the English Channel is its namesake), which is physically smallest?
Choices:
Cook Islands
Leo Bertos
Faroe Islands
Lesser Antilles
surgery
Dave Chappelle
Greenland
Netherlands
Scotland
Wales
Program:
function: Find
inputs: English Channel
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: England
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: country
function: SelectAmong
dependencies: 5
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "England" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> "English Channel" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wales