Question: What is the connection between Alice (the one whose genre is pop music) to singer-songwriter?
Choices:
depicted by
occupation
language used
country of citizenship
located on astronomical location
draft pick from school
captain
part of
place of origin (Switzerland)
mother
Program:
function: Find
inputs: pop music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Alice
function: And
dependencies: 1
2
function: Find
inputs: singer-songwriter
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alice" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "pop music" . ?e_2 <pred:name> "singer-songwriter" . ?e_1 ?p ?e_2 .  }
Answer: occupation