Question: Which female given name is the given name of Elizabeth Sarnoff and Elizabeth Banks (who was educated at the University of Pennsylvania)?
Choices:
Helen
Charlotte
Yanni
Laura
Aurora
Ryan Phillippe
Julia
Henry Gibson
Norwegian Labour Party
Elizabeth
Answer: Elizabeth
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "female given name" . ?e_1 <given_name> ?e . ?e_1 <pred:name> "Elizabeth Sarnoff" .  ?e_2 <given_name> ?e . ?e_2 <pred:name> "Elizabeth Banks" . ?e_2 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Pennsylvania" .  }
Program:
function: Find
inputs: Elizabeth Sarnoff
function: Relate
dependencies: 0
inputs: given name
forward
function: FilterConcept
dependencies: 1
inputs: female given name
function: Find
inputs: University of Pennsylvania
function: Relate
dependencies: 3
inputs: educated at
backward
function: Find
inputs: Elizabeth Banks
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: given name
forward
function: FilterConcept
dependencies: 7
inputs: female given name
function: And
dependencies: 2
8
function: What
dependencies: 9