Question: Which one has more weight between Oscar (the one whose height is 185 centimeters) or Johnny Green (the one that is a member of New York Knicks)?
Choices: Simon Cowell
James E. Reilly
Rahul Dev Burman
Paul Simon
Richard Gere
Oscar
Sylvester Stallone
David Byrne
Johnny Green
Max Fleischer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oscar" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "185"^^xsd:double . } UNION { ?e <pred:name> "Johnny Green" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "New York Knicks" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Oscar
function: FilterNum
dependencies: 0
inputs: height
185 centimetre
=
function: Find
inputs: New York Knicks
function: Relate
dependencies: 2
inputs: member of sports team
backward
function: Find
inputs: Johnny Green
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater
Answer: Johnny Green