Question: Which one is less tall between Omar Sharif and Steve McQueen (the one born in 1930-03-24)?
Choices:
James E. Reilly
Rahul Dev Burman
Max Fleischer
Sylvester Stallone
Richard Gere
Omar Sharif
Paul Simon
David Byrne
Steve McQueen
Simon Cowell
Program:
function: Find
inputs: Omar Sharif
function: Find
inputs: Steve McQueen
function: FilterDate
dependencies: 1
inputs: date of birth
1930-03-24
=
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Omar Sharif" . } UNION { ?e <pred:name> "Steve McQueen" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1930-03-24"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Steve McQueen