Question: What is the relationship between Marie Antoinette (the one that has the religion Catholic Church) to Paris (the one that is the birthplace of Albert Wolsky)?
Choices: studied by
filming location
material used
located on astronomical location
next lower rank
place of death
airline alliance
edition or translation of
culture
does not have part
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Marie Antoinette" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> "Catholic Church" . ?e_2 <pred:name> "Paris" . ?e_4 <place_of_birth> ?e_2 . ?e_4 <pred:name> "Albert Wolsky" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Catholic Church
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Marie Antoinette
function: And
dependencies: 1
2
function: Find
inputs: Albert Wolsky
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Paris
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: place of death