Question: What is the connection between Loving (the one whose genre is soap opera) to United States of America?
Choices:
domain of saint or deity
partially contains
military branch
country of origin
sexual orientation
month of the year
office held by head of the organisation
main food source
has part
librettist
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Loving" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "soap opera" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: soap opera
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Loving
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4