Question: What is the connection between A Star Is Born (the one that uses the language English) to Lady Gaga?
Choices:
performer
risk factor
license
sexual orientation
dedicated to
theme music
academic degree
capital of
film release region
official language
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: A Star Is Born
function: And
dependencies: 1
2
function: Find
inputs: Lady Gaga
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Star Is Born" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Lady Gaga" . ?e_1 ?p ?e_2 .  }
Answer: performer