Question: Who weighs more, Ron Howard (the one whose height is 76 inch) or Michael Clayton (the one that is related to sport American football)?
Choices:
Paul Simon
James E. Reilly
William Henry Harrison
Richard Gere
Max Fleischer
Michael Clayton
Ron Howard
Sylvester Stallone
Rahul Dev Burman
Simon Cowell
Program:
function: Find
inputs: Ron Howard
function: FilterNum
dependencies: 0
inputs: height
76 inch
=
function: Find
inputs: American football
function: Relate
dependencies: 2
inputs: sport
backward
function: Find
inputs: Michael Clayton
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ron Howard" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> "76"^^xsd:double . } UNION { ?e <pred:name> "Michael Clayton" . ?e <sport> ?e_1 . ?e_1 <pred:name> "American football" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ron Howard