Question: How is the heavy metal band Led Zeppelin related to England (the one that contains Lancashire)?
Choices:
draft pick from school
ethnic group
statistical leader
instrumentation
composer
stated in
health specialty
talk show guest
country of origin
developer
Program:
function: Find
inputs: heavy metal
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Led Zeppelin
function: And
dependencies: 1
2
function: Find
inputs: Lancashire
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: Find
inputs: England
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Led Zeppelin" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "heavy metal" . ?e_2 <pred:name> "England" . ?e_4 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_4 <pred:name> "Lancashire" . ?e_1 ?p ?e_2 .  }
Answer: country of origin