Question: What is the relationship between Friends (the one whose producer is The Beach Boys) and pop music?
Choices:
genre
twinned administrative body
had as last meal
legislative body
found
headquarters location
located in or next to body of water
used by
has dialect (DEPRECATED)
exclave of
Program:
function: Find
inputs: The Beach Boys
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Friends
function: And
dependencies: 1
2
function: Find
inputs: pop music
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Friends" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "The Beach Boys" . ?e_2 <pred:name> "pop music" . ?e_1 ?p ?e_2 .  }
Answer: genre