Question: What is the connection between Ben Harper (the one whose genre is alternative rock) to musician?
Choices:
applies to jurisdiction
occupation
has quality
medical condition
film regional debut venue
sport
works in collection
family
licensed to broadcast to
influenced by
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ben Harper" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "alternative rock" . ?e_2 <pred:name> "musician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: alternative rock
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Ben Harper
function: And
dependencies: 1
2
function: Find
inputs: musician
function: QueryRelation
dependencies: 3
4