Question: How is John Adams whose ISNI is 0000 0001 2247 7481 related to Glasgow?
Choices: has effect
highest judicial authority
contains administrative territorial entity
official symbol
residence
given name
place of birth
successful candidate
producer
maintained by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 2247 7481" . ?e_2 <pred:name> "Glasgow" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Adams
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2247 7481
function: Find
inputs: Glasgow
function: QueryRelation
dependencies: 1
2
Answer: place of birth