Question: How is Mona Lisa (the one that was nominated for BAFTA Award for Best Film) connected to Brighton?
Choices:
part of the series
director
licensed to broadcast to
indigenous to
permanent resident of
public holiday
student of
narrative location
art director
owner of
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mona Lisa" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Film" . ?e_2 <pred:name> "Brighton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: BAFTA Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Mona Lisa
function: And
dependencies: 1
2
function: Find
inputs: Brighton
function: QueryRelation
dependencies: 3
4