Question: In which year Lithuania  has the following flag ?
Paraphrase: What year did Lithuania have this flag?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q37 p:P41 ?s . ?s ps:P41 ?x filter(contains(?x , 'Flag of Lithuania 1918-1940.png')) . ?s pq:P580 ?value}