Question: Who is taller, Bruce Campbell who is 198 centimetres tall or Richard Harris who died from myocardial infarction?
Choices: Max Fleischer
Richard Harris
Simon Cowell
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
Bruce Campbell
David Byrne
Richard Gere
Paul Simon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bruce Campbell" . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "centimetre" . ?pv_1 <pred:value> "198"^^xsd:double . } UNION { ?e <pred:name> "Richard Harris" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:name> "myocardial infarction" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bruce Campbell
function: FilterNum
dependencies: 0
inputs: height
198 centimetre
=
function: Find
inputs: myocardial infarction
function: Relate
dependencies: 2
inputs: cause of death
backward
function: Find
inputs: Richard Harris
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: height
greater
Answer: Bruce Campbell