Question: Who has more mass, Carlos Ruiz whose birth name is Carlos Humberto Ruiz Gutiérrez or Didier Six?
Choices:
Max Fleischer
Carlos Ruiz
Simon Cowell
Paul Simon
William Henry Harrison
Richard Gere
David Byrne
James E. Reilly
Didier Six
Rahul Dev Burman
Program:
function: Find
inputs: Carlos Ruiz
function: FilterStr
dependencies: 0
inputs: birth name
Carlos Humberto Ruiz Gutiérrez
function: Find
inputs: Didier Six
function: SelectBetween
dependencies: 1
2
inputs: mass
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carlos Ruiz" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> "Carlos Humberto Ruiz Gutiérrez" . } UNION { ?e <pred:name> "Didier Six" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Didier Six