Question: What is the connection between Oasis (the one that is famous for rock music) to Noel Gallagher?
Choices:
field of work
notable people with this condition
significant event
political ideology
has part
from fictional universe
fictional universe described in
cause of death
official symbol
family
Answer: has part
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Oasis" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "rock music" . ?e_2 <pred:name> "Noel Gallagher" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Oasis
function: And
dependencies: 1
2
function: Find
inputs: Noel Gallagher
function: QueryRelation
dependencies: 3
4