summaryrefslogtreecommitdiff
path: root/docs/_static/term_class_hierarchy.plantuml
blob: a27293764236a5901f84d822b8b33bce14e819ee (plain)
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
@startuml
skinparam shadowing false
skinparam monochrome true
skinparam packageStyle rectangle
skinparam backgroundColor FFFFFE

class Node

class Identifier {
    eq(other) -> bool
    neq(other) -> bool
    startswith(prefix: str, start, end) -> bool
}
Identifier -up-|> Node

class IdentifiedNode {
    toPython() -> str
}
IdentifiedNode -up-|> Identifier

class URIRef {
    n3(namespace_manager) -> str
    defrag() -> URIRef
    de_skolemize() -> BNode
}
URIRef -up-|> IdentifiedNode


class Genid
Genid -up-|> URIRef

class RDFLibGenid
RDFLibGenid -up-|> Genid

class BNode {
    n3(namespace_manager) -> str
    skolemize(authority, basepath) -> RDFLibGenid
}
BNode -up-|> IdentifiedNode

class Literal {
    datatype: Optional[str]
    lang: Optional[str]
    value: Any

    normalize() -> Literal
    n3(namespace_manager) -> str
    toPython() -> str
}
Literal -up-|> Identifier

class Variable {
    n3(namespace_manager) -> str
    toPython() -> str
}
Variable -up-|> Identifier

@enduml