Explaining and querying knowledge graphs by relatedness