Question: What is the relationship between Conservative Party of Canada (the one that is replaced by Progressive Conservative Party of Canada) to Progressive Conservative Party of Canada?
Choices:
patron saint
replaced by
manufacturer
art director
costume designer
part of
organisation directed from the office or person
manner of death
seed team
substitute/deputy/replacement of office/officeholder
Answer: replaced by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Conservative Party of Canada" . ?e_1 <replaced_by> ?e_3 . ?e_3 <pred:name> "Progressive Conservative Party of Canada" . ?e_2 <pred:name> "Progressive Conservative Party of Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Progressive Conservative Party of Canada
function: Relate
dependencies: 0
inputs: replaced by
backward
function: Find
inputs: Conservative Party of Canada
function: And
dependencies: 1
2
function: Find
inputs: Progressive Conservative Party of Canada
function: QueryRelation
dependencies: 3
4