Question: Which area is smaller, Richmond (the one whose ISNI is 0000 0004 0619 5865) or Virginia Beach?
Choices:
Winchester
Virginia Beach
Danville
Lynchburg
Williamsburg
Suffolk
Hampton
Roanoke
Charlottesville
Richmond
Answer: Richmond
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richmond" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0004 0619 5865" . } UNION { ?e <pred:name> "Virginia Beach" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Richmond
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0619 5865
function: Find
inputs: Virginia Beach
function: SelectBetween
dependencies: 1
2
inputs: area
less