Question: What is the city that is that became the capital of Prussia in 1701?
Choices: Epitaph Records
Festival
Epic Records
Century Media Records
Mute Records
Parlophone
Hollywood Records
Play It Again Sam
Pye Records
Lufthansa
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_2 <capital> ?e_1 . ?e_2 <pred:name> "Prussia" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <capital> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1701 .   }
Program:
function: Find
inputs: Prussia
function: Relate
dependencies: 0
inputs: capital
forward
function: QFilterYear
dependencies: 1
inputs: start time
1701
=
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: location of formation
backward
function: FilterConcept
dependencies: 4
inputs: record label
function: What
dependencies: 5
Answer: Parlophone