Question: When did Hindi-speaking Shammi Kapoor become an Indian citizen?
Choices:
1946-06-18
1877-01-01
1947
1070
1979-05-04
1999-11-02
1920-05-01
1945-11-13
1996-03-28
1970-07-01
Answer: 1947
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shammi Kapoor" . ?e_2 <pred:name> "India" . ?e_2 <language_used> ?e_3 . ?e_3 <pred:name> "Hindi" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Program:
function: Find
inputs: Shammi Kapoor
function: Find
inputs: Hindi
function: Relate
dependencies: 1
inputs: language used
backward
function: Find
inputs: India
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: country of citizenship
start time