What is {work period (end)} and {work period (start)} of {{Seattle} has {head of government} as {Greg Nickels}}
What was the date that Greg Nickels became mayor of Seattle and on what date did his term as mayor of Seattle end?
What are the start and end dates of Greg Nickels as mayor of Seattle?
SELECT ?i ?f WHERE { resource:Seattle property:head_of_government ?p . ?p property:head_of_government resource:Greg_Nickels . ?p property:work_period_(start) ?f . ?p property:work_period_(end) ?i }
select distinct ?value1 ?value2 where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5083> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q330519>. ?statement <http://www.wikidata.org/entity/P580> ?value1 . ?statement <http://www.wikidata.org/entity/P2842> ?value2 } 
SELECT ?value1 ?value2 WHERE { wd:Q5083 p:P6 ?s . ?s ps:P6 wd:Q330519 . ?s pq:P2032 ?value1 . ?s pq:P2031 ?value2 }