Question: What does Tom Scott, who is famous for tenor saxophone, have to do with screenwriter?
Choices:
country
copyright representative
given name
replaces
occupation
place of publication
family
illustrator
military conflicts
interested in
Program:
function: Find
inputs: tenor saxophone
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Tom Scott
function: And
dependencies: 1
2
function: Find
inputs: screenwriter
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Scott" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "tenor saxophone" . ?e_2 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Answer: occupation