What is {employment} of {pupil} of {Karl Weierstraß} ?
What did Karl Weierstraß's student do for a job?
What did Karl Weierstraß's pupil do for a job?
SELECT ?q WHERE { ?t property:occupation ?q . resource:Karl_Weierstraß property:student ?t }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q57103> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P802>. ?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:Q57103 wdt:P802 ?X . ?X wdt:P106 ?answer}
mathematician university teacher physicist mathematician university teacher teacher mathematician university teacher philosopher mathematician university teacher mathematician university teacher mathematician university teacher high school teacher crystallographer mathematician university teacher philosopher mathematician university teacher teacher mathematician pedagogue university teacher writer physicist mathematician university teacher communard academic novelist mathematician pedagogue university teacher mathematician university teacher philosopher