When did Newfoundland and Labrador have a population of 519716 people?
SELECT ?value WHERE { wd:Q2003 p:P1082 ?s . ?s ps:P1082 ?x filter(contains(?x,'519716')) . ?s pq:P585 ?value} 
newfoundland and labrador: Q2003