Question: Who is taller, Jill Scott whose Twitter username is jillscott12 or Demi Lovato?
Choices: Simon Cowell
Rahul Dev Burman
Sylvester Stallone
David Byrne
Jill Scott
Demi Lovato
Max Fleischer
Richard Gere
Paul Simon
William Henry Harrison
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jill Scott" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "jillscott12" . } UNION { ?e <pred:name> "Demi Lovato" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Jill Scott
function: FilterStr
dependencies: 0
inputs: Twitter username
jillscott12
function: Find
inputs: Demi Lovato
function: SelectBetween
dependencies: 1
2
inputs: height
greater
Answer: Jill Scott