Question: What does Beastie Boys (who are famous for hardcore punk) have to do with Adam Horowitz (who is famous for alternative hip hop)?
Choices:
has part
follows
academic degree
sex or gender
captain
inspired by
penalty
film release region
appointed by
dissertation submitted to
Answer: has part
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beastie Boys" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "hardcore punk" . ?e_2 <pred:name> "Adam Horowitz" . ?e_4 <famous_people> ?e_2 . ?e_4 <pred:name> "alternative hip hop" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: hardcore punk
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Beastie Boys
function: And
dependencies: 1
2
function: Find
inputs: alternative hip hop
function: Relate
dependencies: 4
inputs: famous people
forward
function: Find
inputs: Adam Horowitz
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7