Question: Is the Bill Berry born on 1942-01-01 or George W. Bush the taller of the two?
Choices: Max Fleischer
George W. Bush
Rahul Dev Burman
Simon Cowell
David Byrne
William Henry Harrison
Richard Gere
James E. Reilly
Bill Berry
Sylvester Stallone
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bill Berry" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1942-01-01"^^xsd:date . } UNION { ?e <pred:name> "George W. Bush" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bill Berry
function: FilterDate
dependencies: 0
inputs: date of birth
1942-01-01
=
function: Find
inputs: George W. Bush
function: SelectBetween
dependencies: 1
2
inputs: height
greater
Answer: Bill Berry