Question: Which is greater in area Caracas or Chester (the one whose official website is http://www.chester.gov.uk/)?
Choices:
Chester
Chihuahua
Bergen
Kingston
Santo Domingo
Abidjan
Caracas
Kilkenny
Trieste
Cork
Answer: Caracas
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Caracas" . } UNION { ?e <pred:name> "Chester" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.chester.gov.uk/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Caracas
function: Find
inputs: Chester
function: FilterStr
dependencies: 1
inputs: official website
http://www.chester.gov.uk/
function: SelectBetween
dependencies: 0
2
inputs: area
greater