Question: Which one is more taller between, Chris Brown (the one whose date of birth is 1978-10-15) and Walter Matthau?
Choices:
Simon Cowell
Chris Brown
Richard Gere
Paul Simon
James E. Reilly
Walter Matthau
David Byrne
Rahul Dev Burman
Max Fleischer
William Henry Harrison
Program:
function: Find
inputs: Chris Brown
function: FilterDate
dependencies: 0
inputs: date of birth
1978-10-15
=
function: Find
inputs: Walter Matthau
function: SelectBetween
dependencies: 1
2
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Brown" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1978-10-15"^^xsd:date . } UNION { ?e <pred:name> "Walter Matthau" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Walter Matthau