Question: Which has a greater area, Bucks County or Montgomery County (whose official website is http://www.montcopa.org/)?
Choices:
Montgomery County
Lehigh County
Erie County
Bucks County
Westmoreland County
Cumberland County
York County
Warren County
Fayette County
Allegheny County
Answer: Bucks County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bucks County" . } UNION { ?e <pred:name> "Montgomery County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.montcopa.org/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bucks County
function: Find
inputs: Montgomery County
function: FilterStr
dependencies: 1
inputs: official website
http://www.montcopa.org/
function: SelectBetween
dependencies: 0
2
inputs: area
greater