Question: Tell me the one with the bigger area, Shropshire or Devon (the one with Auxilio Divino as the motto text)
Choices:
Staffordshire
Warwickshire
Northumberland
Shropshire
Devon
Derbyshire
Cumbria
Norfolk
Somerset
Essex
Answer: Devon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shropshire" . } UNION { ?e <pred:name> "Devon" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> "Auxilio Divino" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Shropshire
function: Find
inputs: Devon
function: FilterStr
dependencies: 1
inputs: motto text
Auxilio Divino
function: SelectBetween
dependencies: 0
2
inputs: area
greater