What is {husband} of {Michael Curtiz}, that has {first name} is {Lucy} ?
"Who is {spouse} of {Michael Curtiz}, whose {to begin with title} is {Lucy} ?"
"Who is {husband} of {Michael Curtiz}, whose {first name} is {Lucy} ?"
SELECT ?c WHERE { ?c property:given_name resource:Lucy . resource:Michael_Curtiz property:spouse ?c }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q51491> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P735> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q13365715> . }
SELECT ?answer WHERE { wd:Q51491 wdt:P26 ?answer . ?answer wdt:P735 wd:Q13365715}
Lucy Doraine