Question: Which area is larger, West Midlands (the one that contains the administrative division Warwickshire) or St. Charles County?
Choices:
St. Charles County
San Juan County
Delaware County
West Midlands
African Union
Greene County
Washoe County
Cass County
Orange County
Lee County
Program:
function: Find
inputs: Warwickshire
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: West Midlands
function: And
dependencies: 1
2
function: Find
inputs: St. Charles County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Midlands" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Warwickshire" .   } UNION { ?e <pred:name> "St. Charles County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: West Midlands