What is {head of government} of {Seattle} and {work period (end)}
When did Seattle Head of Government and Working Period (end) take place?
When did head of government of Seattle and work period (end)?
SELECT ?w ?y WHERE { ?o property:work_period_(end) ?w . . ?o property:head_of_government ?y . resource:Seattle property:head_of_government ?o }
select distinct ?dataprop1 ?obj 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> ?obj . ?statement <http://www.wikidata.org/entity/P580> ?dataprop1 . } 
SELECT ?value1 ?obj WHERE { wd:Q5083 p:P6 ?s . ?s ps:P6 ?obj . ?s pq:P2032 ?value1 . }