Question: How is the screenwriter James Mason related to Canton of Vaud?
Choices:
highest judicial authority
different from
symptoms
derivative work
place of burial
doctoral student
art director
appointed by
filming location
series spin-off
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: James Mason
function: And
dependencies: 1
2
function: Find
inputs: Canton of Vaud
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Mason" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "Canton of Vaud" . ?e_1 ?p ?e_2 .  }
Answer: place of burial