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