-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbasic-concepts.ttl
141 lines (115 loc) · 3.34 KB
/
basic-concepts.ttl
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# This file is written in the [RDF 1.1 Turtle] language.
# It contains all the RDF triples implied by [Basic Concepts].
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix types: <https://terms.fhiso.org/types/> .
# These triples are all true, either axiomatically or by entailment,
# according to [RDF 1.1 Semantics].
rdf:type
rdf:type rdf:Property ;
rdfs:range rdfs:Class ;
rdfs:label "type" .
rdfs:Class
rdf:type rdfs:Class ;
rdfs:subClassOf rdfs:Resource ;
types:requiredProperty rdf:type .
rdfs:subClassOf
rdf:type rdf:Property ;
rdfs:range rdfs:Class .
rdfs:Resource
rdf:type rdfs:Class ;
types:requiredProperty rdf:type .
rdf:Property
rdf:type rdfs:Class ;
rdfs:subClassOf rdfs:Resource ;
types:requiredProperty rdf:type, rdfs:range .
rdfs:range
rdf:type rdf:Property ;
rdfs:range rdfs:Class ;
rdfs:label "range" .
types:requiredProperty
rdf:type rdf:Property ;
rdfs:range rdf:Property ;
rdfs:isDefinedBy
<https://fhiso.org/TR/basic-concepts#required-props> .
rdfs:Datatype
rdf:type rdfs:Class ;
rdfs:subClassOf rdfs:Class ;
types:requiredProperty rdf:type, types:pattern,
types:nonTrivialSupertypeCount, types:isAbstract .
types:pattern
rdf:type rdf:Property ;
rdfs:range types:Pattern ;
rdfs:isDefinedBy
<https://fhiso.org/TR/basic-concepts#patterns> .
types:Pattern
rdf:type rdfs:Datatype ;
types:pattern ".*" ;
types:nonTrivialSupertypeCount 0 ;
types:isAbstract false ;
rdfs:isDefinedBy
<https://fhiso.org/TR/patterns> .
types:nonTrivialSupertype
rdf:type rdf:Property ;
rdfs:range rdfs:Datatype ;
rdfs:isDefinedBy
<https://fhiso.org/TR/basic-concepts#non-trivial-types> .
types:nonTrivialSupertypeCount
rdf:type rdf:Property ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy
<https://fhiso.org/TR/basic-concepts#non-trivial-types> .
types:isAbstract
rdf:type rdf:Property ;
rdfs:range xsd:boolean ;
rdfs:isDefinedBy
<https://fhiso.org/TR/basic-concepts#abstract-types> .
types:Union
rdf:type rdfs:Class ;
rdfs:subClassOf rdfs:Datatype ;
types:requiredProperty rdf:type, types:pattern,
types:nonTrivialSupertypeCount, types:isAbstract,
types:constituentDatatypeCount ;
rdfs:isDefinedBy
<https://fhiso.org/TR/basic-concepts#unions> .
types:constituentDatatype
rdf:type rdf:Property ;
rdfs:range rdfs:Datatype ;
rdfs:isDefinedBy
<https://fhiso.org/TR/basic-concepts#unions> .
types:constituentDatatypeCount
rdf:type rdf:Property ;
rdfs:range xsd:integer ;
rdfs:isDefinedBy
<https://fhiso.org/TR/basic-concepts#unions> .
xsd:string
rdf:type rdfs:Datatype ;
types:pattern ".*" ;
types:nonTrivialSupertypeCount 0 ;
types:isAbstract false .
xsd:boolean
rdf:type rdfs:Datatype ;
types:pattern "true|false|1|0" ;
types:nonTrivialSupertypeCount 0 ;
types:isAbstract false .
xsd:integer
rdf:type rdfs:Datatype ;
types:pattern "[+-]?[0-9]+" ;
types:nonTrivialSupertypeCount 0 ;
types:isAbstract false .
xsd:anyURI
rdf:type rdfs:Datatype ;
types:pattern ".*" ;
types:nonTrivialSupertypeCount 0 ;
types:isAbstract false .
rdf:langString
rdf:type rdfs:Datatype ;
types:pattern ".*" ;
types:nonTrivialSupertypeCount 0 ;
types:isAbstract false .
xsd:anyAtomicType
rdf:type rdfs:Datatype ;
types:pattern ".*" ;
types:nonTrivialSupertypeCount 0 ;
types:isAbstract true .