Question: What is the connection between Shakespeare in Love to Mark Williams (the one that has the occupation of screenwriter)?
Choices:
appointed by
used by
copyright representative
replaces
contributing factor of
cast member
present in work
dissertation submitted to
sex or gender
league
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shakespeare in Love" . ?e_2 <pred:name> "Mark Williams" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shakespeare in Love
function: Find
inputs: screenwriter
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4