kgdata 4.0.1

Library to process dumps of knowledge graphs (Wikipedia, DBpedia, Wikidata)
Documentation
1
2
3
4
5
6
7
8
use hashbrown::HashSet;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct EntityOutLink {
    pub id: String,               // source entity id
    pub targets: HashSet<String>, // target entity ids
}