Question: Who is shorter, Stephen Graham (the one whose mass is 98 kilogram) or Jermaine Easter?
Choices:
Stephen Graham
Paul Simon
Rahul Dev Burman
David Byrne
Jermaine Easter
Max Fleischer
James E. Reilly
Sylvester Stallone
Simon Cowell
Richard Gere
Program:
function: Find
inputs: Stephen Graham
function: FilterNum
dependencies: 0
inputs: mass
98 kilogram
=
function: Find
inputs: Jermaine Easter
function: SelectBetween
dependencies: 1
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stephen Graham" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "kilogram" . ?pv_1 <pred:value> "98"^^xsd:double . } UNION { ?e <pred:name> "Jermaine Easter" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jermaine Easter