When was Wayne Gretzky inducted intot the Hockey Hall of Fame?
SELECT ?value WHERE { wd:Q209518 p:P166 ?s . ?s ps:P166 wd:Q1136687 . ?s pq:P585 ?value}
wayne gretzky: Q209518 hockey hall of fame: Q1136687