Question: Which area is smaller, Maidstone (the one whose native label is Maidstone) or Northampton (the one whose country is United Kingdom)?
Choices:
Oxford
Dorchester
Guildford
Warwick
Taunton
Bedford
Aylesbury
Reading
Northampton
Maidstone
Answer: Maidstone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Maidstone" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Maidstone" . } UNION { ?e <pred:name> "Northampton" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Maidstone
function: FilterStr
dependencies: 0
inputs: native label
Maidstone
function: Find
inputs: United Kingdom
function: Relate
dependencies: 2
inputs: country
backward
function: Find
inputs: Northampton
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less