Question: What political party's headquarters is located in the provincial or territorial capital city in Canada whose area is 485.18 square kilometers?
Choices:
Communist Party of Germany
Labour Party
United National Party
Conservative Party of Canada
Federalist Party
Quebec Liberal Party
Laval University
Ontario Liberal Party
Indian National Congress
Green Party of the United States
Answer: Quebec Liberal Party
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "provincial or territorial capital city in Canada" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "485.18"^^xsd:double .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
485.18 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: provincial or territorial capital city in Canada
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: political party
function: What
dependencies: 4