Question: Which has the smaller area, Hudson County or Union County, which has the official website http://www.ucnj.org?
Choices:
Bergen County
Burlington County
Morris County
Union County
Hudson County
Cumberland County
Monmouth County
Essex County
Passaic County
Gloucester County
Program:
function: Find
inputs: Hudson County
function: Find
inputs: Union County
function: FilterStr
dependencies: 1
inputs: official website
http://www.ucnj.org
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hudson County" . } UNION { ?e <pred:name> "Union County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ucnj.org" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hudson County