Question: How does the artist of Superman, Eminem, relate to hip hop music overall?
Choices:
educated at
fabrication method
film release region
genre
has edition
office contested
risk factor
country for sport
record label
language used
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Superman" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Eminem" . ?e_2 <pred:name> "hip hop music" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Eminem
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Superman
function: And
dependencies: 1
2
function: Find
inputs: hip hop music
function: QueryRelation
dependencies: 3
4