What is {work period (start)} and {work period (end)} of {{Seattle} has {head of government} as {Greg Nickels}}
When did the work length start and stop for Greg Nickels, the head of government of Seattle?
When did the work period start and end for Greg Nickels, the head of government of Seattle?
SELECT ?u ?b WHERE { ?j property:work_period_(end) ?b . ?j property:work_period_(start) ?u . ?j property:head_of_government resource:Greg_Nickels . resource:Seattle property:head_of_government ?j }
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:P2031 ?value1 . ?s pq:P2032 ?value2 }