Question: Which one, Lynn (inception time 1629) or Ann Arbor, has a larger sized area?
Choices:
Oakland
Ann Arbor
Boulder
Franklin
Lynn
Columbus
Lansing
Compton
Greenville
New Haven
Program:
function: Find
inputs: Ann Arbor
function: Find
inputs: Lynn
function: FilterYear
dependencies: 1
inputs: inception
1629
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ann Arbor" . } UNION { ?e <pred:name> "Lynn" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1629 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ann Arbor