Question: Who is taller, Stephen King (from the USA) or Rebecca Romijn?
Choices:
Richard Gere
James E. Reilly
David Byrne
Max Fleischer
Sylvester Stallone
Stephen King
William Henry Harrison
Simon Cowell
Rebecca Romijn
Paul Simon
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Stephen King
function: And
dependencies: 1
2
function: Find
inputs: Rebecca Romijn
function: SelectBetween
dependencies: 3
4
inputs: height
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stephen King" . ?e <country_for_sport> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Rebecca Romijn" .  } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rebecca Romijn