Question: Which area is smaller, Queens or Scott County (the one whose inception time is 1837)?
Choices:
Lee County
Cass County
Greene County
Scott County
Queens
Delaware County
Kent County
African Union
Orange County
San Juan County
Program:
function: Find
inputs: Queens
function: Find
inputs: Scott County
function: FilterYear
dependencies: 1
inputs: inception
1837
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Queens" . } UNION { ?e <pred:name> "Scott County" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1837 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Queens