Question: What is the link between Peter Frampton (whose occupation is make-up artist) and make-up artist?
Choices: patron saint
seed team
model item
capital
dissertation submitted to
place of publication
drafted by
mountain range
military conflicts
occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Frampton" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "make-up artist" . ?e_2 <pred:name> "make-up artist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: make-up artist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Peter Frampton
function: And
dependencies: 1
2
function: Find
inputs: make-up artist
function: QueryRelation
dependencies: 3
4
Answer: occupation