Question: Which area is larger, Hamilton County (the one that has the capital Cincinnati) or Clinton County (the one whose licence plate code is 14)?
Choices:
Tuscarawas County
Summit County
Stark County
Erie County
Cuyahoga County
Wayne County
Hamilton County
Mahoning County
Wood County
Clinton County
Program:
function: Find
inputs: Cincinnati
function: Relate
dependencies: 0
inputs: capital of
forward
function: Find
inputs: Hamilton County
function: And
dependencies: 1
2
function: Find
inputs: Clinton County
function: FilterStr
dependencies: 4
inputs: licence plate code
14
function: SelectBetween
dependencies: 3
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hamilton County" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Cincinnati" . } UNION { ?e <pred:name> "Clinton County" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "14" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hamilton County