Question: What is the relationship between Cher (the one that uses the language English) and variety?
Choices:
military conflicts
has contributing factor
doctoral advisor
has part
symptom of
father
godparent
member of sports team
genre
place of publication
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Cher
function: And
dependencies: 1
2
function: Find
inputs: variety
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cher" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "variety" . ?e_1 ?p ?e_2 .  }
Answer: genre