Question: What is the relationship between Andy Warhol to Pittsburgh (the one that is the birthplace of Pandro S. Berman)?
Choices: place of origin (Switzerland)
official religion
place of birth
subject has role
mountain range
honorific suffix
studied by
screenwriter
place of burial
political ideology
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andy Warhol" . ?e_2 <pred:name> "Pittsburgh" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Pandro S. Berman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Andy Warhol
function: Find
inputs: Pandro S. Berman
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Pittsburgh
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: place of birth