lsp_core/util/
ns.rs

1pub mod shacl {
2    use sophia_api::namespace;
3
4    namespace! {
5     "http://www.w3.org/ns/shacl#",
6        NodeShape,
7        property,
8        targetClass,
9        path,
10        name,
11        class,
12        node,
13        targetSubjectsOf,
14        targetObjectsOf,
15        datatype,
16        minCount,
17        maxCount
18    }
19}
20
21pub mod dc {
22    use sophia_api::namespace;
23
24    namespace! {
25     "http://purl.org/dc/terms/",
26        description,
27        title
28    }
29}
30
31pub mod xsd {
32    use sophia_api::namespace;
33
34    namespace! {
35     "http://www.w3.org/2001/XMLSchema#",
36        NodeShape,
37        property,
38        path,
39        string
40    }
41}
42
43pub mod owl {
44    use sophia_api::namespace;
45
46    namespace! {
47     "http://www.w3.org/2002/07/owl#",
48        imports,
49        ObjectProperty,
50        DatatypeProperty,
51        Class
52    }
53}
54
55pub mod rdfs {
56    use sophia_api::namespace;
57
58    namespace! {
59     "http://www.w3.org/2000/01/rdf-schema#",
60        Class,
61        subClassOf,
62        label,
63        comment,
64        domain,
65        range
66    }
67}
68
69pub use sophia_api::ns::rdf;