Question: How does Elizabeth Banks, born in Trenton, relate to London (postal code BR) ?
Choices: place of death
voice type
political alignment
soundtrack album
residence
home port
indigenous to
military branch
had as last meal
professorship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Elizabeth Banks" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Trenton" . ?e_2 <pred:name> "London" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "BR" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Trenton
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Elizabeth Banks
function: And
dependencies: 1
2
function: Find
inputs: London
function: FilterStr
dependencies: 4
inputs: postal code
BR
function: QueryRelation
dependencies: 3
5
Answer: place of death