Question: Who weighs more: Brian Jones of the New Orleans Saints or Richard Rodgers, who is 193 centimeters tall?
Choices:
Paul Simon
Simon Cowell
Richard Gere
Rahul Dev Burman
David Byrne
Brian Jones
Sylvester Stallone
James E. Reilly
Richard Rodgers
Max Fleischer
Program:
function: Find
inputs: New Orleans Saints
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Brian Jones
function: And
dependencies: 1
2
function: Find
inputs: Richard Rodgers
function: FilterNum
dependencies: 4
inputs: height
193 centimetre
=
function: SelectBetween
dependencies: 3
5
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brian Jones" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "New Orleans Saints" . } UNION { ?e <pred:name> "Richard Rodgers" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "193"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Richard Rodgers