What is {spouse} of {Anna Akhmatova} and {end cause}
Who is Anna Akhmatova's companion and why did the marriage end?
Who is Anna Akhmatova's spouse and why did the marriage end?
SELECT ?m ?r WHERE { resource:Anna_Akhmatova property:spouse ?i . ?i property:spouse ?r . ?i property:end_cause ?m . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q80440> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> . ?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:Q80440 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P1534 ?value1 . }