Question: What republic has a diplomatic relationship with Russia starting in the year 1964?
Choices:
India
Ukraine
Sierra Leone
Colombia
Mozambique
Germany
France
Namibia
Zambia
Indonesia
Program:
function: Find
inputs: Russia
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: QFilterYear
dependencies: 1
inputs: start time
1964
=
function: FilterConcept
dependencies: 2
inputs: republic
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e_1 <diplomatic_relation> ?e . ?e_1 <pred:name> "Russia" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:year> 1964 .  }
Answer: Zambia