Question: Who is taller, Lucy Liu or Richard Wright (the one whose birth name is Richard Ian Wright)?
Choices:
Richard Gere
Simon Cowell
James E. Reilly
Rahul Dev Burman
Max Fleischer
Sylvester Stallone
David Byrne
William Henry Harrison
Richard Wright
Lucy Liu
Answer: Richard Wright
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lucy Liu" . } UNION { ?e <pred:name> "Richard Wright" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> "Richard Ian Wright" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lucy Liu
function: Find
inputs: Richard Wright
function: FilterStr
dependencies: 1
inputs: birth name
Richard Ian Wright
function: SelectBetween
dependencies: 0
2
inputs: height
greater