Question: What political party claims the country of Australia (that is the filming location of Strictly Ballroom) and has an establishment date in the year 1920?
Choices:
Liberal Party of Australia
Labour Party
Australian Greens
Ontario Liberal Party
Conservative Party of Canada
Nationalist Party of Australia
Qantas
Australian Labor Party
National Party of Australia
United National Party
Answer: National Party of Australia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e <country> ?e_1 . ?e_1 <pred:name> "Australia" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "Strictly Ballroom" .  ?e <inception> ?pv . ?pv <pred:year> 1920 .  }
Program:
function: Find
inputs: Strictly Ballroom
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: political party
function: FindAll
function: FilterYear
dependencies: 6
inputs: inception
1920
=
function: FilterConcept
dependencies: 7
inputs: political party
function: And
dependencies: 5
8
function: What
dependencies: 9