Question: Who is shorter, Robert Taylor (the one whose date of birth is 1901-01-01) or Jane Alexander (the one that has the occupation of actor)?
Choices:
William Henry Harrison
James E. Reilly
Max Fleischer
Sylvester Stallone
Robert Taylor
David Byrne
Jane Alexander
Simon Cowell
Paul Simon
Rahul Dev Burman
Answer: Robert Taylor
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> "Jane Alexander" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "actor" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Robert Taylor
function: FilterDate
dependencies: 0
inputs: date of birth
1901-01-01
=
function: Find
inputs: actor
function: Relate
dependencies: 2
inputs: occupation
backward
function: Find
inputs: Jane Alexander
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
less