Question: Who is shorter, Sarah Michelle Gellar or Brian Jones (the one whose birth name is Brian Keith Jones)?
Choices:
Simon Cowell
Sarah Michelle Gellar
Paul Simon
Richard Gere
William Henry Harrison
Max Fleischer
Sylvester Stallone
James E. Reilly
Rahul Dev Burman
Brian Jones
Program:
function: Find
inputs: Sarah Michelle Gellar
function: Find
inputs: Brian Jones
function: FilterStr
dependencies: 1
inputs: birth name
Brian Keith Jones
function: SelectBetween
dependencies: 0
2
inputs: height
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sarah Michelle Gellar" . } UNION { ?e <pred:name> "Brian Jones" . ?e <birth_name> ?pv_1 . ?pv_1 <pred:value> "Brian Keith Jones" . } ?e <height> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sarah Michelle Gellar