Learning Typed Rules over Knowledge Graphs