Question: Which area is larger, Florence (the one whose inception time is 1890-12-24) or Manchester (the one whose local dialing code is 603)?
Choices:
Manchester
Lansing
Florence
Oakland
Greenville
Boulder
Columbus
Franklin
Waukegan
Compton
Answer: Manchester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Florence" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1890-12-24"^^xsd:date . } UNION { ?e <pred:name> "Manchester" . ?e <local_dialing_code> ?pv_2 . ?pv_2 <pred:value> "603" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Florence
function: FilterDate
dependencies: 0
inputs: inception
1890-12-24
=
function: Find
inputs: Manchester
function: FilterStr
dependencies: 2
inputs: local dialing code
603
function: SelectBetween
dependencies: 1
3
inputs: area
greater