Question: Which one is lighter, Ronaldo Luís Nazário de Lima or Venus Williams ?
Choices:
Simon Cowell
William Henry Harrison
Max Fleischer
Venus Williams
Rahul Dev Burman
James E. Reilly
Richard Gere
Ronaldo
David Byrne
Sylvester Stallone
Program:
function: Find
inputs: Ronaldo
function: FilterStr
dependencies: 0
inputs: birth name
Ronaldo Luís Nazário de Lima
function: Find
inputs: Venus Williams
function: SelectBetween
dependencies: 1
2
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ronaldo" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> "Ronaldo Luís Nazário de Lima" . } UNION { ?e <pred:name> "Venus Williams" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Venus Williams