mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 18:09:15 +00:00
readme
This commit is contained in:
parent
7bf0033970
commit
44b66d43c1
7 changed files with 164 additions and 5 deletions
|
@ -31,18 +31,21 @@ impl ClaimData {
|
|||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub struct Claims {
|
||||
// Table: Claims
|
||||
pub id: Option<Thing>,
|
||||
pub claims: Vec<Claim>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub struct Claim {
|
||||
// Table: Claim
|
||||
pub id: Thing,
|
||||
pub value: ClaimData,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub struct EntityMini {
|
||||
// Table: Entity, Property, Lexeme
|
||||
pub id: Option<Thing>,
|
||||
pub label: String,
|
||||
pub claims: Thing,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue