-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUIMO.ttl
130 lines (101 loc) · 3.88 KB
/
UIMO.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
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix oa: <http://www.w3.org/ns/oa#> .
@prefix schema: <http://schema.org/> .
@prefix uimo: <https://vocab.sti2.at/uimo/> .
@prefix wasa: <https://vocab.sti2.at/wasa/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix fno: <https://w3id.org/function/ontology#> .
<https://vocab.sti2.at/uimo/> a owl:Ontology.
uimo:Intent a rdfs:Class;
rdfs:label "Intent" ;
rdfs:subClassOf schema:Intangible .
uimo:Slot a rdfs:Class;
rdfs:label "Slot";
rdfs:subClassOf schema:Intangible .
uimo:SlotSpecification a rdfs:Class;
rdfs:label "Slot Specification";
rdfs:subClassOf schema:Intangible .
uimo:RequiredSlot a rdfs:Class;
rdfs:label "RequiredSlot";
rdfs:subClassOf :Slot .
uimo:EntityTypeSlot a rdfs:Class;
rdfs:label "Entity Type Slot";
rdfs:subClassOf uimo:Slot .
uimo:RegExSlot a rdfs:Class;
rdfs:label "Regular Expression Slot";
rdfs:comment "A slot whose value is defined by a regular expression";
rdfs:subClassOf uimo:Slot .
uimo:FunctionalSlot a rdfs:Class;
rdfs:label "Functional slot";
rdfs:comment "A slot whose value is defined by function represented with the FnO ontology.";
rdfs:subClassOf uimo:Slot .
uimo:ContextualSlot a rdfs:Class;
rdfs:label "Contextual Slot";
rdfs:subClassOf uimo:Slot .
uimo:Utterance a rdfs:Class;
rdfs:label "Utterance";
rdfs:subClassOf schema:CreativeWork .
## imported for the UIMO SHACL shape
oa:Annotation a rdfs:Class;
rdfs:label "Annotation" .
oa:SpecificResource a rdfs:Class;
rdfs:label "Specific Resource" .
## properties
uimo:slot a rdf:Property;
rdfs:label "slot";
schema:domainIncludes uimo:Intent;
schema:rangeIncludes uimo:Slot .
uimo:exampleUtterance a rdf:Property;
rdfs:label "example utterance";
schema:domainIncludes uimo:Intent;
schema:rangeIncludes uimo:Utterance .
uimo:fulfillment a rdf:Property;
rdfs:label "fulfillment";
schema:domainIncludes uimo:Intent;
schema:rangeIncludes schema:Action .
uimo:action a rdf:Property;
schema:domainIncludes uimo:SlotSpecification;
schema:rangeIncludes schema:Action .
uimo:valueType a rdf:Property;
rdfs:label "value type";
schema:domainIncludes uimo:Slot;
schema:domainIncludes uimo:SlotSpecification;
schema:rangeIncludes schema:Class .
uimo:propertyPath a rdf:Property;
rdfs:label "property path";
schema:domainIncludes uimo:Slot;
schema:rangeIncludes schema:Text .
uimo:question a rdf:Property;
rdfs:label "question";
schema:domainIncludes uimo:Slot;
schema:rangeIncludes schema:Text .
uimo:entityType a rdf:Property;
rdfs:label "entity type";
schema:domainIncludes uimo:EntityTypeSlot;
schema:rangeIncludes schema:Class .
uimo:slotSpecification a rdf:Property;
rdfs:label "slotSpecification";
schema:domainIncludes uimo:Slot;
schema:rangeIncludes uimo:SlotSpecification .
uimo:pattern a rdf:Property;
rdfs:label "pattern";
rdfs:comment "A regular expression pattern that decide if a phrase is a potential value for a regular expression slot" .
schema:domainIncludes uimo:RegExSlot;
schema:rangeIncludes schema:Text .
uimo:function a rdf:Property;
rdfs:label "pattern";
rdfs:comment "A regular expression pattern that decide if a phrase is a potential value for a regular expression slot" .
schema:domainIncludes uimo:FunctionalSlot;
schema:rangeIncludes fno:Function .
## imported for the UIMO SHACL shape
oa:hasBody a rdf:Property;
schema:domainIncludes oa:Annotation;
schema:rangeIncludes uimo:Slot .
oa:hasSource a rdf:Property;
schema:domainIncludes oa:SpecificResource;
schema:rangeIncludes uimo:Utterance .
oa:hasTarget a rdf:Property;
schema:domainIncludes oa:Annotation;
schema:rangeIncludes oa:SpecificResource .