Question: Which one, David Brown (the one whose height is 193 centimetre) or Dwayne Johnson, has less height?
Choices:
Max Fleischer
David Byrne
Richard Gere
David Brown
Rahul Dev Burman
James E. Reilly
William Henry Harrison
Simon Cowell
Sylvester Stallone
Paul Simon
Program:
function: Find
inputs: David Brown
function: FilterNum
dependencies: 0
inputs: height
193 centimetre
=
function: Find
inputs: Dwayne Johnson
function: SelectBetween
dependencies: 1
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "David Brown" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "193"^^xsd:double . } UNION { ?e <pred:name> "Dwayne Johnson" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: David Brown