United Nations emblemUN/TDED

Registry data

The UNTDED ontology

Every element of the directory is published as linked data under the namespace https://www.untded.org/ns/untded#. The vocabulary — classes, properties, prefixes — is declared once in the dataset and everything on this page is generated from that declaration. Elements carry their representation as a structured node, their locations as bridge nodes (with line and position zones on the UN layout key), retired elements link to their replacement, and old names and business terms appear as alternative labels.

1504 elements1315 structured representations517 bridged elements6 classes39 context terms

Downloads

Every element page also serves its own slice at /elements/<tag>/data.ttl and data.jsonld — see any element, e.g. 1004. How to consume the context: context guide.

Prefixes

PrefixNamespace IRI
utdhttps://www.untded.org/ns/untded#
schemahttps://schema.org/
dcthttp://purl.org/dc/terms/
skoshttp://www.w3.org/2004/02/skos/core#
rdfshttp://www.w3.org/2000/01/rdf-schema#
owlhttp://www.w3.org/2002/07/owl#
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
xsdhttp://www.w3.org/2001/XMLSchema#

Classes

ClassDefinition
BridgeA location of a data element on a document scheme of an aligned trade document system (UNLK, SAD, MAR, CIMP, …).
CategoryOne of the nine ordered tag ranges into which the directory groups its data elements.
CategorySchemeThe ordered scheme of the nine tag-range categories.
RepresentationThe character representation of a data element: charset, length bounds, and the printed notation.
TradeDataElementA data element of the Trade Data Elements Directory: a named, defined unit of trade information with a tag and a representation.
UnlkZoneA line and character-position span locating an element on the UN layout key.

element level

TermIRIDomainDefinition
tagutd:tagTradeDataElementThe four-digit unique identifier of the data element.
representationutd:representationTradeDataElementThe character representation as a structured node: printed form, charset, length bounds.
printedFormutd:printedFormRepresentationThe printed representation notation, e.g. an..35.
charsetutd:charsetRepresentationThe character class of the representation: a, an or n.
minLengthutd:minLengthRepresentationMinimum number of characters in a value.
maxLengthutd:maxLengthRepresentationMaximum number of characters in a value.
changeTagutd:changeTagTradeDataElementThe printed change indicator against the 1993 edition.
statusutd:statusTradeDataElementactive or retired, per the printed change indicator.
altLabelskos:altLabel——
replacedByutd:replacedByTradeDataElementThe element to use instead, per the printed pointer on retired entries.
bridgesutd:bridgesTradeDataElementPrinted locations on aligned trade documents (UNLK, SAD, CIMP, CIM, MAR).
bridgeutd:bridgeTradeDataElementOne parsed location on a document scheme, with its zones when the scheme is the UN layout key.
schemeutd:schemeBridgeThe document scheme the bridge locates the element on (UNLK, SAD, MAR, CIMP, …).
detailutd:detailBridgeThe bridge detail as printed.
zoneutd:zoneBridgeA line and character-position span on the UN layout key.
lineFromutd:lineFromUnlkZoneFirst line of the span on the UN layout key.
lineToutd:lineToUnlkZoneLast line of the span on the UN layout key.
posFromutd:posFromUnlkZoneFirst character position of the span.
posToutd:posToUnlkZoneLast character position of the span.
fieldFormatutd:fieldFormatUnlkZoneThe interchange format token of the field, e.g. an..17.
sourcePageutd:sourcePageTradeDataElementPage of the source publication the entry appears on.
categoryutd:categoryTradeDataElementThe tag-range category the element belongs to.

category level

TermIRIDomainDefinition
tagRangeutd:tagRangeCategoryThe tag interval of the category, e.g. 1000-1699.
positionschema:position——
memberskos:member——
inSchemeskos:inScheme——

dataset level

TermIRIDomainDefinition
nameschema:name——
descriptionschema:description——
isPartOfschema:isPartOf——
isBasedOnschema:isBasedOn——
distributionschema:distribution——
encodingFormatschema:encodingFormat——
sourcedct:source——
elementCountutd:elementCount—The number of member elements.

vocabulary definitions

TermIRIDomainDefinition
labelrdfs:label——
commentrdfs:comment——
domainrdfs:domain——
rangerdfs:range——
subClassOfrdfs:subClassOf——

One element, as Turtle

<https://www.untded.org/elements/1004> a utd:TradeDataElement ;
    utd:tag 1004 ;
    schema:name "Document. Identifier" ;
    utd:representation [ a utd:Representation ;
        utd:printedForm "an..35" ;
        utd:charset "an" ;
        utd:minLength 1 ;
        utd:maxLength 35 ] ;
    utd:bridge [ a utd:Bridge ;
        utd:scheme "UNLK" ;
        utd:detail "an..17 L 04, P 63-80" ;
        utd:zone [ a utd:UnlkZone ;
            utd:lineFrom 4 ; utd:lineTo 4 ;
            utd:posFrom 63 ; utd:posTo 80 ;
            utd:fieldFormat "an..17" ] ] .

The ontology guide walks through the model; the provenance note documents how the data behind it was extracted and verified.