Question: What university has the postal code 19010 and is where Katharine Hepburn was educated?
Choices:
Presidency University
Panjab University
University of Tehran
University of Melbourne
McNeese State University
King's College London
Bryn Mawr College
McMaster University
Imperial College London
University of Manchester
Program:
function: Find
inputs: Katharine Hepburn
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: university
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
19010
function: FilterConcept
dependencies: 4
inputs: university
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Katharine Hepburn" .  ?e <postal_code> ?pv . ?pv <pred:value> "19010" .  }
Answer: Bryn Mawr College