Question: How is Mark Williams related to screenwriter?
Choices: medical condition
founded by
drafted by
occupation
place of publication
father
official religion
depicted by
contains settlement
publisher
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Williams" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Find
inputs: screenwriter
function: QueryRelation
dependencies: 3
4
Answer: occupation