Question: What is the relationship between Coldplay and London (the one that is the filming location of Attack the Block)?
Choices:
location of formation
allegiance
native language
symptoms
copyright holder
presenter
is a list of
hair color
ancestral home
director of photography
Program:
function: Find
inputs: Coldplay
function: Find
inputs: Attack the Block
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Coldplay" . ?e_2 <pred:name> "London" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "Attack the Block" . ?e_1 ?p ?e_2 .  }
Answer: location of formation