Question: Who is taller, Art Carney (the one whose date of birth is 1900-09-23) or William James (the one that is a member of Jacksonville Jaguars)?
Choices:
David Byrne
Rahul Dev Burman
William Henry Harrison
Simon Cowell
Max Fleischer
Sylvester Stallone
James E. Reilly
Art Carney
William James
Richard Gere
Program:
function: Find
inputs: Art Carney
function: FilterDate
dependencies: 0
inputs: date of birth
1900-09-23
=
function: Find
inputs: Jacksonville Jaguars
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: William James
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Art Carney" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1900-09-23"^^xsd:date . } UNION { ?e <pred:name> "William James" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Jacksonville Jaguars" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Art Carney