Question: Which one occupies a larger area, St. Clair County (containing the capital Port Huron) or Saginaw County?
Choices:
Washtenaw County
Berrien County
Kent County
Livingston County
Clinton County
St. Clair County
Genesee County
Marquette County
Monroe County
Saginaw County
Answer: St. Clair County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saginaw County" .  } UNION { ?e <pred:name> "St. Clair County" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Port Huron" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Saginaw County
function: Find
inputs: Port Huron
function: Relate
dependencies: 1
inputs: capital of
forward
function: Find
inputs: St. Clair County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater