What is {spouse} of {Antonio Gades} and {end time}
What was the title of Antonio Gades's wife?
What was the name of Antonio Gades's wife?
SELECT ?g ?w WHERE { ?x property:spouse ?w . resource:Antonio_Gades property:spouse ?x . ?x property:end_time ?g . }
select distinct ?dataprop1 ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q561048> . ?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:Q561048 p:P26 ?s . ?s ps:P26 ?obj . ?s pq:P582 ?value1 . }