1use oxigraph::model::NamedNodeRef;
2
3pub struct OWL;
4
5impl OWL {
6 pub fn class() -> NamedNodeRef<'static> {
7 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#Class")
8 }
9
10 pub fn object_property() -> NamedNodeRef<'static> {
11 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#ObjectProperty")
12 }
13
14 pub fn datatype_property() -> NamedNodeRef<'static> {
15 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#DatatypeProperty")
16 }
17
18 pub fn annotation_property() -> NamedNodeRef<'static> {
19 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#AnnotationProperty")
20 }
21
22 pub fn ontology() -> NamedNodeRef<'static> {
23 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#Ontology")
24 }
25
26 pub fn named_individual() -> NamedNodeRef<'static> {
27 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#NamedIndividual")
28 }
29
30 pub fn imports() -> NamedNodeRef<'static> {
31 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#imports")
32 }
33
34 pub fn version_iri() -> NamedNodeRef<'static> {
35 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#versionIRI")
36 }
37
38 pub fn deprecated() -> NamedNodeRef<'static> {
39 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#deprecated")
40 }
41
42 pub fn same_as() -> NamedNodeRef<'static> {
43 NamedNodeRef::new_unchecked("http://www.w3.org/2002/07/owl#sameAs")
44 }
45}
46
47pub struct Rdfs;
48
49impl Rdfs {
50 pub fn label() -> NamedNodeRef<'static> {
51 NamedNodeRef::new_unchecked("http://www.w3.org/2000/01/rdf-schema#label")
52 }
53
54 pub fn comment() -> NamedNodeRef<'static> {
55 NamedNodeRef::new_unchecked("http://www.w3.org/2000/01/rdf-schema#comment")
56 }
57
58 pub fn class() -> NamedNodeRef<'static> {
59 NamedNodeRef::new_unchecked("http://www.w3.org/2000/01/rdf-schema#Class")
60 }
61
62 pub fn sub_class_of() -> NamedNodeRef<'static> {
63 NamedNodeRef::new_unchecked("http://www.w3.org/2000/01/rdf-schema#subClassOf")
64 }
65
66 pub fn datatype() -> NamedNodeRef<'static> {
67 NamedNodeRef::new_unchecked("http://www.w3.org/2000/01/rdf-schema#Datatype")
68 }
69}
70
71pub struct Rdf;
72
73impl Rdf {
74 pub fn type_() -> NamedNodeRef<'static> {
75 NamedNodeRef::new_unchecked("http://www.w3.org/1999/02/22-rdf-syntax-ns#type")
76 }
77}