Question: Who weighs more, Rebecca Romijn or Michael Madsen (the one whose height is 190 centimetre)?
Choices:
Simon Cowell
William Henry Harrison
Michael Madsen
Sylvester Stallone
Paul Simon
David Byrne
Richard Gere
Rebecca Romijn
Rahul Dev Burman
Max Fleischer
Program:
function: Find
inputs: Rebecca Romijn
function: Find
inputs: Michael Madsen
function: FilterNum
dependencies: 1
inputs: height
190 centimetre
=
function: SelectBetween
dependencies: 0
2
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rebecca Romijn" . } UNION { ?e <pred:name> "Michael Madsen" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "190"^^xsd:double . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Michael Madsen