Question: Between Snoop Dogg or Mark Williams, who was born on 1971-05-17, which is the taller person?
Choices:
Sylvester Stallone
Rahul Dev Burman
Snoop Dogg
Mark Williams
James E. Reilly
Simon Cowell
William Henry Harrison
Max Fleischer
Paul Simon
David Byrne
Answer: Snoop Dogg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Williams" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1971-05-17"^^xsd:date . } UNION { ?e <pred:name> "Snoop Dogg" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mark Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1971-05-17
=
function: Find
inputs: Snoop Dogg
function: SelectBetween
dependencies: 1
2
inputs: height
greater