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