Question: Between Woking, with the motto Fide et Diligentia, or West Dorset -- which occupies a smaller area?
Choices:
Kettering
South Somerset
Chichester
North Norfolk
Craven
King's Lynn and West Norfolk
Guildford
Carlisle
Woking
West Dorset
Program:
function: Find
inputs: Woking
function: FilterStr
dependencies: 0
inputs: motto text
Fide et Diligentia
function: Find
inputs: West Dorset
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Woking" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> "Fide et Diligentia" . } UNION { ?e <pred:name> "West Dorset" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Woking