Question: What is the relationship between Ramones (the one that uses the language English) and Ramones (the one that is famous for pop punk)?
Choices:
approved by
exclave of
place of birth
set in period
film editor
performer
studied by
subsidiary
lowest point
operating system
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Ramones
function: And
dependencies: 1
2
function: Find
inputs: pop punk
function: Relate
dependencies: 4
inputs: famous people
forward
function: Find
inputs: Ramones
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ramones" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Ramones" . ?e_4 <famous_people> ?e_2 . ?e_4 <pred:name> "pop punk" . ?e_1 ?p ?e_2 .  }
Answer: performer