Question: How is Michael Collins whose ISNI is 0000 0001 1507 0042 related to Santa Barbara where Katy Perry was born?
Choices: creator
works in collection
parent organization
donated by
has part
manufacturer
work location
medical condition
twinned administrative body
presenter
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Collins" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 1507 0042" . ?e_2 <pred:name> "Santa Barbara" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Katy Perry" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michael Collins
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 1507 0042
function: Find
inputs: Katy Perry
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Santa Barbara
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: work location