What is {career} of {characters} of {Pinocchio} ?
Which jobs did the characters of Pinocchio have?
Which jobs did the characters of Pinocchio have?
SELECT ?z WHERE { ?q property:occupation ?z . resource:Pinocchio property:characters ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4341553> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P674>. ?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:Q4341553 wdt:P674 ?X . ?X wdt:P106 ?answer}
teacher conscience criminal con artist watchmaker wood carver puppeteer criminal fictional magician