Question: Which one, Concord (the one whose inception time is 1869) or Lake Charles, has greater area?
Choices:
Boulder
Franklin
New Haven
Lake Charles
Oakland
Compton
Concord
Waukegan
Columbus
Greenville
Program:
function: Find
inputs: Concord
function: FilterYear
dependencies: 0
inputs: inception
1869
=
function: Find
inputs: Lake Charles
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Concord" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1869 . } UNION { ?e <pred:name> "Lake Charles" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lake Charles