Question: Does Devone, with Twitter username devonxxx, or Leander Paes have a lower mass?
Choices:
William Henry Harrison
Devon
David Byrne
James E. Reilly
Sylvester Stallone
Simon Cowell
Paul Simon
Leander Paes
Rahul Dev Burman
Richard Gere
Program:
function: Find
inputs: Devon
function: FilterStr
dependencies: 0
inputs: Twitter username
devonxxx
function: Find
inputs: Leander Paes
function: SelectBetween
dependencies: 1
2
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Devon" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "devonxxx" . } UNION { ?e <pred:name> "Leander Paes" . } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Devon