Question: What is the relationship between John Updike and a journalist?
Choices:
designed to carry
distribution
parent club
works in collection
occupation
hair color
foundational text
military casualty classification
country of citizenship
contains settlement
Program:
function: Find
inputs: John Updike
function: Find
inputs: journalist
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Updike" . ?e_2 <pred:name> "journalist" . ?e_1 ?p ?e_2 .  }
Answer: occupation