When John Dueholm ended as manager/director at Scandinavian Airlines?
SELECT ?value WHERE { wd:Q187854 p:P1037 ?s . ?s ps:P1037 wd:Q24175767 . ?s pq:P582 ?value}
scandinavian airlines: Q187854 john dueholm: Q24175767