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 xsd {
22    use sophia_api::namespace;
23
24    namespace! {
25     "http://www.w3.org/2001/XMLSchema#",
26        NodeShape,
27        property,
28        path,
29        string
30    }
31}
32
33pub mod owl {
34    use sophia_api::namespace;
35
36    namespace! {
37     "http://www.w3.org/2002/07/owl#",
38        imports,
39        ObjectProperty,
40        DatatypeProperty,
41        Class
42    }
43}
44
45pub mod rdfs {
46    use sophia_api::namespace;
47
48    namespace! {
49     "http://www.w3.org/2000/01/rdf-schema#",
50        Class,
51        subClassOf,
52        label,
53        comment,
54        domain,
55        range
56    }
57}
58
59pub use sophia_api::ns::rdf;