Question: What was William Shakespeare's occupation?
Paraphrase: What did William Shakespeare do for his job?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q692 wdt:P106 ?obj . ?obj wdt:P31 wd:Q28640 }