Question: From when did Karl Marx (the one whose Swedish Literature Bank AuthorID is MarxK) live in Paris (the birthplace of Roman Polanski) ?
Choices:
1936-08-01
1979-01-01
1991-11-08
2013-09-26
1843
1969-12-22
1858-05-11
1982-06-12
1886
1538
Program:
function: Find
inputs: Karl Marx
function: FilterStr
dependencies: 0
inputs: Swedish Literature Bank AuthorID
MarxK
function: Find
inputs: Roman Polanski
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Paris
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: residence
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Karl Marx" . ?e_1 <Swedish_Literature_Bank_AuthorID> ?pv . ?pv <pred:value> "MarxK" . ?e_2 <pred:name> "Paris" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Roman Polanski" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1843