Question: When did British Raj end in Punjab?
Choices:
2017-03-31
1937-12-04
1865-04-02
1945-05-07
2002-02-24
1954-02-19
1939-03-13
1947
2018-05-21
1773-01-01
Program:
function: Find
inputs: British Raj
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Punjab
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: end time
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Punjab" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "British Raj" .  ?e <end_time> ?pv .  }
Answer: 1947