Question: Which one is taller, Adam Smith (the one whose date of birth is 1991-04-29) or Mark Bresciano.
Choices: William Henry Harrison
Sylvester Stallone
Paul Simon
Rahul Dev Burman
Richard Gere
Max Fleischer
Mark Bresciano
James E. Reilly
Simon Cowell
David Byrne
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Bresciano" . } UNION { ?e <pred:name> "Adam Smith" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1991-04-29"^^xsd:date . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mark Bresciano
function: Find
inputs: Adam Smith
function: FilterDate
dependencies: 1
inputs: date of birth
1991-04-29
=
function: SelectBetween
dependencies: 0
2
inputs: height
greater
Answer: Mark Bresciano