Question: What is the relationship between Hollywood (the one that has the record label RCA Records) and contemporary R&B?
Choices: genre
subsidiary
public holiday
located in or next to body of water
field of work
said to be the same as
follows
headquarters location
permanent resident of
head of government
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hollywood" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> "RCA Records" . ?e_2 <pred:name> "contemporary R&B" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: RCA Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Hollywood
function: And
dependencies: 1
2
function: Find
inputs: contemporary R&B
function: QueryRelation
dependencies: 3
4
Answer: genre