Question: How is Carly Simon connected to composer?
Choices:
film crew member
illustrator
legal form
shares border with
mountain range
medical treatment
child astronomical body
instrumentation
main subject
occupation
Program:
function: Find
inputs: Carly Simon
function: Find
inputs: composer
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carly Simon" . ?e_2 <pred:name> "composer" . ?e_1 ?p ?e_2 .  }
Answer: occupation