Question: What is the connection between Tom Scott (the one whose Snapchat username is tomscottgo) to Mansfield (the one whose local dialing code is 01623)?
Choices:
office held by head of state
place of birth
director/manager
licensed to broadcast to
fabrication method
mountain range
killed by
distribution
maintained by
record label
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Scott" . ?e_1 <Snapchat_username> ?pv . ?pv <pred:value> "tomscottgo" . ?e_2 <pred:name> "Mansfield" . ?e_2 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "01623" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tom Scott
function: FilterStr
dependencies: 0
inputs: Snapchat username
tomscottgo
function: Find
inputs: Mansfield
function: FilterStr
dependencies: 2
inputs: local dialing code
01623
function: QueryRelation
dependencies: 1
3