Question: Who has more mass, defender Oscar or Jason Lee who was born on 1971-05-09?
Choices:
David Byrne
Paul Simon
Rahul Dev Burman
William Henry Harrison
Jason Lee
James E. Reilly
Simon Cowell
Richard Gere
Sylvester Stallone
Oscar
Program:
function: Find
inputs: defender
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Oscar
function: And
dependencies: 1
2
function: Find
inputs: Jason Lee
function: FilterDate
dependencies: 4
inputs: date of birth
1971-05-09
=
function: SelectBetween
dependencies: 3
5
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oscar" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "defender" . } UNION { ?e <pred:name> "Jason Lee" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1971-05-09"^^xsd:date . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jason Lee