Question: Which one, Oscar (the one whose height is 185 centimetre) or Oscar (the one that is a participant of 2012 Summer Olympics), has less mass?
Choices:
Max Fleischer
Oscar
James E. Reilly
Rahul Dev Burman
Oscar
Simon Cowell
William Henry Harrison
David Byrne
Paul Simon
Richard Gere
Answer: Oscar
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> "Oscar" . ?e <participant_of> ?e_1 . ?e_1 <pred:name> "2012 Summer Olympics" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Oscar
function: FilterNum
dependencies: 0
inputs: height
185 centimetre
=
function: Find
inputs: 2012 Summer Olympics
function: Relate
dependencies: 2
inputs: participant of
backward
function: Find
inputs: Oscar
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
less