-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinformation-object_example.json
148 lines (136 loc) · 6.01 KB
/
information-object_example.json
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
140
141
142
143
144
145
146
147
148
1. First "isAbout" relation between the InformationObject and the Object (here its the Robot IIWA_0)
{
"_id" : ObjectId("60098339f450b92f4a39b203"),
"graph" : "user",
"s" : "http://www.ease-crc.org/ont/SOMA.owl#KinoDynamicData_WGDPIFVE",
"p" : "http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#isAbout",
"p*" : [
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#isAbout",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#associatedWith"
],
"o" : "http://knowrob.org/kb/IIWA.owl#IIWA_0",
"scope" : {
"time" : {
"since" : NumberDecimal("0"),
"until" : NumberDecimal("Infinity")
}
}
}
2. "realizes" between InformationObject and the InformatinRealization
{
"_id" : ObjectId("60098339f450b92f4a39b204"),
"graph" : "user",
"s" : "http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#DigitalResource_RUONZYKI",
"p" : "http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#realizes",
"p*" : [
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#realizes",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#associatedWith",
"http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#encodes",
"http://www.w3.org/2002/07/owl#ObjectProperty",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#associatedWith"
],
"o" : "http://www.ease-crc.org/ont/SOMA.owl#KinoDynamicData_WGDPIFVE",
"scope" : {
"time" : {
"since" : NumberDecimal("0"),
"until" : NumberDecimal("Infinity")
}
}
}
3. Add the identifier to the realization:
{
"_id" : ObjectId("60098339f450b92f4a39b206"),
"graph" : "user",
"s" : "http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#DigitalResource_RUONZYKI",
"p" : "http://www.ease-crc.org/ont/SOMA.owl#hasPersistentIdentifier",
"p*" : [
"http://www.ease-crc.org/ont/SOMA.owl#hasPersistentIdentifier",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#hasDataValue"
],
"o" : "iiwa",
"scope" : {
"time" : {
"since" : NumberDecimal("0"),
"until" : NumberDecimal("Infinity")
}
}
}
4. Add the DataFormat to the realization
{
"_id" : ObjectId("60098339f450b92f4a39b208"),
"graph" : "user",
"s" : "http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#DigitalResource_RUONZYKI",
"p" : "http://www.ease-crc.org/ont/SOMA.owl#hasDataFormat",
"p*" : [
"http://www.ease-crc.org/ont/SOMA.owl#hasDataFormat",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#hasDataValue"
],
"o" : "URDF",
"scope" : {
"time" : {
"since" : NumberDecimal("0"),
"until" : NumberDecimal("Infinity")
}
}
}
==============================================
If Instantiations of Objects are of Interest:
1. Instantiate InformationObject as in https://github.com/knowrob/knowrob/blob/56d6621f58a6ec27578e85f6c36c24becadad3a4/src/model/SOMA.pl#L329
{
"_id" : ObjectId("60098339f450b92f4a39b1f9"),
"graph" : "user",
"s" : "http://www.ease-crc.org/ont/SOMA.owl#KinoDynamicData_WGDPIFVE",
"p" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"o" : "http://www.ease-crc.org/ont/SOMA.owl#KinoDynamicData",
"o*" : [
"http://www.ease-crc.org/ont/SOMA.owl#KinoDynamicData",
"http://www.ease-crc.org/ont/SOMA.owl#_:Description208",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#InformationObject",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#InformationEntity",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Entity",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#SocialObject",
"http://www.w3.org/2002/07/owl#Class",
"http://www.w3.org/2000/01/rdf-schema#Class",
"http://www.w3.org/2000/01/rdf-schema#Resource",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Object",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Entity",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description29",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description30",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description31",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description32",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description33",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description57",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description58"
],
"scope" : {
"time" : {
"since" : NumberDecimal("0"),
"until" : NumberDecimal("Infinity")
}
}
}
2. Instantiate DigitalResource as in https://github.com/knowrob/knowrob/blob/56d6621f58a6ec27578e85f6c36c24becadad3a4/src/model/SOMA.pl#L330
{
"_id" : ObjectId("60098339f450b92f4a39b1ff"),
"graph" : "user",
"s" : "http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#DigitalResource_RUONZYKI",
"p" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"o" : "http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#DigitalResource",
"o*" : [
"http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#DigitalResource",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#InformationRealization",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#InformationEntity",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Entity",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description27",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#_:Description28",
"http://www.ease-crc.org/ont/SOMA.owl#_:Description279",
"http://www.ease-crc.org/ont/SOMA.owl#_:Description280"
],
"scope" : {
"time" : {
"since" : NumberDecimal("0"),
"until" : NumberDecimal("Infinity")
}
}
}