1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*!
Namespaces for SKOS, SKOS eXtension for Labels (SKOS-XL), and the ISO-25964 thesaurus vocabulary.

Details TBD

# Example

TBD

*/

namespace! {
    "skos",
    "http://www.w3.org/2004/02/skos/core#",
    {
        collection, "Collection",
        concept, "Concept",
        concept_scheme, "ConceptScheme",
        ordered_collection, "OrderedCollection",

        alt_label, "altLabel",
        broad_match, "broadMatch",
        broader, "broader",
        broader_transitive, "broaderTransitive",
        change_note, "changeNote",
        close_match, "closeMatch",
        definition, "definition",
        editorial_note, "editorialNote",
        exact_match, "exactMatch",
        example, "example",
        has_top_concept, "hasTopConcept",
        hidden_label, "hiddenLabel",
        history_note, "historyNote",
        in_scheme, "inScheme",
        mapping_relation, "mappingRelation",
        member, "member",
        member_list, "memberList",
        narrow_match, "narrowMatch",
        narrower, "narrower",
        narrower_transitive, "narrowerTransitive",
        notation, "notation",
        note, "note",
        pref_label, "prefLabel",
        related, "related",
        related_match, "relatedMatch",
        scope_note, "scopeNote",
        semantic_relation, "semanticRelation",
        top_concept_of, "topConceptOf"
    }
}

pub mod xl {
    namespace! {
        "skosxl",
        "http://www.w3.org/2008/05/skos-xl#",
        {
            label, "Label",
            literal_form, "literalForm",
            pref_label, "prefLabel",
            alt_label, "altLabel",
            label_relation, "labelRelation"
        }
    }
}

pub(crate) mod iso {
    namespace! {
        "isothes",
        "http://purl.org/iso25964/skos-thes#",
        {
            compound_equivalence, "CompoundEquivalence",
            concept_group, "ConceptGroup",
            preferred_term, "PreferredTerm",
            thesaurus_array, "ThesaurusArray",

            micro_thesaurus_of, "microThesaurusOf",
            plus_uf_term, "plusUFTerm",
            plus_use_term, "plusUseTerm",
            sub_group, "subGroup",
            subordinate_array, "subordinateArray",
            super_group, "superGroup",
            super_ordinate, "superOrdinate",

            broader_generic, "broaderGeneric",
            broader_instantial, "broaderInstantial",
            broader_partitive, "broaderPartitive",
            narrower_generic, "narrowerGeneric",
            narrower_instantial, "narrowerInstantial",
            narrower_partitive, "narrowerPartitive"
        }
    }
}