When did Joseph Lyons become a member of the United Australia Party and up to when has he been a member?
SELECT ?value1 ?value2 WHERE { wd:Q370966 p:P102 ?s . ?s ps:P102 wd:Q1728956 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }
joseph lyons: Q370966 united australia party: Q1728956