Question: What does Carrie (which has origins from Canada) have to do with Canada?
Choices:
head of state
country of origin
different from
founded by
significant event
residence
dialect of
costume designer
employer
material used
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carrie" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Carrie
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4