Crate wikidata[][src]

Expand description

Rust library for Wikidata. It has some support for Wikibase as well, although the main focus is supporting the Wikidata instance.

Modules

consts

Various IDs for commonly used entities/properties on Wikidata.

Structs

ClaimValue

A claim value.

Entity

A Wikibase entity: this could be an entity, property, or lexeme.

Fid

A lexeme ID and associated form ID

Lang

A language, as used in the Wikibase data model.

Lid

A Wikidata lexeme ID

Pid

A Wikidata property ID

Qid

A Wikidata entity ID

ReferenceGroup

A group of claims that make up a single reference.

Sid

A lexeme ID and assoicated sense ID

Text

Text that is in a certain language.

Enums

ClaimValueData

Data relating to a claim value.

EntityError

An error related to entity parsing/creation.

EntityType

The type of entity: normal entity with a Qid, a property with a Pid, or a lexeme with a Lid.

IdParseError

An error parsing an ID.

Rank

A statement rank.