Question: Does Brittany Murphy or Jim Brown (the one whose height is 188 centimetre) have greater mass ?
Choices:
Simon Cowell
David Byrne
William Henry Harrison
Max Fleischer
Paul Simon
James E. Reilly
Rahul Dev Burman
Richard Gere
Jim Brown
Sylvester Stallone
Program:
function: Find
inputs: Brittany Murphy
function: Find
inputs: Jim Brown
function: FilterNum
dependencies: 1
inputs: height
188 centimetre
=
function: SelectBetween
dependencies: 0
2
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brittany Murphy" . } UNION { ?e <pred:name> "Jim Brown" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "188"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jim Brown