Question: Who weighs less, Chris Evans (the one whose date of death is 2000-05-09) or Chris Cooper (the one that is a member of Seattle Seahawks)?
Choices:
Rahul Dev Burman
Simon Cowell
Chris Cooper
Chris Evans
Paul Simon
James E. Reilly
Max Fleischer
William Henry Harrison
Richard Gere
Sylvester Stallone
Program:
function: Find
inputs: Chris Evans
function: FilterDate
dependencies: 0
inputs: date of death
2000-05-09
=
function: Find
inputs: Seattle Seahawks
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Chris Cooper
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chris Evans" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "2000-05-09"^^xsd:date . } UNION { ?e <pred:name> "Chris Cooper" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Seattle Seahawks" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Chris Evans