Question: What is the connection between The Cure (the one that is famous for rock music) to Crawley?
Choices:
studies
named after
newspaper format
military casualty classification
producer
product or material produced
country of origin
location of formation
musical conductor
has parts of the class
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: The Cure
function: And
dependencies: 1
2
function: Find
inputs: Crawley
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Cure" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "rock music" . ?e_2 <pred:name> "Crawley" . ?e_1 ?p ?e_2 .  }
Answer: location of formation