Question: What is the connection between pop rock to Sting (the one that has the occupation of record producer)?
Choices:
record label
participant
famous people
military branch
appointed by
sports season of league or competition
given name
copyright representative
permanent resident of
exclave of
Program:
function: Find
inputs: pop rock
function: Find
inputs: record producer
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Sting
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "pop rock" . ?e_2 <pred:name> "Sting" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Answer: famous people