Question: Which area is larger, San Marino (the one whose official website is http://www.sanmarinosite.com/castelli/sanmarino/) or New Westminster?
Choices:
Kingston
Bergen
New Westminster
Dundee
San Marino
Cork
Chihuahua
Trieste
Santo Domingo
Kilkenny
Answer: New Westminster
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Marino" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.sanmarinosite.com/castelli/sanmarino/" . } UNION { ?e <pred:name> "New Westminster" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: San Marino
function: FilterStr
dependencies: 0
inputs: official website
http://www.sanmarinosite.com/castelli/sanmarino/
function: Find
inputs: New Westminster
function: SelectBetween
dependencies: 1
2
inputs: area
greater