What is {spouses} of {painter} of {Glorious victory} ?
Who is the life partner of the individual who painted Great victory?
Who is the spouse of the person who painted Glorious victory?
SELECT ?w WHERE { resource:Glorious_victory property:creator ?v . ?v property:spouse ?w }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q21512830> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P170>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q21512830 wdt:P170 ?X . ?X wdt:P26 ?answer}
Frida Kahlo Guadalupe Marín Angelina Beloff Emma Hurtado