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