Question: Does Palm Desert or Richmond, founded in 1905, take up a larger area?
Choices:
Oakland
Compton
Richmond
Palm Desert
Boulder
Columbus
New Haven
Lansing
Waukegan
Franklin
Answer: Richmond
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Palm Desert" . } UNION { ?e <pred:name> "Richmond" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1905 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Palm Desert
function: Find
inputs: Richmond
function: FilterYear
dependencies: 1
inputs: inception
1905
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater