Question: Which area is larger, Wayne County (the one whose ISNI is 0000 0004 0405 425X) or Sullivan County (the one whose population is 77547)?
Choices:
Orange County
Clinton County
Cayuga County
Jefferson County
Rensselaer County
Wayne County
Warren County
Sullivan County
Albany County
Niagara County
Program:
function: Find
inputs: Wayne County
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0405 425X
function: Find
inputs: Sullivan County
function: FilterNum
dependencies: 2
inputs: population
77547
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wayne County" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0004 0405 425X" . } UNION { ?e <pred:name> "Sullivan County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "77547"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wayne County