Question: What is the relationship between John Wayne and a screenwriter?
Choices:
genre
member of sports team
occupation
license
location of formation
replaces
given name
this taxon is source of
has effect
home world
Program:
function: Find
inputs: John Wayne
function: Find
inputs: screenwriter
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Wayne" . ?e_2 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Answer: occupation