Question: How is Jon Bon Jovi related to the pop rock band Bon Jovi?
Choices:
follows
has quality
military rank
employer
member of
official color
spouse
league
appointed by
film crew member
Program:
function: Find
inputs: Jon Bon Jovi
function: Find
inputs: pop rock
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Bon Jovi
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jon Bon Jovi" . ?e_2 <pred:name> "Bon Jovi" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "pop rock" . ?e_1 ?p ?e_2 .  }
Answer: member of