Question: What is the connection between Paris (the one that origins from France) to France?
Choices:
separated from
has effect
country of origin
depicted by
designed to carry
does not have part
country
depicts
highest judicial authority
place of publication
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Paris
function: And
dependencies: 1
2
function: Find
inputs: France
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paris" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "France" . ?e_2 <pred:name> "France" . ?e_1 ?p ?e_2 .  }
Answer: country of origin