When did Zakopane become part of the Kingdom of Galicia and Lodomeria?
SELECT ?value WHERE { wd:Q144786 p:P131 ?s . ?s ps:P131 wd:Q2396442 . ?s pq:P580 ?value}
zakopane: Q144786 kingdom of galicia and lodomeria: Q2396442