Question: How is Metallica, founded by Lars Ulrich, related to heavy metal?
Choices:
has dialect (DEPRECATED)
production designer
connects with
continent
health specialty
sibling
indigenous to
located in or next to body of water
interests
genre
Program:
function: Find
inputs: Lars Ulrich
function: Relate
dependencies: 0
inputs: founded by
backward
function: Find
inputs: Metallica
function: And
dependencies: 1
2
function: Find
inputs: heavy metal
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Metallica" . ?e_1 <founded_by> ?e_3 . ?e_3 <pred:name> "Lars Ulrich" . ?e_2 <pred:name> "heavy metal" . ?e_1 ?p ?e_2 .  }
Answer: genre