Question: Which one is smaller, Craig Rocastle or Jackie Robinson that is 180 centimetres tall?
Choices:
Jackie Robinson
Sylvester Stallone
David Byrne
Rahul Dev Burman
Richard Gere
James E. Reilly
William Henry Harrison
Paul Simon
Simon Cowell
Craig Rocastle
Program:
function: Find
inputs: Craig Rocastle
function: Find
inputs: Jackie Robinson
function: FilterNum
dependencies: 1
inputs: height
180 centimetre
=
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Craig Rocastle" . } UNION { ?e <pred:name> "Jackie Robinson" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "180"^^xsd:double . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jackie Robinson