What is {end time} and {start time} of {{Joseph Lyons} has {member of political party} as {Australian Labor Party}}
How long was Joseph Lyons a part of the Australian Labor Party?
How long was Joseph Lyons a member of the Australian Labor Party?
SELECT ?g ?t WHERE { resource:Joseph_Lyons property:member_of_political_party ?y . ?y property:start_time ?t . ?y property:end_time ?g . ?y property:member_of_political_party resource:Australian_Labor_Party }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q370966> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P102> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q216082>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q370966 p:P102 ?s . ?s ps:P102 wd:Q216082 . ?s pq:P582 ?value1 . ?s pq:P580 ?value2 }