Question: Who weighs more: Richard Rodgers of the Green Bay Packers or Kevin McHale, born on 1957-12-19?
Choices:
James E. Reilly
Richard Rodgers
Simon Cowell
Richard Gere
David Byrne
Max Fleischer
Paul Simon
Kevin McHale
William Henry Harrison
Sylvester Stallone
Program:
function: Find
inputs: Green Bay Packers
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Richard Rodgers
function: And
dependencies: 1
2
function: Find
inputs: Kevin McHale
function: FilterDate
dependencies: 4
inputs: date of birth
1957-12-19
=
function: SelectBetween
dependencies: 3
5
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richard Rodgers" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Green Bay Packers" . } UNION { ?e <pred:name> "Kevin McHale" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1957-12-19"^^xsd:date . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Richard Rodgers