Showing
6 changed files
with
0 additions
and
1397 deletions
1 | -# Saved by TopBraid on Wed Oct 12 12:24:42 BST 2011 | ||
2 | -# baseURI: http://www.linkedmodel.org/schema/dtype | ||
3 | -# imports: http://www.linkedmodel.org/schema/vaem | ||
4 | - | ||
5 | -@prefix dc: <http://purl.org/dc/elements/1.1/> . | ||
6 | -@prefix dtype: <http://www.linkedmodel.org/schema/dtype#> . | ||
7 | -@prefix dtype-1.0: <http://www.linkedmodel.org/1.0/schema/dtype#> . | ||
8 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
9 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
10 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
11 | -@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> . | ||
12 | -@prefix voag: <http://voag.linkedmodel.org/schema/voag#> . | ||
13 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
14 | - | ||
15 | -<http://www.linkedmodel.org/1.0/schema/dtype> | ||
16 | - rdf:type owl:Ontology ; | ||
17 | - rdfs:label "Datatype Ontology"^^xsd:string ; | ||
18 | - dc:rights "The LinkedModel DTYPE Ontology is issued under a Creative Commons Attribution Share Alike 3.0 United States License. Attribution should be made to <a href=\"http://www.topquadrant.com\">TopQuadrant, Inc.</a>."^^xsd:string ; | ||
19 | - dc:subject "Datatypes"^^xsd:string ; | ||
20 | - dc:title "Datatype Ontology"^^xsd:string ; | ||
21 | - voag:hasLicenseType voag:CC-SHAREALIKE_3PT0-US ; | ||
22 | - voag:withAttributionTo | ||
23 | - voag:TopQuadrantAttribution ; | ||
24 | - vaem:acronym "DTYPE"^^xsd:string ; | ||
25 | - vaem:dateCreated "2011-29-05"^^vaem:dateUnion ; | ||
26 | - vaem:description "The ontology 'dtype' provides a specification of simple data types such as enumerations. These are needed in support of the conversion of XML Schemas and UML Models to OWL. Codelists are also defined in 'dtype'."^^xsd:string ; | ||
27 | - vaem:intent "To provide a foundation for data types."^^xsd:string ; | ||
28 | - vaem:namespace "http://www.linkedmodel.org/schema/dtype"^^xsd:anyURI ; | ||
29 | - vaem:namespacePrefix | ||
30 | - "dtype"^^xsd:string ; | ||
31 | - vaem:revisionNumber "1.0"^^xsd:string ; | ||
32 | - vaem:specificity "1"^^vaem:integer_1to5 ; | ||
33 | - vaem:usesNonImportedResource | ||
34 | - voag:hasLicenseType , <voag:TopQuadrantAttribution> , dc:rights , voag:hasGovernance , dc:subject , <voag:CC-SHAREALIKE_3PT0-US> , voag:withAttributionTo ; | ||
35 | - owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ; | ||
36 | - owl:versionIRI <http://www.linkedmodel.org/1.0/schema/dtype> ; | ||
37 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
38 | - | ||
39 | -<http://www.linkedmodel.org/schema/dtype> | ||
40 | - rdf:type owl:Ontology ; | ||
41 | - owl:imports <http://www.linkedmodel.org/schema/vaem> ; | ||
42 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
43 | - | ||
44 | -dtype:CodeList | ||
45 | - rdf:type owl:Class ; | ||
46 | - rdfs:label "Enumeration"^^xsd:string ; | ||
47 | - rdfs:subClassOf dtype:Enumeration ; | ||
48 | - vaem:definition "A codelist is a controlled vocabulary of terms that are used to represent permissible values of a variable in information systems. The representaiton of codes in 'dtype' has been influenced by CCTS and UBL."^^xsd:string . | ||
49 | - | ||
50 | -dtype:CompositeCodeList | ||
51 | - rdf:type owl:Class ; | ||
52 | - rdfs:label "Composite code list"^^xsd:string ; | ||
53 | - rdfs:subClassOf dtype:CodeList ; | ||
54 | - rdfs:subClassOf | ||
55 | - [ rdf:type owl:Restriction ; | ||
56 | - owl:allValuesFrom dtype:CodeList ; | ||
57 | - owl:onProperty dtype:compositeOf | ||
58 | - ] ; | ||
59 | - vaem:definition "A composite codelist is a codelist made up of other codelists. It does not introduce any new codes."^^xsd:string ; | ||
60 | - owl:disjointWith dtype:SimpleCodeList , dtype:DerivedCodeList . | ||
61 | - | ||
62 | -dtype:DerivedCodeList | ||
63 | - rdf:type owl:Class ; | ||
64 | - rdfs:label "Derived Code List"^^xsd:string ; | ||
65 | - rdfs:subClassOf dtype:CodeList ; | ||
66 | - rdfs:subClassOf | ||
67 | - [ rdf:type owl:Restriction ; | ||
68 | - owl:allValuesFrom dtype:CodeList ; | ||
69 | - owl:onProperty dtype:derivedFrom | ||
70 | - ] ; | ||
71 | - rdfs:subClassOf | ||
72 | - [ rdf:type owl:Restriction ; | ||
73 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
74 | - owl:onProperty dtype:derivedFrom | ||
75 | - ] ; | ||
76 | - rdfs:subClassOf | ||
77 | - [ rdf:type owl:Restriction ; | ||
78 | - owl:allValuesFrom dtype:ValueReference ; | ||
79 | - owl:onProperty dtype:hasMember | ||
80 | - ] ; | ||
81 | - vaem:definition "A derived codelist is a sublist of another codelist. The members that it has must be members of the source list."^^xsd:string ; | ||
82 | - owl:disjointWith dtype:CompositeCodeList , dtype:SimpleCodeList . | ||
83 | - | ||
84 | -dtype:EnumeratedValue | ||
85 | - rdf:type owl:Class ; | ||
86 | - rdfs:label "Metadata Enumerated value"^^xsd:string ; | ||
87 | - rdfs:subClassOf owl:Thing ; | ||
88 | - rdfs:subClassOf | ||
89 | - [ rdf:type owl:Restriction ; | ||
90 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
91 | - owl:onProperty dtype:order | ||
92 | - ] ; | ||
93 | - rdfs:subClassOf | ||
94 | - [ rdf:type owl:Restriction ; | ||
95 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
96 | - owl:onProperty dtype:position | ||
97 | - ] ; | ||
98 | - rdfs:subClassOf | ||
99 | - [ rdf:type owl:Restriction ; | ||
100 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
101 | - owl:onProperty vaem:name | ||
102 | - ] ; | ||
103 | - rdfs:subClassOf | ||
104 | - [ rdf:type owl:Restriction ; | ||
105 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
106 | - owl:onProperty dtype:value | ||
107 | - ] ; | ||
108 | - rdfs:subClassOf | ||
109 | - [ rdf:type owl:Restriction ; | ||
110 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
111 | - owl:onProperty dtype:code | ||
112 | - ] ; | ||
113 | - rdfs:subClassOf | ||
114 | - [ rdf:type owl:Restriction ; | ||
115 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
116 | - owl:onProperty vaem:description | ||
117 | - ] ; | ||
118 | - rdfs:subClassOf | ||
119 | - [ rdf:type owl:Restriction ; | ||
120 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
121 | - owl:onProperty vaem:id | ||
122 | - ] ; | ||
123 | - rdfs:subClassOf | ||
124 | - [ rdf:type owl:Restriction ; | ||
125 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | ||
126 | - owl:onProperty vaem:url | ||
127 | - ] ; | ||
128 | - vaem:definition "The base class for datatypes that have values that are restriced to a set of literals or tokens. The members of the restriction may themselve be restriced by facets that apply to scalar data types."^^xsd:string . | ||
129 | - | ||
130 | -dtype:Enumeration | ||
131 | - rdf:type owl:Class ; | ||
132 | - rdfs:label "VAEM Enumeration"^^xsd:string ; | ||
133 | - rdfs:subClassOf owl:Thing ; | ||
134 | - rdfs:subClassOf | ||
135 | - [ rdf:type owl:Restriction ; | ||
136 | - owl:allValuesFrom dtype:EnumeratedValue ; | ||
137 | - owl:onProperty dtype:value | ||
138 | - ] ; | ||
139 | - rdfs:subClassOf | ||
140 | - [ rdf:type owl:Restriction ; | ||
141 | - owl:allValuesFrom dtype:EnumeratedValue ; | ||
142 | - owl:onProperty dtype:defaultValue | ||
143 | - ] ; | ||
144 | - rdfs:subClassOf | ||
145 | - [ rdf:type owl:Restriction ; | ||
146 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
147 | - owl:onProperty dtype:defaultValue | ||
148 | - ] ; | ||
149 | - vaem:definition "A type that serves as a container for the enumerated values of an enumeration. This enables the enumeration itself to be referenceable. One need for this is in determing the default value of an enumeration , another need is in the management of sub-enumerations and composite enumerations."^^xsd:string . | ||
150 | - | ||
151 | -dtype:SimpleCodeList | ||
152 | - rdf:type owl:Class ; | ||
153 | - rdfs:label "Simple code list"^^xsd:string ; | ||
154 | - rdfs:subClassOf dtype:CodeList ; | ||
155 | - rdfs:subClassOf | ||
156 | - [ rdf:type owl:Restriction ; | ||
157 | - owl:allValuesFrom dtype:EnumeratedValue ; | ||
158 | - owl:onProperty dtype:hasMember | ||
159 | - ] ; | ||
160 | - vaem:definition "A simple codelist is one made up only of enumerated values."^^xsd:string ; | ||
161 | - owl:disjointWith dtype:CompositeCodeList , dtype:DerivedCodeList . | ||
162 | - | ||
163 | -dtype:ValueReference | ||
164 | - rdf:type owl:Class ; | ||
165 | - rdfs:label "Value Reference"^^xsd:string ; | ||
166 | - rdfs:subClassOf owl:Thing ; | ||
167 | - rdfs:subClassOf | ||
168 | - [ rdf:type owl:Restriction ; | ||
169 | - owl:allValuesFrom dtype:EnumeratedValue ; | ||
170 | - owl:onProperty dtype:refersTo | ||
171 | - ] ; | ||
172 | - rdfs:subClassOf | ||
173 | - [ rdf:type owl:Restriction ; | ||
174 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
175 | - owl:onProperty dtype:position | ||
176 | - ] ; | ||
177 | - rdfs:subClassOf | ||
178 | - [ rdf:type owl:Restriction ; | ||
179 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
180 | - owl:onProperty dtype:refersTo | ||
181 | - ] ; | ||
182 | - vaem:definition "A value reference is a pointer to an Enumerated Value. The original position of the value can be overridden by the position attribute."^^xsd:string . | ||
183 | - | ||
184 | -dtype:code | ||
185 | - rdf:type owl:DatatypeProperty ; | ||
186 | - rdfs:label "code"^^xsd:string ; | ||
187 | - rdfs:range xsd:anySimpleType ; | ||
188 | - vaem:definition "A property for expressing an encoded value. The range has been set to 'xsd:anySimpleType' to allow for a variety of scalar datatypes."^^xsd:string . | ||
189 | - | ||
190 | -dtype:compositeOf | ||
191 | - rdf:type owl:ObjectProperty ; | ||
192 | - rdfs:label "composite of"^^xsd:string ; | ||
193 | - vaem:definition "Aproperty for constructing composite data structures"^^xsd:string . | ||
194 | - | ||
195 | -dtype:defaultValue | ||
196 | - rdf:type rdf:Property ; | ||
197 | - rdfs:label "default value"^^xsd:string ; | ||
198 | - vaem:definition "The property 'dtype:defaultValue' is a general property for specifying a value in situations where none is specified, or can be determined. In some cases of use, this property could have a scalar value and in other cases may need to refer to a first class concept that holds a 'value object'. For this reason, the type of this property is set as 'rdf:Property' and the property is rangeless."^^xsd:string . | ||
199 | - | ||
200 | -dtype:derivedFrom | ||
201 | - rdf:type owl:ObjectProperty ; | ||
202 | - rdfs:label "derived from"^^xsd:string ; | ||
203 | - vaem:definition "A property for specifying a derivation relationship."^^xsd:string . | ||
204 | - | ||
205 | -dtype:hasMember | ||
206 | - rdf:type owl:ObjectProperty ; | ||
207 | - rdfs:label "has member"^^xsd:string ; | ||
208 | - vaem:definition "A property for specifying how member elements make up a data structure."^^xsd:string . | ||
209 | - | ||
210 | -dtype:literal | ||
211 | - rdf:type owl:DatatypeProperty ; | ||
212 | - rdfs:label "literal"^^xsd:string ; | ||
213 | - rdfs:range xsd:string ; | ||
214 | - vaem:definition "A general purpose property for holding string literals."^^xsd:string . | ||
215 | - | ||
216 | -dtype:order | ||
217 | - rdf:type owl:DatatypeProperty ; | ||
218 | - rdfs:label "order"^^xsd:string ; | ||
219 | - rdfs:range xsd:nonNegativeInteger ; | ||
220 | - rdfs:seeAlso dtype:orderIndex ; | ||
221 | - vaem:definition "The property 'dtype:order' provides a means to specify a precedence. One use of order is in specifying ordered enumerations such as 'voag:ConfidentialityLevel'. A similar property, but with an important type difference, is 'vaem:orderIndex'. This is for use on property occurrences in class axioms where it can be placed on a restriction to specify how that property may be transformed into other representations where ordering has some importance, for example, in XML Schema sequences. Whereas 'vaem:order' is a datatype property, 'vaem:orderIndex' is an annotation property."^^xsd:string . | ||
222 | - | ||
223 | -dtype:orderIndex | ||
224 | - rdf:type owl:AnnotationProperty ; | ||
225 | - rdfs:label "order index"^^xsd:string ; | ||
226 | - rdfs:range xsd:nonNegativeInteger ; | ||
227 | - vaem:definition "The property 'dtype:orderIndex' is an annotation property to specify a position that some value or structure will have. One use is to specify the place that a resource has in a sequence. One use is on property occurrences in class axioms. Here 'vaem:orderIndex' is placed on a restriction to specify how that property may be transformed into a representation where ordering has some importance, for example, in XML Schema sequences."^^xsd:string . | ||
228 | - | ||
229 | -dtype:position | ||
230 | - rdf:type owl:DatatypeProperty ; | ||
231 | - rdfs:label "code"^^xsd:string ; | ||
232 | - rdfs:range xsd:nonNegativeInteger . | ||
233 | - | ||
234 | -dtype:refersTo | ||
235 | - rdf:type owl:ObjectProperty ; | ||
236 | - rdfs:label "refers to"^^xsd:string ; | ||
237 | - vaem:definition "An indirection pointer for relating a slot in am occurrence data structure, such as 'dtype:ValueReference' with another resource."^^xsd:string . | ||
238 | - | ||
239 | -dtype:value | ||
240 | - rdf:type rdf:Property ; | ||
241 | - rdfs:label "value"^^xsd:string ; | ||
242 | - vaem:definition "The property 'dtype:value' is a general property that in some cases could have scalar values and in other cases may refer to a first class concept that is a 'value object'. For this reason, the type of this property is set as 'rdf:Property' and the property is rangeless."^^xsd:string . |
1 | -# Saved by TopBraid on Wed Oct 12 12:21:35 BST 2011 | ||
2 | -# baseURI: http://www.linkedmodel.org/schema/vaem | ||
3 | - | ||
4 | -@prefix creativecommons: <http://creativecommons.org/ns#> . | ||
5 | -@prefix dc: <http://purl.org/dc/elements/1.1/> . | ||
6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
9 | -@prefix vaem: <http://www.linkedmodel.org/schema/vaem#> . | ||
10 | -@prefix vaem-1.2: <http://www.linkedmodel.org/1.2/schema/vaem#> . | ||
11 | -@prefix voag: <http://voag.linkedmodel.org/schema/voag#> . | ||
12 | -@prefix voag-1.0: <http://voag.linkedmodel.org/1.0/schema/voag#> . | ||
13 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
14 | - | ||
15 | -dc:author | ||
16 | - rdf:type owl:AnnotationProperty ; | ||
17 | - rdfs:label "author"^^xsd:string ; | ||
18 | - rdfs:range xsd:string . | ||
19 | - | ||
20 | -dc:contributor | ||
21 | - rdf:type owl:AnnotationProperty ; | ||
22 | - rdfs:label "contributor"^^xsd:string ; | ||
23 | - rdfs:range xsd:string . | ||
24 | - | ||
25 | -dc:description | ||
26 | - rdf:type owl:AnnotationProperty ; | ||
27 | - rdfs:label "description"^^xsd:string ; | ||
28 | - rdfs:range xsd:string . | ||
29 | - | ||
30 | -dc:rights | ||
31 | - rdf:type owl:AnnotationProperty ; | ||
32 | - rdfs:label "rights"^^xsd:string ; | ||
33 | - rdfs:range xsd:string . | ||
34 | - | ||
35 | -dc:subject | ||
36 | - rdf:type owl:AnnotationProperty ; | ||
37 | - rdfs:label "subject"^^xsd:string ; | ||
38 | - rdfs:range xsd:string . | ||
39 | - | ||
40 | -dc:title | ||
41 | - rdf:type owl:AnnotationProperty ; | ||
42 | - rdfs:label "title"^^xsd:string ; | ||
43 | - rdfs:range xsd:string . | ||
44 | - | ||
45 | -voag:hasCatalogEntry | ||
46 | - rdf:type owl:ObjectProperty ; | ||
47 | - rdfs:label "has catalog entry"^^xsd:string . | ||
48 | - | ||
49 | -voag:hasLicenseType | ||
50 | - rdf:type owl:ObjectProperty ; | ||
51 | - rdfs:label "has license type"@en-US . | ||
52 | - | ||
53 | -voag:withAttributionTo | ||
54 | - rdf:type owl:ObjectProperty ; | ||
55 | - rdfs:label "with attribution to"^^xsd:string . | ||
56 | - | ||
57 | -<http://www.linkedmodel.org/schema/vaem> | ||
58 | - rdf:type owl:Ontology ; | ||
59 | - rdfs:label "Vocabulary for Attaching Essential Metadata"^^xsd:string ; | ||
60 | - voag:hasLicenseType voag:CC-SHAREALIKE_3PT0-US ; | ||
61 | - vaem:acronym "VAEM"^^xsd:string ; | ||
62 | - vaem:dateCreated "2011-04-20"^^vaem:dateUnion ; | ||
63 | - vaem:description """VAEM stands for \"Vocabulary for Attaching Essential Metadata\". The purpose of VAEM is to provide, by import, a foundation for commonly needed resources when building an ontology. An effort has been made to restrict these resources to a minimal level. In some ways DC, Dublin Core, could have provided such a foundation. Importing DC unfortunately causes \"ontology glut\", through the import of many DC Terms. | ||
64 | - | ||
65 | -VAEM attaches basic metadata properties and dimension properties, such as domain, discipline, aspect and viewpoint, to the 'owl:Ontology' class to fully qualify the ontology. | ||
66 | - | ||
67 | -What VAEM regards as 'essential metadata' is data about dates and times, confidentiality, and other characterisitic qualifiers of the ontology, but also references to where a ontology is documented and where to find ontology Governance, Attribution and Provenance. For the latter, some properties from the VOAG ontology are used, notably, 'voag:hasGovernance', 'voag:withAttributionTo', and 'voag:hasLicenceType'. VAEM also defines classes for representing enumerations and enumerated values."""^^xsd:string ; | ||
68 | - vaem:hasCatalogEntry | ||
69 | - <vaem:VAEM-CatalogEntry> ; | ||
70 | - vaem:hasRole vaem:SchemaGraph ; | ||
71 | - vaem:intent "To provide essential resources and metadata for ontologies and controlled vocabularies so that the provenance, governance and licensing aspects of an ontology can be understand."^^xsd:string ; | ||
72 | - vaem:lastUpdated "$LastChangedDate: 2011-06-04 04:04:02 -0700 (Sat, 04 Jun 2011) $"^^vaem:dateUnion ; | ||
73 | - vaem:namespace "http://www.linkedmodel.org/1.2/schema/vaem#"^^xsd:anyURI ; | ||
74 | - vaem:namespacePrefix | ||
75 | - "vaem"^^xsd:string ; | ||
76 | - vaem:revisionNumber "1.2"^^xsd:string ; | ||
77 | - vaem:specificity "1"^^vaem:integer_1to5 ; | ||
78 | - vaem:usesNonImportedResource | ||
79 | - dc:rights , dc:subject , dc:title , voag:CC-SHAREALIKE_3PT0-US , voag:hasLicenseType ; | ||
80 | - owl:versionIRI <http://www.linkedmodel.org/schema/vaem> ; | ||
81 | - owl:versionInfo "$Id: OSG_vaem-(v1.2).ttl 5016 2011-06-04 11:04:02Z RalphHodgson $"^^xsd:string , "Created with TopBraid Composer"^^xsd:string . | ||
82 | - | ||
83 | -vaem:Aspect | ||
84 | - rdf:type owl:Class ; | ||
85 | - rdfs:label "Aspect"^^xsd:string ; | ||
86 | - rdfs:subClassOf vaem:Scope ; | ||
87 | - vaem:definition "Aspect Scope is used to distinguish among sets of features of a domain or subject area. The term is borrowed from 'aspect-oriented' programming, where it is used to separate concerns. An ontology may be characterized by this dimension so as to parition features that are orthogonal. For example, in an SBFI systems ontology we can distinguish aspects for 'structure', 'function', 'behavior' and 'interface'."^^xsd:string . | ||
88 | - | ||
89 | -vaem:BridgeGraph | ||
90 | - rdf:type vaem:GraphRole ; | ||
91 | - rdfs:label "Bridge graph"^^xsd:string . | ||
92 | - | ||
93 | -vaem:Category | ||
94 | - rdf:type owl:Class ; | ||
95 | - rdfs:label "Category"^^xsd:string ; | ||
96 | - rdfs:subClassOf owl:Thing ; | ||
97 | - vaem:definition "Category is an abstract class for all concepts whose roles are to characterize other concepts in some manner."^^xsd:string . | ||
98 | - | ||
99 | -vaem:CollectionGraph | ||
100 | - rdf:type vaem:GraphRole ; | ||
101 | - rdfs:label "Collection graph"^^xsd:string . | ||
102 | - | ||
103 | -vaem:CurationGraph | ||
104 | - rdf:type vaem:GraphRole ; | ||
105 | - rdfs:label "Curation graph"^^xsd:string ; | ||
106 | - vaem:definition "A curation graph is one whose purpose is to hold metadata that is needed to describe, govern and provision another graph. A curation graph will likely use voag and vaem for this purpose. The property 'vaem:curationGraph' is used to link to the graph (or graphs) being curated."^^xsd:string . | ||
107 | - | ||
108 | -vaem:DataGraph | ||
109 | - rdf:type vaem:GraphRole ; | ||
110 | - rdfs:label "Data graph"^^xsd:string . | ||
111 | - | ||
112 | -vaem:Discipline | ||
113 | - rdf:type owl:Class ; | ||
114 | - rdfs:label "Discipline"^^xsd:string ; | ||
115 | - rdfs:subClassOf vaem:Scope ; | ||
116 | - vaem:definition "A Discipline is a specific area of work or study. Examples of disciplines in the engineering domain are electrical engineering, mechanical engineering and, in the financial domain, risk assessment, investment analysis. In 'vaem', 'Discipline' is used as a dimension for characterizing an ontology graph."^^xsd:string . | ||
117 | - | ||
118 | -vaem:Domain | ||
119 | - rdf:type owl:Class ; | ||
120 | - rdfs:label "Domain"^^xsd:string ; | ||
121 | - rdfs:subClassOf vaem:Scope ; | ||
122 | - vaem:definition "A domain is a subject area of interest. Examples of domains are 'enterprise', 'process', 'organization' and 'system'. In 'vaem' the notion of 'Domain' is used as a dimension for characterizing an ontology graph."^^xsd:string . | ||
123 | - | ||
124 | -vaem:FunctionsGraph | ||
125 | - rdf:type vaem:GraphRole ; | ||
126 | - rdfs:label "Functions graph"^^xsd:string . | ||
127 | - | ||
128 | -vaem:GraphRole | ||
129 | - rdf:type owl:Class ; | ||
130 | - rdfs:label "Graph role"^^xsd:string ; | ||
131 | - rdfs:subClassOf vaem:Category ; | ||
132 | - vaem:definition "GraphRole is used to characterize how a graph of resources participates in an ontology set. For example, a graph can be a schema, vocabulary, dataset, script, or ruleset."^^xsd:string ; | ||
133 | - owl:oneOf (vaem:ScriptGraph vaem:BridgeGraph vaem:DataGraph vaem:CollectionGraph vaem:VocabularyGraph vaem:CurationGraph vaem:ProxyGraph vaem:ViewGraph vaem:FunctionsGraph vaem:SchemaGraph vaem:MappingGraph vaem:RulesGraph) . | ||
134 | - | ||
135 | -vaem:MappingGraph | ||
136 | - rdf:type vaem:GraphRole ; | ||
137 | - rdfs:label "Mapping graph"^^xsd:string ; | ||
138 | - vaem:description "A graph that specifies a transformation of a graph into another graph or graphs. Invariably this is a SPINMap graph using SPARQL Rules (SPIN) to express the transforms."^^xsd:string . | ||
139 | - | ||
140 | -vaem:ProxyGraph | ||
141 | - rdf:type vaem:GraphRole ; | ||
142 | - rdfs:label "Proxy graph"^^xsd:string . | ||
143 | - | ||
144 | -vaem:RulesGraph | ||
145 | - rdf:type vaem:GraphRole ; | ||
146 | - rdfs:label "Rules Graph"^^xsd:string . | ||
147 | - | ||
148 | -vaem:SchemaGraph | ||
149 | - rdf:type vaem:GraphRole ; | ||
150 | - rdfs:label "Schema graph"^^xsd:string . | ||
151 | - | ||
152 | -vaem:Scope | ||
153 | - rdf:type owl:Class ; | ||
154 | - rdfs:label "Scope"^^xsd:string ; | ||
155 | - rdfs:subClassOf vaem:Category ; | ||
156 | - vaem:definition "Scope is used indicate a scope of relevance of an ontology. There are no instances of these properties in VAEM. Each context of use will need specific treatment."^^xsd:string . | ||
157 | - | ||
158 | -vaem:ScriptGraph | ||
159 | - rdf:type vaem:GraphRole ; | ||
160 | - rdfs:label "Script graph"^^xsd:string . | ||
161 | - | ||
162 | -vaem:ViewGraph | ||
163 | - rdf:type vaem:GraphRole ; | ||
164 | - rdfs:label "View graph"^^xsd:string . | ||
165 | - | ||
166 | -vaem:Viewpoint | ||
167 | - rdf:type owl:Class ; | ||
168 | - rdfs:label "Viewpoint"^^xsd:string ; | ||
169 | - rdfs:subClassOf vaem:Scope ; | ||
170 | - vaem:definition "Viewpoint is used to denote how a set of resources, or an individual resource, is relevant to a context of use. The term 'viewpoint' is adopted from the ISO RM-ODP specifications and its more recent use in enterprise architecture descriptions. In 'lmc' the notion of 'Viewpoint' is used as a dimension for characterizing an ontology graph."^^xsd:string . | ||
171 | - | ||
172 | -vaem:VocabularyGraph | ||
173 | - rdf:type vaem:GraphRole ; | ||
174 | - rdfs:label "Vocabulary graph"^^xsd:string ; | ||
175 | - vaem:description "An RDF/OWL Graph that is a controlled set of instances."^^xsd:string . | ||
176 | - | ||
177 | -vaem:acronym | ||
178 | - rdf:type owl:DatatypeProperty ; | ||
179 | - rdfs:label "acronym"^^xsd:string ; | ||
180 | - vaem:definition "The property 'vaem:acronym' provides a common way to define a commonly used abbreviation on a resource."^^xsd:string . | ||
181 | - | ||
182 | -vaem:dateCreated | ||
183 | - rdf:type owl:DatatypeProperty ; | ||
184 | - rdfs:label "date created"^^xsd:string ; | ||
185 | - rdfs:range vaem:dateUnion ; | ||
186 | - vaem:definition "The property 'vaem:dateCreated' is intended for general use as the name implies. The range of the property is set as 'vaem:dateUnion' so as to allow a value to have a number of forms from a year only to a full timestamp."^^xsd:string . | ||
187 | - | ||
188 | -vaem:dateUnion | ||
189 | - rdf:type rdfs:Datatype ; | ||
190 | - rdfs:label "date union"^^xsd:string ; | ||
191 | - rdfs:subClassOf rdfs:Resource ; | ||
192 | - vaem:description "A data type that is the union of xsd:date, xsd:dateTime and xsd:gYear. LMC's 'dateUnion' is equivalent to the xsd specification that uses an xsd:union of memberTypes='xsd:date xsd:dateTime xsd:gYear'."^^xsd:string ; | ||
193 | - owl:unionOf (xsd:date xsd:dateTime xsd:gYear) . | ||
194 | - | ||
195 | -vaem:definition | ||
196 | - rdf:type owl:DatatypeProperty ; | ||
197 | - rdfs:label "definition"^^xsd:string ; | ||
198 | - rdfs:range xsd:string ; | ||
199 | - vaem:definition "A datatype property that can be freely used on any kind of resource. The range of the property is 'xsd:string'."^^xsd:string . | ||
200 | - | ||
201 | -vaem:description | ||
202 | - rdf:type owl:DatatypeProperty ; | ||
203 | - rdfs:label "description"^^xsd:string ; | ||
204 | - rdfs:range xsd:string ; | ||
205 | - vaem:definition "The property 'vaem:description' is intended for general use as the name implies. Unlike 'vaem:definition', 'vaem:description' is an 'owl:DatatypeProperty'. As such it can play a stronger role in the model, for example, as a predicate in an axiom."^^xsd:string . | ||
206 | - | ||
207 | -vaem:hasAspectScope | ||
208 | - rdf:type rdf:Property ; | ||
209 | - rdfs:label "has aspect scope"^^xsd:string ; | ||
210 | - rdfs:subPropertyOf vaem:hasScope ; | ||
211 | - vaem:definition "The property 'vaem:hasAspectScope' is used to distinguish among sets of features of a domain or subject area. The term is borrowed from 'aspect-oriented' programming, where it is used to separate concerns. An ontology may be characterized by this dimension so as to parition features that are orthogonal. For example, in an SBFI systems ontology we can distinguish aspects for 'structure', 'function', 'behavior' and 'interface'. The property is an 'rdf:Property' to allow both scalar and object values."^^xsd:string . | ||
212 | - | ||
213 | -vaem:hasCatalogEntry | ||
214 | - rdf:type owl:ObjectProperty ; | ||
215 | - rdfs:label "has catalog entry"^^xsd:string . | ||
216 | - | ||
217 | -vaem:hasDisciplineScope | ||
218 | - rdf:type rdf:Property ; | ||
219 | - rdfs:label "has discipline scope"^^xsd:string ; | ||
220 | - rdfs:subPropertyOf vaem:hasScope ; | ||
221 | - vaem:definition "The property 'vaem:hasDisciplineScope' is used to indicate relevance of a set of resources, or a resource itself, to a specific discipline of work or study. Examples of disciplines in the engineering domain are electrical engineering, mechanical engineering and, in the financial domain, risk assessment, investment analysis. In 'vaem' the property is used as a dimension for characterizing an ontology graph. The property is an 'rdf:Property' to allow both scalar and object values."^^xsd:string . | ||
222 | - | ||
223 | -vaem:hasDomainScope | ||
224 | - rdf:type rdf:Property ; | ||
225 | - rdfs:label "has domain scope"^^xsd:string ; | ||
226 | - rdfs:subPropertyOf vaem:hasScope ; | ||
227 | - vaem:definition "The property 'vaem:hasDomainScope' is used to specify how a set of resources, or an individual resource is grounded in a domain, that is, a subject area of interest. Examples of domains are 'enterprise', 'process', 'organization' and 'system'. In 'lmc' the property is used as a dimension for characterizing an ontology graph. The property is an 'rdf:Property' to allow both scalar and object values."^^xsd:string . | ||
228 | - | ||
229 | -vaem:hasRole | ||
230 | - rdf:type owl:ObjectProperty ; | ||
231 | - rdfs:label "has role"^^xsd:string ; | ||
232 | - vaem:definition "The property 'lms:hasRole' is used to characterize how a resource participates in an ontology set. In 'lmc' the property is used to specify the role that a graph plays, for example, an ontology graph can be a schema, vocabulary, dataset, script, or ruleset."^^xsd:string . | ||
233 | - | ||
234 | -vaem:hasScope | ||
235 | - rdf:type rdf:Property ; | ||
236 | - rdfs:label "has scope"^^xsd:string ; | ||
237 | - vaem:definition "The property 'vaem:hasScope' is used indicate a scope of relevance of an ontology. In 'vaem' the property is used as a dimension for characterizing an ontology graph. The property is an 'rdf:Property' to allow both scalar and object values."^^xsd:string . | ||
238 | - | ||
239 | -vaem:hasViewpointScope | ||
240 | - rdf:type rdf:Property ; | ||
241 | - rdfs:label "has viewpoint scope"^^xsd:string ; | ||
242 | - rdfs:subPropertyOf vaem:hasScope ; | ||
243 | - vaem:definition "The property 'vaem:hasViewpointScope' is used to denote how a set of resources, or an individual resource, is relevant to a context of use. The term 'viewpoint' is adopted from the ISO RM-ODP specifications and its more recent use in enterprise architecture descriptions. In 'lmc' the property is used as a dimension for characterizing an ontology graph. The property is an 'rdf:Property' to allow both scalar and object values."^^xsd:string . | ||
244 | - | ||
245 | -vaem:id | ||
246 | - rdf:type rdf:Property ; | ||
247 | - rdfs:label "id"^^xsd:string ; | ||
248 | - vaem:definition "The property 'vaem:id' is intended for general use as a means to specifiy an identifier. The type of this property is intentionally set to 'rdf:Property' so that use of the property can allow both object and scaler values. For this reason, the property is rangeless."^^xsd:string . | ||
249 | - | ||
250 | -vaem:integer_1to5 | ||
251 | - rdf:type rdfs:Datatype ; | ||
252 | - rdfs:label "integer 1 to 5"^^xsd:string ; | ||
253 | - rdfs:subClassOf xsd:integer ; | ||
254 | - owl:equivalentClass | ||
255 | - [ rdf:type rdfs:Datatype ; | ||
256 | - owl:onDatatype xsd:positiveInteger ; | ||
257 | - owl:withRestrictions | ||
258 | - ([ xsd:maxInclusive "5"^^xsd:positiveInteger | ||
259 | - ]) | ||
260 | - ] ; | ||
261 | - owl:onDatatype xsd:positiveInteger . | ||
262 | - | ||
263 | -vaem:intent | ||
264 | - rdf:type owl:DatatypeProperty ; | ||
265 | - rdfs:label "intent"^^xsd:string ; | ||
266 | - rdfs:range xsd:string ; | ||
267 | - vaem:definition "The property 'vaem:intent' is used to describe a statement of purpose. This typically takes the form of desired outcomes."^^xsd:string . | ||
268 | - | ||
269 | -vaem:lastUpdated | ||
270 | - rdf:type owl:DatatypeProperty ; | ||
271 | - rdfs:label "last updated"^^xsd:string ; | ||
272 | - rdfs:range vaem:dateUnion ; | ||
273 | - vaem:definition "The property 'vaem:lastUpdated' is intended for general use as the name implies. The range of the property is set as 'vaem:dateUnion' so as to allow a value to have a number of forms from a year only to a full timestamp."^^xsd:string . | ||
274 | - | ||
275 | -vaem:name | ||
276 | - rdf:type owl:DatatypeProperty ; | ||
277 | - rdfs:label "name"^^xsd:string ; | ||
278 | - rdfs:range xsd:string ; | ||
279 | - rdfs:subPropertyOf rdfs:label ; | ||
280 | - vaem:definition "The property 'vaem:name' is intended for general use. In many cases 'rdfs:label' could be used give names to resources. In the case where compliance with a specific naming rule is needed, 'vaem:name' allows a resource to carry a name that is used in more specific contexts. Making 'vaem:name' a sub-property of 'rdfs:label' allows 'vaem:name' to serve in the same way as an 'rdfs:label'."^^xsd:string . | ||
281 | - | ||
282 | -vaem:namespace | ||
283 | - rdf:type owl:DatatypeProperty ; | ||
284 | - rdfs:label "namespace"^^xsd:string ; | ||
285 | - rdfs:range xsd:anyURI ; | ||
286 | - vaem:definition "The property 'vaem:namespace' provides a means to specify the onotlogy URI with which a graph is primarily associated. The intent is to allow multiple graphs to define statements for resources in the same Ontology namespace. For example, a foundation level graph with the base URI of 'http://www.somesite.com/1.0/schema/OurOntology' may define general concepts for 'OurOntology'. Another graph with the base URI 'http://www.somesite.com/1.0/schema/level2/OurOntology' may add more specific details to the same 'OurOntology'. Each of these two graphs would carry the same value for 'vaem:namespace', that is, 'http://www.somesite.com/schema/OurOntology'. In other words, an ontology URI is the URI associated with the resources of a controlled namespace. On the other hand the graph URIs (the base URIs) identify the graphs that hold resources that make up an ontology."^^xsd:string . | ||
287 | - | ||
288 | -vaem:namespacePrefix | ||
289 | - rdf:type owl:DatatypeProperty ; | ||
290 | - rdfs:label "namespace prefix"^^xsd:string ; | ||
291 | - rdfs:range xsd:string ; | ||
292 | - vaem:definition "The property 'vaem:namespacePrefix' specifes a short handle or label for the URI of an Ontology. Multiple graphs can define statements for resources in the same Ontololgy namespace. For example, a foundation level graph with the base URI of 'http://www.somesite.com/1.0/schema/OurOntology' may define general concepts for 'OurOntology'. Another graph with the base URI 'http://www.somesite.com/1.0/schema/level2/OurOntology' may add more specific details to the same 'OurOntology'. Each of these two graphs would carry the same value for 'vaem:namespacePrefix', for this example, perhaps, 'ourOntology'."^^xsd:string . | ||
293 | - | ||
294 | -vaem:numericUnion | ||
295 | - rdf:type rdfs:Datatype ; | ||
296 | - rdfs:label "numeric union"^^xsd:string ; | ||
297 | - rdfs:subClassOf rdfs:Resource ; | ||
298 | - vaem:description "A datatype that is the union of numeric xsd data types. LMC's 'numericUnion' is equivalent to the xsd specification that uses an xsd:union of memberTypes='xsd:decimal xsd:double xsd:float xsd:integer'."^^xsd:string ; | ||
299 | - owl:unionOf (xsd:float xsd:decimal xsd:integer xsd:double) . | ||
300 | - | ||
301 | -vaem:ownedBy | ||
302 | - rdf:type rdf:Property ; | ||
303 | - rdfs:label "owned by"^^xsd:string ; | ||
304 | - vaem:definition "The property 'vaem:ownedBy' is a general property that in some cases could have scalar values and in other cases may need to refer to some concept of 'Party'. For this reason, the type of this property is set as 'rdf:Property' and the property is rangeless."^^xsd:string . | ||
305 | - | ||
306 | -vaem:releaseDate | ||
307 | - rdf:type owl:DatatypeProperty ; | ||
308 | - rdfs:label "release date"^^xsd:string ; | ||
309 | - rdfs:range vaem:dateUnion ; | ||
310 | - vaem:definition "The property 'vaem:releaseDate' is intended for general use as the name implies. The range of the property is set as 'vaem:dateUnion' so as to allow a value to have a number of forms from a year only to a full timestamp."^^xsd:string . | ||
311 | - | ||
312 | -vaem:revision | ||
313 | - rdf:type owl:AnnotationProperty ; | ||
314 | - rdfs:label "revision"^^xsd:string ; | ||
315 | - rdfs:range xsd:string ; | ||
316 | - vaem:definition "The property 'vaem:revision' is an annotation property intended for general use as the name implies. "^^xsd:string . | ||
317 | - | ||
318 | -vaem:revisionDate | ||
319 | - rdf:type owl:DatatypeProperty ; | ||
320 | - rdfs:label "revision date"^^xsd:string ; | ||
321 | - rdfs:range xsd:dateTime ; | ||
322 | - vaem:definition "The property 'vaem:revisionDate' is intended for general use as the name implies. The range of the property is 'xsd:dateTime'."^^xsd:string . | ||
323 | - | ||
324 | -vaem:revisionNumber | ||
325 | - rdf:type owl:DatatypeProperty ; | ||
326 | - rdfs:label "revision number"^^xsd:string ; | ||
327 | - rdfs:range xsd:string ; | ||
328 | - vaem:definition "The property 'vaem:revisionNumber' is intended for general use as the name implies."^^xsd:string . | ||
329 | - | ||
330 | -vaem:specificity | ||
331 | - rdf:type owl:DatatypeProperty ; | ||
332 | - rdfs:label "specificity"^^xsd:string ; | ||
333 | - rdfs:range vaem:integer_1to5 ; | ||
334 | - vaem:definition "The property 'vaem:specificity' is intended to specify the level of detail of an ontology. The values that can be set for this property are restriced to an integer from 1 to 5. An ontology at level 1 has concepts of more general applicability than one at level 5. By having graphs at different levels of specificity it is possible to support greater modularity for selective imports."^^xsd:string . | ||
335 | - | ||
336 | -vaem:timestamp | ||
337 | - rdf:type owl:DatatypeProperty ; | ||
338 | - rdfs:label "timestamp"^^xsd:string ; | ||
339 | - rdfs:range xsd:dateTime ; | ||
340 | - vaem:definition "The property 'vaem:timestamp' is intended for general use as the name implies. The range of the property is an XSD data time."^^xsd:string . | ||
341 | - | ||
342 | -vaem:url | ||
343 | - rdf:type owl:DatatypeProperty ; | ||
344 | - rdfs:label "url"^^xsd:string ; | ||
345 | - rdfs:range xsd:anyURI ; | ||
346 | - vaem:definition "The property 'vaem:url' is intended for general use as the name implies. The range of the property is set as an XSD URI."^^xsd:string . | ||
347 | - | ||
348 | -vaem:usesNonImportedResource | ||
349 | - rdf:type owl:ObjectProperty ; | ||
350 | - rdfs:label "uses non-imported resource"^^xsd:string ; | ||
351 | - rdfs:range rdfs:Resource ; | ||
352 | - vaem:definition "A general property that has multiple uses. In VAEM it is used on owl:Ontology to express dependencies on resources from graphs that are not imported."^^xsd:string . | ||
353 | - | ||
354 | -owl:Ontology | ||
355 | - rdfs:subClassOf | ||
356 | - [ rdf:type owl:Restriction ; | ||
357 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
358 | - owl:onProperty vaem:dateCreated | ||
359 | - ] ; | ||
360 | - rdfs:subClassOf | ||
361 | - [ rdf:type owl:Restriction ; | ||
362 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
363 | - owl:onProperty vaem:lastUpdated | ||
364 | - ] ; | ||
365 | - rdfs:subClassOf | ||
366 | - [ rdf:type owl:Restriction ; | ||
367 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
368 | - owl:onProperty vaem:namespace | ||
369 | - ] ; | ||
370 | - rdfs:subClassOf | ||
371 | - [ rdf:type owl:Restriction ; | ||
372 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
373 | - owl:onProperty vaem:namespacePrefix | ||
374 | - ] ; | ||
375 | - rdfs:subClassOf | ||
376 | - [ rdf:type owl:Restriction ; | ||
377 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
378 | - owl:onProperty vaem:specificity | ||
379 | - ] ; | ||
380 | - rdfs:subClassOf | ||
381 | - [ rdf:type owl:Restriction ; | ||
382 | - owl:allValuesFrom vaem:integer_1to5 ; | ||
383 | - owl:onProperty vaem:specificity | ||
384 | - ] ; | ||
385 | - rdfs:subClassOf | ||
386 | - [ rdf:type owl:Restriction ; | ||
387 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
388 | - owl:onProperty vaem:ownedBy | ||
389 | - ] ; | ||
390 | - rdfs:subClassOf | ||
391 | - [ rdf:type owl:Restriction ; | ||
392 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | ||
393 | - owl:onProperty vaem:hasDomainScope | ||
394 | - ] ; | ||
395 | - rdfs:subClassOf | ||
396 | - [ rdf:type owl:Restriction ; | ||
397 | - owl:allValuesFrom rdfs:Resource ; | ||
398 | - owl:onProperty vaem:usesNonImportedResource | ||
399 | - ] ; | ||
400 | - rdfs:subClassOf | ||
401 | - [ rdf:type owl:Restriction ; | ||
402 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | ||
403 | - owl:onProperty vaem:hasAspectScope | ||
404 | - ] ; | ||
405 | - rdfs:subClassOf | ||
406 | - [ rdf:type owl:Restriction ; | ||
407 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
408 | - owl:onProperty vaem:intent | ||
409 | - ] ; | ||
410 | - rdfs:subClassOf | ||
411 | - [ rdf:type owl:Restriction ; | ||
412 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
413 | - owl:onProperty vaem:acronym | ||
414 | - ] ; | ||
415 | - rdfs:subClassOf | ||
416 | - [ rdf:type owl:Restriction ; | ||
417 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | ||
418 | - owl:onProperty vaem:hasViewpointScope | ||
419 | - ] ; | ||
420 | - rdfs:subClassOf | ||
421 | - [ rdf:type owl:Restriction ; | ||
422 | - owl:allValuesFrom xsd:string ; | ||
423 | - owl:onProperty vaem:description | ||
424 | - ] ; | ||
425 | - rdfs:subClassOf | ||
426 | - [ rdf:type owl:Restriction ; | ||
427 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | ||
428 | - owl:onProperty vaem:hasDisciplineScope | ||
429 | - ] ; | ||
430 | - rdfs:subClassOf | ||
431 | - [ rdf:type owl:Restriction ; | ||
432 | - owl:allValuesFrom vaem:GraphRole ; | ||
433 | - owl:onProperty vaem:hasRole | ||
434 | - ] ; | ||
435 | - rdfs:subClassOf | ||
436 | - [ rdf:type owl:Restriction ; | ||
437 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
438 | - owl:onProperty vaem:hasCatalogEntry | ||
439 | - ] ; | ||
440 | - rdfs:subClassOf | ||
441 | - [ rdf:type owl:Restriction ; | ||
442 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
443 | - owl:onProperty vaem:revisionNumber | ||
444 | - ] ; | ||
445 | - rdfs:subClassOf | ||
446 | - [ rdf:type owl:Restriction ; | ||
447 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | ||
448 | - owl:onProperty vaem:hasScope | ||
449 | - ] ; | ||
450 | - rdfs:subClassOf | ||
451 | - [ rdf:type owl:Restriction ; | ||
452 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | ||
453 | - owl:onProperty vaem:hasDomainScope | ||
454 | - ] . |
1 | -# Saved by TopBraid on Thu Aug 18 00:46:08 BST 2011 | ||
2 | -# baseURI: http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/p7tm | ||
3 | -# imports: http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model | ||
4 | - | ||
5 | -@prefix : <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/p7tm#> . | ||
6 | -@prefix iso-tm: <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/p7tm#> . | ||
7 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | - | ||
12 | -<http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model#Class> | ||
13 | - rdf:type owl:Class . | ||
14 | - | ||
15 | -<http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model#Thing> | ||
16 | - rdf:type owl:Class ; | ||
17 | - owl:disjointWith iso-tm:Template , iso-tm:TemplateRole , iso-tm:TemplateStatement . | ||
18 | - | ||
19 | -<http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/p7tm> | ||
20 | - rdf:type owl:Ontology ; | ||
21 | - rdfs:comment "This ontology provides basic classes for representing ISO 15926-8 template signatures. It depends on an OWL taxonomy representation of ISO 15926-2 entity types." ; | ||
22 | - owl:imports <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model> ; | ||
23 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
24 | - | ||
25 | -iso-tm:BaseTemplate | ||
26 | - rdf:type owl:Class ; | ||
27 | - rdfs:comment "A base template makes no reference to entities beyond the generic types defined in ISO 15926-2." ; | ||
28 | - rdfs:label "BaseTemplate" ; | ||
29 | - rdfs:subClassOf iso-tm:Template ; | ||
30 | - owl:disjointWith iso-tm:RDLTemplate . | ||
31 | - | ||
32 | -iso-tm:BaseTemplateStatement | ||
33 | - rdf:type owl:Class ; | ||
34 | - rdfs:comment "The class of \"base\" template statements covers all the typical cases of statements used to carry data. It is distinguished from template meta-statements, which are used to characterize templates themselves." ; | ||
35 | - rdfs:label "BaseTemplateStatement" ; | ||
36 | - rdfs:subClassOf iso-tm:TemplateStatement ; | ||
37 | - owl:disjointWith iso-tm:MetaTemplateStatement . | ||
38 | - | ||
39 | -iso-tm:MetaTemplateStatement | ||
40 | - rdf:type owl:Class ; | ||
41 | - rdfs:comment """A template statement (template instance) that characterizes a template. For templates themselves, we record the number of roles. For roles, we record for each template their type constraints and positions. | ||
42 | -Various provenance information about templates would also belong here.""" ; | ||
43 | - rdfs:label "MetaTemplateStatement" ; | ||
44 | - rdfs:subClassOf iso-tm:TemplateStatement . | ||
45 | - | ||
46 | -iso-tm:RDLTemplate | ||
47 | - rdf:type owl:Class ; | ||
48 | - rdfs:comment """An RDL template makes reference to entities defined in at least one Reference Data Library. | ||
49 | -Note. This does not in itself mean that the template has roles constrained to RDL classes. The reference to RDL content may be embedded in the intended use of the template; or in the expansion rule of the template, as given according to ISO 15926-7. | ||
50 | -Note. Any RDL template should be defined as a template specialization of a base template.""" ; | ||
51 | - rdfs:label "CoreTemplate" ; | ||
52 | - rdfs:subClassOf iso-tm:Template . | ||
53 | - | ||
54 | -iso-tm:RDLTemplateStatement | ||
55 | - rdf:type owl:Class ; | ||
56 | - rdfs:comment "An RDLtemplateStatement is an instance of an RDL template. See the definition of RDLTemplate." ; | ||
57 | - rdfs:label "RDLTemplateStatement" ; | ||
58 | - rdfs:subClassOf iso-tm:BaseTemplateStatement . | ||
59 | - | ||
60 | -iso-tm:RDLcoreTemplate | ||
61 | - rdf:type owl:Class ; | ||
62 | - rdfs:comment "An RDLcoreTemplate is an RDL template for references to RDL content are restricted to core (highly generic, not industry specific) RDL entities." ; | ||
63 | - rdfs:label "RDLcoreTemplate" ; | ||
64 | - rdfs:subClassOf iso-tm:RDLTemplate ; | ||
65 | - owl:disjointWith iso-tm:RDLindustryTemplate . | ||
66 | - | ||
67 | -iso-tm:RDLcoreTemplateStatement | ||
68 | - rdf:type owl:Class ; | ||
69 | - rdfs:label "RDLcoreTemplateStatement" ; | ||
70 | - rdfs:subClassOf iso-tm:RDLTemplateStatement . | ||
71 | - | ||
72 | -iso-tm:RDLindustryTemplate | ||
73 | - rdf:type owl:Class ; | ||
74 | - rdfs:comment "An RDL industry template is an RDL template which makes some reference to industry-specific RDL entities." ; | ||
75 | - rdfs:label "RDLindustryTemplate" ; | ||
76 | - rdfs:subClassOf iso-tm:RDLTemplate . | ||
77 | - | ||
78 | -iso-tm:RDLindustryTemplateStatement | ||
79 | - rdf:type owl:Class ; | ||
80 | - rdfs:label "RDLindustryTemplateStatement" ; | ||
81 | - rdfs:subClassOf iso-tm:RDLTemplateStatement . | ||
82 | - | ||
83 | -iso-tm:Template | ||
84 | - rdf:type owl:Class ; | ||
85 | - rdfs:comment "A Template is a predicate defined according to ISO 15926-7 template signature specification requirements. For this OWL representation, the transparent OWL 2 punning mechanism is relied upon for treating templates, which are really classes, as individuals. The individuals in this class are punned templates." ; | ||
86 | - rdfs:label "Template" . | ||
87 | - | ||
88 | -iso-tm:TemplateDescription | ||
89 | - rdf:type owl:Class ; | ||
90 | - rdfs:label "TemplateDescription" ; | ||
91 | - rdfs:subClassOf iso-tm:MetaTemplateStatement ; | ||
92 | - rdfs:subClassOf | ||
93 | - [ rdf:type owl:Class ; | ||
94 | - owl:intersectionOf ([ rdf:type owl:Restriction ; | ||
95 | - owl:allValuesFrom xsd:positiveInteger ; | ||
96 | - owl:onProperty iso-tm:valNumberOfRoles | ||
97 | - ] [ rdf:type owl:Restriction ; | ||
98 | - owl:onDataRange xsd:positiveInteger ; | ||
99 | - owl:onProperty iso-tm:valNumberOfRoles ; | ||
100 | - owl:qualifiedCardinality | ||
101 | - "1"^^xsd:nonNegativeInteger | ||
102 | - ]) | ||
103 | - ] ; | ||
104 | - rdfs:subClassOf | ||
105 | - [ rdf:type owl:Class ; | ||
106 | - owl:intersectionOf ([ rdf:type owl:Restriction ; | ||
107 | - owl:allValuesFrom iso-tm:Template ; | ||
108 | - owl:onProperty iso-tm:hasTemplate | ||
109 | - ] [ rdf:type owl:Restriction ; | ||
110 | - owl:onClass iso-tm:Template ; | ||
111 | - owl:onProperty iso-tm:hasTemplate ; | ||
112 | - owl:qualifiedCardinality | ||
113 | - "1"^^xsd:nonNegativeInteger | ||
114 | - ]) | ||
115 | - ] . | ||
116 | - | ||
117 | -iso-tm:TemplateRole | ||
118 | - rdf:type owl:Class ; | ||
119 | - rdfs:comment "A TemplateRole is a role defined according to ISO 15926-7 template signature specification requirements. For this OWL representation, the transparent OWL 2 punning mechanism is relied upon for treating template roles, which are really relations, as individuals. The individuals in this class are punned template roles." ; | ||
120 | - rdfs:label "TemplateRole" . | ||
121 | - | ||
122 | -iso-tm:TemplateRoleDescription | ||
123 | - rdf:type owl:Class ; | ||
124 | - rdfs:label "TemplateRoleDescription" ; | ||
125 | - rdfs:subClassOf iso-tm:MetaTemplateStatement ; | ||
126 | - rdfs:subClassOf | ||
127 | - [ rdf:type owl:Class ; | ||
128 | - owl:intersectionOf ([ rdf:type owl:Restriction ; | ||
129 | - owl:allValuesFrom iso-tm:Template ; | ||
130 | - owl:onProperty iso-tm:hasTemplate | ||
131 | - ] [ rdf:type owl:Restriction ; | ||
132 | - owl:onClass iso-tm:Template ; | ||
133 | - owl:onProperty iso-tm:hasTemplate ; | ||
134 | - owl:qualifiedCardinality | ||
135 | - "1"^^xsd:nonNegativeInteger | ||
136 | - ]) | ||
137 | - ] ; | ||
138 | - rdfs:subClassOf | ||
139 | - [ rdf:type owl:Class ; | ||
140 | - owl:intersectionOf ([ rdf:type owl:Restriction ; | ||
141 | - owl:allValuesFrom xsd:integer ; | ||
142 | - owl:onProperty iso-tm:valRoleIndex | ||
143 | - ] [ rdf:type owl:Restriction ; | ||
144 | - owl:onDataRange xsd:integer ; | ||
145 | - owl:onProperty iso-tm:valRoleIndex ; | ||
146 | - owl:qualifiedCardinality | ||
147 | - "1"^^xsd:nonNegativeInteger | ||
148 | - ]) | ||
149 | - ] ; | ||
150 | - rdfs:subClassOf | ||
151 | - [ rdf:type owl:Class ; | ||
152 | - owl:intersectionOf ([ rdf:type owl:Restriction ; | ||
153 | - owl:allValuesFrom <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model#Class> ; | ||
154 | - owl:onProperty iso-tm:hasRoleFillerType | ||
155 | - ] [ rdf:type owl:Restriction ; | ||
156 | - owl:onClass <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model#Class> ; | ||
157 | - owl:onProperty iso-tm:hasRoleFillerType ; | ||
158 | - owl:qualifiedCardinality | ||
159 | - "1"^^xsd:nonNegativeInteger | ||
160 | - ]) | ||
161 | - ] ; | ||
162 | - rdfs:subClassOf | ||
163 | - [ rdf:type owl:Class ; | ||
164 | - owl:intersectionOf ([ rdf:type owl:Restriction ; | ||
165 | - owl:allValuesFrom iso-tm:TemplateRole ; | ||
166 | - owl:onProperty iso-tm:hasRole | ||
167 | - ] [ rdf:type owl:Restriction ; | ||
168 | - owl:onClass iso-tm:TemplateRole ; | ||
169 | - owl:onProperty iso-tm:hasRole ; | ||
170 | - owl:qualifiedCardinality | ||
171 | - "1"^^xsd:nonNegativeInteger | ||
172 | - ]) | ||
173 | - ] . | ||
174 | - | ||
175 | -iso-tm:TemplateSpecialization | ||
176 | - rdf:type owl:Class ; | ||
177 | - rdfs:label "TemplateSpecialization" ; | ||
178 | - rdfs:subClassOf iso-tm:MetaTemplateStatement ; | ||
179 | - rdfs:subClassOf | ||
180 | - [ rdf:type owl:Class ; | ||
181 | - owl:intersectionOf ([ rdf:type owl:Restriction ; | ||
182 | - owl:allValuesFrom iso-tm:Template ; | ||
183 | - owl:onProperty iso-tm:hasSuperTemplate | ||
184 | - ] [ rdf:type owl:Restriction ; | ||
185 | - owl:onClass iso-tm:Template ; | ||
186 | - owl:onProperty iso-tm:hasSuperTemplate ; | ||
187 | - owl:qualifiedCardinality | ||
188 | - "1"^^xsd:nonNegativeInteger | ||
189 | - ]) | ||
190 | - ] ; | ||
191 | - rdfs:subClassOf | ||
192 | - [ rdf:type owl:Class ; | ||
193 | - owl:intersectionOf ([ rdf:type owl:Restriction ; | ||
194 | - owl:allValuesFrom iso-tm:Template ; | ||
195 | - owl:onProperty iso-tm:hasSubTemplate | ||
196 | - ] [ rdf:type owl:Restriction ; | ||
197 | - owl:onClass iso-tm:Template ; | ||
198 | - owl:onProperty iso-tm:hasSubTemplate ; | ||
199 | - owl:qualifiedCardinality | ||
200 | - "1"^^xsd:nonNegativeInteger | ||
201 | - ]) | ||
202 | - ] . | ||
203 | - | ||
204 | -iso-tm:TemplateStatement | ||
205 | - rdf:type owl:Class ; | ||
206 | - rdfs:comment "A template statement is an instance of a template. Example: Given a template F with signature specifying the roles R1, R2 of types, resp., T1, T2. If a and b are individuals, then F(a,b) is a template statement." ; | ||
207 | - rdfs:label "TemplateStatement" ; | ||
208 | - owl:equivalentClass | ||
209 | - [ rdf:type owl:Class ; | ||
210 | - owl:unionOf (iso-tm:BaseTemplateStatement iso-tm:MetaTemplateStatement) | ||
211 | - ] . | ||
212 | - | ||
213 | -iso-tm:hasBaseTemplateObjectRoleFiller | ||
214 | - rdf:type owl:ObjectProperty ; | ||
215 | - rdfs:comment "This is a super-property for properties used in ordinary template statements, used to carry data (and not for characterizing templates themselves). A \"content\" template may not refer to templates or template roles themselves: Therefore the range of this property is dm:Thing." ; | ||
216 | - rdfs:label "hasBaseTemplateObjectRoleFiller" ; | ||
217 | - rdfs:range <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model#Thing> ; | ||
218 | - rdfs:subPropertyOf iso-tm:hasObjectRoleFiller . | ||
219 | - | ||
220 | -iso-tm:hasMetaTemplateObjectRoleFiller | ||
221 | - rdf:type owl:ObjectProperty ; | ||
222 | - rdfs:comment "This property is a super-property for properties used in meta-template statements, i.e., properties used to characterize templates." ; | ||
223 | - rdfs:label "hasMetaTemplateObjectRoleFiller" ; | ||
224 | - rdfs:subPropertyOf iso-tm:hasObjectRoleFiller . | ||
225 | - | ||
226 | -iso-tm:hasObjectRoleFiller | ||
227 | - rdf:type owl:ObjectProperty ; | ||
228 | - rdfs:label "hasObjectRoleFiller" . | ||
229 | - | ||
230 | -iso-tm:hasRole | ||
231 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
232 | - rdfs:comment "Used in meta-template TemplateRoleDescription to indicate which role is being described." ; | ||
233 | - rdfs:domain iso-tm:TemplateRoleDescription ; | ||
234 | - rdfs:label "role" ; | ||
235 | - rdfs:range iso-tm:TemplateRole ; | ||
236 | - rdfs:subPropertyOf iso-tm:hasMetaTemplateObjectRoleFiller . | ||
237 | - | ||
238 | -iso-tm:hasRoleFillerType | ||
239 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
240 | - rdfs:comment "Used in meta-template TemplateRoleDescription to indicate which class any role-filler needs to belong to. That is, this property records the type constraint on individuals filling this role." ; | ||
241 | - rdfs:domain iso-tm:TemplateRoleDescription ; | ||
242 | - rdfs:label "type" ; | ||
243 | - rdfs:range <http://standards.iso.org/iso/ts/15926/-8/ed-1/tech/reference-data/data-model#Class> ; | ||
244 | - rdfs:subPropertyOf iso-tm:hasMetaTemplateObjectRoleFiller . | ||
245 | - | ||
246 | -iso-tm:hasSubTemplate | ||
247 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
248 | - rdfs:comment "Used in meta-template TemplateSpecialization to indicate which template is the sub-template in a specialization relationship. Use this property to indicate the template which is more constrained than its supertemplate." ; | ||
249 | - rdfs:domain iso-tm:TemplateSpecialization ; | ||
250 | - rdfs:label "hasSubTemplate" ; | ||
251 | - rdfs:range iso-tm:Template ; | ||
252 | - rdfs:subPropertyOf iso-tm:hasMetaTemplateObjectRoleFiller . | ||
253 | - | ||
254 | -iso-tm:hasSuperTemplate | ||
255 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
256 | - rdfs:comment "Used in meta-template TemplateSpecialization to indicate which template is the super-template in a specialization relationship. Use this property to indicate the template which is less constrained than its subtemplate." ; | ||
257 | - rdfs:domain iso-tm:TemplateSpecialization ; | ||
258 | - rdfs:label "hasSuperTemplate" ; | ||
259 | - rdfs:range iso-tm:Template ; | ||
260 | - rdfs:subPropertyOf iso-tm:hasMetaTemplateObjectRoleFiller . | ||
261 | - | ||
262 | -iso-tm:hasTemplate | ||
263 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
264 | - rdfs:comment "Used in meta-templates TemplateDescription and TemplateRoleDescription to record which template a statement applies to: which template is being described." ; | ||
265 | - rdfs:domain | ||
266 | - [ rdf:type owl:Class ; | ||
267 | - owl:unionOf (iso-tm:TemplateDescription iso-tm:TemplateRoleDescription) | ||
268 | - ] ; | ||
269 | - rdfs:label "isAboutTemplate" ; | ||
270 | - rdfs:range iso-tm:Template ; | ||
271 | - rdfs:subPropertyOf iso-tm:hasMetaTemplateObjectRoleFiller . | ||
272 | - | ||
273 | -iso-tm:valBaseTemplateDataRoleFiller | ||
274 | - rdf:type owl:DatatypeProperty ; | ||
275 | - rdfs:label "valBaseTemplateDataRoleFiller" ; | ||
276 | - rdfs:subPropertyOf iso-tm:valDataRoleFiller . | ||
277 | - | ||
278 | -iso-tm:valDataRoleFiller | ||
279 | - rdf:type owl:DatatypeProperty ; | ||
280 | - rdfs:label "valDataRoleFiller" . | ||
281 | - | ||
282 | -iso-tm:valMetaTemplateDataRoleFiller | ||
283 | - rdf:type owl:DatatypeProperty ; | ||
284 | - rdfs:label "valMetaTemplateDataRoleFiller" ; | ||
285 | - rdfs:subPropertyOf iso-tm:valDataRoleFiller . | ||
286 | - | ||
287 | -iso-tm:valNumberOfRoles | ||
288 | - rdf:type owl:DatatypeProperty ; | ||
289 | - rdfs:comment "Used in meta-template TemplateDescription to say how many roles a template is defined to have." ; | ||
290 | - rdfs:label "numberOfRoles" ; | ||
291 | - rdfs:range xsd:int ; | ||
292 | - rdfs:subPropertyOf iso-tm:valMetaTemplateDataRoleFiller . | ||
293 | - | ||
294 | -iso-tm:valRoleIndex | ||
295 | - rdf:type owl:DatatypeProperty ; | ||
296 | - rdfs:comment "Used in meta-template TemplateRoleDescription to record the position of a role in a template." ; | ||
297 | - rdfs:label "positionInTemplate" ; | ||
298 | - rdfs:range xsd:int ; | ||
299 | - rdfs:subPropertyOf iso-tm:valMetaTemplateDataRoleFiller . | ||
300 | - | ||
301 | -[] rdf:type owl:AllDisjointClasses ; | ||
302 | - owl:members (iso-tm:Template iso-tm:TemplateRole iso-tm:TemplateStatement) . | ||
303 | - | ||
304 | -[] rdf:type owl:AllDisjointClasses ; | ||
305 | - owl:members (iso-tm:TemplateDescription iso-tm:TemplateRoleDescription iso-tm:TemplateSpecialization) . |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
www.reportinghub.no/swp/swon.ui.ttl
deleted
100644 → 0
1 | -# baseURI: http://uispin.org/swon | ||
2 | -# imports: http://uispin.org/ui | ||
3 | - | ||
4 | -@prefix arg: <http://spinrdf.org/arg#> . | ||
5 | -@prefix let: <http://uispin.org/let#> . | ||
6 | -@prefix letrs: <http://uispin.org/letrs#> . | ||
7 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | -@prefix sp: <http://spinrdf.org/sp#> . | ||
11 | -@prefix spif: <http://spinrdf.org/spif#> . | ||
12 | -@prefix spin: <http://spinrdf.org/spin#> . | ||
13 | -@prefix spl: <http://spinrdf.org/spl#> . | ||
14 | -@prefix spr: <http://spinrdf.org/spr#> . | ||
15 | -@prefix swon: <http://uispin.org/swon#> . | ||
16 | -@prefix ui: <http://uispin.org/ui#> . | ||
17 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
18 | - | ||
19 | -arg:labelFunction | ||
20 | - rdf:type rdf:Property ; | ||
21 | - rdfs:label "label function"^^xsd:string ; | ||
22 | - rdfs:subPropertyOf sp:arg . | ||
23 | - | ||
24 | -arg:name | ||
25 | - rdf:type rdf:Property ; | ||
26 | - rdfs:label "name"^^xsd:string ; | ||
27 | - rdfs:subPropertyOf sp:arg . | ||
28 | - | ||
29 | -arg:resultSet | ||
30 | - rdf:type rdf:Property ; | ||
31 | - rdfs:label "result set"^^xsd:string ; | ||
32 | - rdfs:subPropertyOf ui:resultSet . | ||
33 | - | ||
34 | -arg:rowIndex | ||
35 | - rdf:type rdf:Property ; | ||
36 | - rdfs:label "row index"^^xsd:string ; | ||
37 | - rdfs:subPropertyOf sp:arg . | ||
38 | - | ||
39 | -arg:value | ||
40 | - rdf:type rdf:Property ; | ||
41 | - rdfs:label "value"^^xsd:string ; | ||
42 | - rdfs:subPropertyOf sp:arg . | ||
43 | - | ||
44 | -<http://uispin.org/swon> | ||
45 | - rdf:type owl:Ontology ; | ||
46 | - rdfs:comment "A library of SWP elements for creating JSON text output."^^xsd:string ; | ||
47 | - owl:imports <http://uispin.org/ui> ; | ||
48 | - owl:versionInfo "0.1.0"^^xsd:string . | ||
49 | - | ||
50 | -swon:Elements | ||
51 | - rdf:type ui:NodeClass ; | ||
52 | - rdfs:comment "Abstract superclass of the JSON elements."^^xsd:string ; | ||
53 | - rdfs:label "JSON Elements"^^xsd:string ; | ||
54 | - rdfs:subClassOf ui:Element ; | ||
55 | - spin:constraint | ||
56 | - [ rdf:type spl:Argument ; | ||
57 | - rdfs:comment "An option function that can be used to transform the values before they are inserted into the name-value pairs. A typical use case is to use ui:label."^^xsd:string ; | ||
58 | - spl:optional "true"^^xsd:boolean ; | ||
59 | - spl:predicate arg:labelFunction ; | ||
60 | - spl:valueType spin:Function | ||
61 | - ] ; | ||
62 | - ui:abstract "true"^^xsd:boolean . | ||
63 | - | ||
64 | -swon:ForEachResultSetColumnIndex | ||
65 | - rdf:type spin:SelectTemplate ; | ||
66 | - rdfs:label "For each result set column index"^^xsd:string ; | ||
67 | - rdfs:subClassOf spin:SelectTemplates ; | ||
68 | - spin:body | ||
69 | - [ rdf:type sp:Select ; | ||
70 | - sp:resultVariables ([ sp:varName "colIndex"^^xsd:string | ||
71 | - ]) ; | ||
72 | - sp:where ([ sp:object | ||
73 | - [ sp:varName "colIndex"^^xsd:string | ||
74 | - ] ; | ||
75 | - sp:predicate spr:colIndices ; | ||
76 | - sp:subject | ||
77 | - [ sp:varName "resultSet"^^xsd:string | ||
78 | - ] | ||
79 | - ]) | ||
80 | - ] ; | ||
81 | - spin:constraint | ||
82 | - [ rdf:type spl:Argument ; | ||
83 | - rdfs:comment "The result set to get all column indices of."^^xsd:string ; | ||
84 | - spl:predicate arg:resultSet ; | ||
85 | - spl:valueType sp:Select | ||
86 | - ] . | ||
87 | - | ||
88 | -swon:ForEachResultSetRowIndex | ||
89 | - rdf:type spin:SelectTemplate ; | ||
90 | - rdfs:label "For each result set row index"^^xsd:string ; | ||
91 | - rdfs:subClassOf spin:SelectTemplates ; | ||
92 | - spin:body | ||
93 | - [ rdf:type sp:Select ; | ||
94 | - sp:resultVariables ([ sp:varName "rowIndex"^^xsd:string | ||
95 | - ]) ; | ||
96 | - sp:where ([ sp:object | ||
97 | - [ sp:varName "rowIndex"^^xsd:string | ||
98 | - ] ; | ||
99 | - sp:predicate spr:rowIndices ; | ||
100 | - sp:subject | ||
101 | - [ sp:varName "resultSet"^^xsd:string | ||
102 | - ] | ||
103 | - ]) | ||
104 | - ] ; | ||
105 | - spin:constraint | ||
106 | - [ rdf:type spl:Argument ; | ||
107 | - rdfs:comment "The result set to get all column indices of."^^xsd:string ; | ||
108 | - spl:predicate arg:resultSet ; | ||
109 | - spl:valueType sp:Select | ||
110 | - ] . | ||
111 | - | ||
112 | -swon:NameValuePair | ||
113 | - rdf:type ui:NodeClass ; | ||
114 | - rdfs:label "Name value pair"^^xsd:string ; | ||
115 | - rdfs:subClassOf swon:Elements ; | ||
116 | - spin:constraint | ||
117 | - [ rdf:type spl:Argument ; | ||
118 | - rdfs:comment "The name of the variable."^^xsd:string ; | ||
119 | - spl:predicate arg:name ; | ||
120 | - spl:valueType xsd:string | ||
121 | - ] ; | ||
122 | - spin:constraint | ||
123 | - [ rdf:type spl:Argument ; | ||
124 | - rdfs:comment "The value (will be rendered as null if unbound)."^^xsd:string ; | ||
125 | - spl:optional "true"^^xsd:boolean ; | ||
126 | - spl:predicate arg:value | ||
127 | - ] ; | ||
128 | - ui:prototype | ||
129 | - [ rdf:type ui:group ; | ||
130 | - ui:child | ||
131 | - [ rdf:type ui:TextNode ; | ||
132 | - ui:childIndex 0 ; | ||
133 | - ui:text "\""^^xsd:string | ||
134 | - ] ; | ||
135 | - ui:child | ||
136 | - [ rdf:type ui:TextNode ; | ||
137 | - ui:childIndex 1 ; | ||
138 | - ui:text [ sp:varName "name"^^xsd:string | ||
139 | - ] | ||
140 | - ] ; | ||
141 | - ui:child | ||
142 | - [ rdf:type ui:TextNode ; | ||
143 | - ui:childIndex 2 ; | ||
144 | - ui:text "\":"^^xsd:string | ||
145 | - ] ; | ||
146 | - ui:child | ||
147 | - [ rdf:type ui:if ; | ||
148 | - ui:child | ||
149 | - [ rdf:type ui:TextNode ; | ||
150 | - ui:childIndex 0 ; | ||
151 | - ui:text "\""^^xsd:string | ||
152 | - ] ; | ||
153 | - ui:child | ||
154 | - [ rdf:type ui:TextNode ; | ||
155 | - ui:childIndex 1 ; | ||
156 | - ui:text [ rdf:type ui:escapeJSON ; | ||
157 | - sp:arg1 [ rdf:type sp:if ; | ||
158 | - sp:arg1 [ rdf:type sp:bound ; | ||
159 | - sp:arg1 [ sp:varName "labelFunction"^^xsd:string | ||
160 | - ] | ||
161 | - ] ; | ||
162 | - sp:arg2 [ rdf:type spif:invoke ; | ||
163 | - sp:arg1 [ sp:varName "labelFunction"^^xsd:string | ||
164 | - ] ; | ||
165 | - sp:arg2 [ sp:varName "value"^^xsd:string | ||
166 | - ] | ||
167 | - ] ; | ||
168 | - sp:arg3 [ rdf:type xsd:string ; | ||
169 | - sp:arg1 [ sp:varName "value"^^xsd:string | ||
170 | - ] | ||
171 | - ] | ||
172 | - ] | ||
173 | - ] | ||
174 | - ] ; | ||
175 | - ui:child | ||
176 | - [ rdf:type ui:TextNode ; | ||
177 | - ui:childIndex 2 ; | ||
178 | - ui:text "\""^^xsd:string | ||
179 | - ] ; | ||
180 | - ui:childIndex 3 ; | ||
181 | - ui:condition | ||
182 | - [ rdf:type sp:bound ; | ||
183 | - sp:arg1 [ sp:varName "value"^^xsd:string | ||
184 | - ] | ||
185 | - ] | ||
186 | - ] ; | ||
187 | - ui:child | ||
188 | - [ rdf:type ui:else ; | ||
189 | - ui:child | ||
190 | - [ rdf:type ui:TextNode ; | ||
191 | - ui:childIndex 0 ; | ||
192 | - ui:text "null"^^xsd:string | ||
193 | - ] ; | ||
194 | - ui:childIndex 4 | ||
195 | - ] | ||
196 | - ] . | ||
197 | - | ||
198 | -swon:RSArray | ||
199 | - rdf:type ui:NodeClass ; | ||
200 | - rdfs:comment "Creates a simple JSON array with all values from the first column of a given result set, e.g. ['A','B','C']."^^xsd:string ; | ||
201 | - rdfs:label "RS Array"^^xsd:string ; | ||
202 | - rdfs:subClassOf swon:Elements ; | ||
203 | - spin:constraint | ||
204 | - [ rdf:type spl:Argument ; | ||
205 | - rdfs:comment "The result set to walk through."^^xsd:string ; | ||
206 | - spl:predicate arg:resultSet ; | ||
207 | - spl:valueType sp:Select | ||
208 | - ] ; | ||
209 | - ui:prototype | ||
210 | - [ rdf:type ui:call ; | ||
211 | - arg:resultSet | ||
212 | - [ sp:varName "resultSet"^^xsd:string | ||
213 | - ] ; | ||
214 | - ui:child | ||
215 | - [ rdf:type ui:TextNode ; | ||
216 | - ui:childIndex 0 ; | ||
217 | - ui:text "["^^xsd:string | ||
218 | - ] ; | ||
219 | - ui:child | ||
220 | - [ rdf:type ui:forEach ; | ||
221 | - ui:child | ||
222 | - [ rdf:type ui:group ; | ||
223 | - let:value | ||
224 | - [ rdf:type spr:cell ; | ||
225 | - sp:arg1 [ sp:varName "resultSet"^^xsd:string | ||
226 | - ] ; | ||
227 | - sp:arg2 [ sp:varName "rowIndex"^^xsd:string | ||
228 | - ] ; | ||
229 | - sp:arg3 0 | ||
230 | - ] ; | ||
231 | - ui:child | ||
232 | - [ rdf:type ui:TextNode ; | ||
233 | - ui:childIndex 0 ; | ||
234 | - ui:text "\""^^xsd:string | ||
235 | - ] ; | ||
236 | - ui:child | ||
237 | - [ rdf:type ui:TextNode ; | ||
238 | - ui:childIndex 1 ; | ||
239 | - ui:text [ rdf:type ui:escapeJSON ; | ||
240 | - sp:arg1 [ rdf:type sp:if ; | ||
241 | - sp:arg1 [ rdf:type sp:bound ; | ||
242 | - sp:arg1 [ sp:varName "labelFunction"^^xsd:string | ||
243 | - ] | ||
244 | - ] ; | ||
245 | - sp:arg2 [ rdf:type spif:invoke ; | ||
246 | - sp:arg1 [ sp:varName "labelFunction"^^xsd:string | ||
247 | - ] ; | ||
248 | - sp:arg2 [ sp:varName "value"^^xsd:string | ||
249 | - ] | ||
250 | - ] ; | ||
251 | - sp:arg3 [ rdf:type xsd:string ; | ||
252 | - sp:arg1 [ sp:varName "value"^^xsd:string | ||
253 | - ] | ||
254 | - ] | ||
255 | - ] | ||
256 | - ] | ||
257 | - ] ; | ||
258 | - ui:child | ||
259 | - [ rdf:type ui:TextNode ; | ||
260 | - ui:childIndex 2 ; | ||
261 | - ui:text "\""^^xsd:string | ||
262 | - ] ; | ||
263 | - ui:childIndex 0 | ||
264 | - ] ; | ||
265 | - ui:childIndex 1 ; | ||
266 | - ui:resultSet | ||
267 | - [ sp:varName "rs"^^xsd:string | ||
268 | - ] ; | ||
269 | - ui:separator ","^^xsd:string | ||
270 | - ] ; | ||
271 | - ui:child | ||
272 | - [ rdf:type ui:TextNode ; | ||
273 | - ui:childIndex 2 ; | ||
274 | - ui:text "]"^^xsd:string | ||
275 | - ] ; | ||
276 | - ui:template swon:ForEachResultSetRowIndex | ||
277 | - ] . | ||
278 | - | ||
279 | -swon:RSObject | ||
280 | - rdf:type ui:NodeClass ; | ||
281 | - rdfs:label "RS object"^^xsd:string ; | ||
282 | - rdfs:subClassOf swon:Elements ; | ||
283 | - spin:constraint | ||
284 | - [ rdf:type spl:Argument ; | ||
285 | - rdfs:comment "The result set containing the name-value pairs - the names are the result variables. If the optional row index isn't present, the system will use the first row."^^xsd:string ; | ||
286 | - spl:predicate arg:resultSet ; | ||
287 | - spl:valueType sp:Select | ||
288 | - ] ; | ||
289 | - spin:constraint | ||
290 | - [ rdf:type spl:Argument ; | ||
291 | - rdfs:comment "The (optional) row index to select the object."^^xsd:string ; | ||
292 | - spl:optional "true"^^xsd:boolean ; | ||
293 | - spl:predicate arg:rowIndex ; | ||
294 | - spl:valueType xsd:integer | ||
295 | - ] ; | ||
296 | - ui:prototype | ||
297 | - [ rdf:type ui:call ; | ||
298 | - arg:resultSet | ||
299 | - [ sp:varName "resultSet"^^xsd:string | ||
300 | - ] ; | ||
301 | - ui:child | ||
302 | - [ rdf:type ui:TextNode ; | ||
303 | - ui:childIndex 0 ; | ||
304 | - ui:text "{"^^xsd:string | ||
305 | - ] ; | ||
306 | - ui:child | ||
307 | - [ rdf:type ui:forEach ; | ||
308 | - ui:child | ||
309 | - [ rdf:type swon:NameValuePair ; | ||
310 | - arg:labelFunction | ||
311 | - [ sp:varName "labelFunction"^^xsd:string | ||
312 | - ] ; | ||
313 | - arg:name | ||
314 | - [ rdf:type spr:colName ; | ||
315 | - sp:arg1 [ sp:varName "resultSet"^^xsd:string | ||
316 | - ] ; | ||
317 | - sp:arg2 [ sp:varName "colIndex"^^xsd:string | ||
318 | - ] | ||
319 | - ] ; | ||
320 | - arg:value | ||
321 | - [ rdf:type spr:cell ; | ||
322 | - sp:arg1 [ sp:varName "resultSet"^^xsd:string | ||
323 | - ] ; | ||
324 | - sp:arg2 [ rdf:type sp:coalesce ; | ||
325 | - sp:arg1 [ sp:varName "rowIndex"^^xsd:string | ||
326 | - ] ; | ||
327 | - sp:arg2 0 | ||
328 | - ] ; | ||
329 | - sp:arg3 [ sp:varName "colIndex"^^xsd:string | ||
330 | - ] | ||
331 | - ] ; | ||
332 | - ui:childIndex 0 | ||
333 | - ] ; | ||
334 | - ui:childIndex 1 ; | ||
335 | - ui:resultSet | ||
336 | - [ sp:varName "rs"^^xsd:string | ||
337 | - ] ; | ||
338 | - ui:separator ","^^xsd:string | ||
339 | - ] ; | ||
340 | - ui:child | ||
341 | - [ rdf:type ui:TextNode ; | ||
342 | - ui:childIndex 2 ; | ||
343 | - ui:text "}"^^xsd:string | ||
344 | - ] ; | ||
345 | - ui:template swon:ForEachResultSetColumnIndex | ||
346 | - ] . | ||
347 | - | ||
348 | -swon:RSObjectArray | ||
349 | - rdf:type ui:NodeClass ; | ||
350 | - rdfs:comment "Creates a JSON array from a result set where each item is a swon:RSObject, with fields for each variable."^^xsd:string ; | ||
351 | - rdfs:label "RS object array"^^xsd:string ; | ||
352 | - rdfs:subClassOf swon:Elements ; | ||
353 | - spin:constraint | ||
354 | - [ rdf:type spl:Argument ; | ||
355 | - rdfs:comment "The result set delivering the rows."^^xsd:string ; | ||
356 | - spl:predicate arg:resultSet ; | ||
357 | - spl:valueType sp:Select | ||
358 | - ] ; | ||
359 | - ui:prototype | ||
360 | - [ rdf:type ui:call ; | ||
361 | - arg:resultSet | ||
362 | - [ sp:varName "resultSet"^^xsd:string | ||
363 | - ] ; | ||
364 | - ui:child | ||
365 | - [ rdf:type ui:TextNode ; | ||
366 | - ui:childIndex 0 ; | ||
367 | - ui:text "["^^xsd:string | ||
368 | - ] ; | ||
369 | - ui:child | ||
370 | - [ rdf:type ui:forEach ; | ||
371 | - ui:child | ||
372 | - [ rdf:type swon:RSObject ; | ||
373 | - arg:labelFunction | ||
374 | - [ sp:varName "labelFunction"^^xsd:string | ||
375 | - ] ; | ||
376 | - arg:resultSet | ||
377 | - [ sp:varName "resultSet"^^xsd:string | ||
378 | - ] ; | ||
379 | - arg:rowIndex | ||
380 | - [ sp:varName "rowIndex"^^xsd:string | ||
381 | - ] ; | ||
382 | - ui:childIndex 0 | ||
383 | - ] ; | ||
384 | - ui:childIndex 1 ; | ||
385 | - ui:resultSet | ||
386 | - [ sp:varName "rs"^^xsd:string | ||
387 | - ] ; | ||
388 | - ui:separator ","^^xsd:string | ||
389 | - ] ; | ||
390 | - ui:child | ||
391 | - [ rdf:type ui:TextNode ; | ||
392 | - ui:childIndex 2 ; | ||
393 | - ui:text "]"^^xsd:string | ||
394 | - ] ; | ||
395 | - ui:template swon:ForEachResultSetRowIndex | ||
396 | - ] . |
-
Please register or login to post a comment