What is {employment} of {marriage partner} of {John Gilbert} ?
what is the occupation of John GIlbert's spouse?
What does John GIlbert's spouse do for a living?
SELECT ?r WHERE { ?b property:occupation ?r . resource:John_Gilbert property:spouse ?b }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q503956> . ?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> ?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/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q503956 wdt:P26 ?X . ?X wdt:P106 ?answer}
actor singer stage actor actor stage actor television actor film actor actor stage actor film actor