Question: Which area is smaller, New York City or Plymouth (the one whose inception time is 1928)?
Choices:
Cork
Trieste
Bergen
Plymouth
New York City
Santo Domingo
Kingston
Chihuahua
Dundee
Abidjan
Program:
function: Find
inputs: New York City
function: Find
inputs: Plymouth
function: FilterYear
dependencies: 1
inputs: inception
1928
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New York City" . } UNION { ?e <pred:name> "Plymouth" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1928 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Plymouth