Question: Which area is smaller, Kane County (the one whose inception time is 1864) or Newport (the one whose GSS code (2011) is W06000022)?
Choices:
Lee County
San Juan County
Greene County
Kent County
Newport
Delaware County
Washoe County
African Union
Orange County
Kane County
Program:
function: Find
inputs: Kane County
function: FilterYear
dependencies: 0
inputs: inception
1864
=
function: Find
inputs: Newport
function: FilterStr
dependencies: 2
inputs: GSS code (2011)
W06000022
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kane County" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1864 . } UNION { ?e <pred:name> "Newport" . ?e <GSS_code_(2011)> ?pv_2 . ?pv_2 <pred:value> "W06000022" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Newport