Question: What is the connection between Ruby Dee to screenwriter?
Choices:
candidate
head of state
maintained by
medical treatment
has contributing factor
occupation
present in work
territory claimed by
dissertation submitted to
successful candidate
Program:
function: Find
inputs: Ruby Dee
function: Find
inputs: screenwriter
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ruby Dee" . ?e_2 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Answer: occupation