Question: Who is shorter, the Robert Taylor born on 1901-01-01 or Thiago Silva?
Choices:
Thiago Silva
Sylvester Stallone
Rahul Dev Burman
James E. Reilly
David Byrne
Max Fleischer
Richard Gere
Paul Simon
William Henry Harrison
Robert Taylor
Program:
function: Find
inputs: Robert Taylor
function: FilterDate
dependencies: 0
inputs: date of birth
1901-01-01
=
function: Find
inputs: Thiago Silva
function: SelectBetween
dependencies: 1
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Robert Taylor" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1901-01-01"^^xsd:date . } UNION { ?e <pred:name> "Thiago Silva" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Robert Taylor