Skip to content

element: entry

petermr edited this page Nov 23, 2020 · 3 revisions

entry

Container for a dictionary term and its attributes and child elements.

There is (currently) no semantic link between entrys, although related might be used

attributes

In alphabetical order. Note XML does not preserve attribute order

id

A unique ID for the entry. Optional

It is very difficult in a distributed diffuse community to have unique numeric IDs. We rely on Wikidata for uniqueness. If there is no Wikidata, then we rely on unique terms. Not happy about this. Maybe the toolset can help solve this.

name

The preferred noun phrase associated with the term, mainly for human readers.

Optional.

Will often be identical to the term but may be more verbose No semantics. Not used for searching (would need to be a synonym).

example

<entry term="India" name="The Republic of India"...>

Optional.

term

A noun or noun phrse which is the formal lexical representation of the concept.

wikidataID

The P (property) or Q (item) for the wikidata entry.

Optional, but please try to find one if possible

wikidataURL

Link to the Wikidata page.

Optional, but please try to find one if possible

wikipediaPage

The final component of the EN Wikipedia URL entry. Hopefully this will be permanent even if the server address

wikipediaURL

Link to the EN Wikidata page.

Other language variants should be child elements.

parent elements

dictionary

child elements

Note: in any order, any granularity, so that new child elements can be added in any way. Note: the actual values should not be repeated, and ideally software should check this and ignore

synonym

Optional, repeatable (0,*)

description

Optional, repeatable (0,*)

related

Optional, repeatable (0,*)