Tore Christiansen

Added User Fields and Free Text examples

This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
...@@ -4,15 +4,77 @@ ...@@ -4,15 +4,77 @@
4 @prefix ILAP: <http://data.posccaesar.org/ilap/> . 4 @prefix ILAP: <http://data.posccaesar.org/ilap/> .
5 @prefix SCCS: <http://data.posccaesar.org/ilap/refdata/NORSOK/Z-014/SCCSCoding/> . 5 @prefix SCCS: <http://data.posccaesar.org/ilap/refdata/NORSOK/Z-014/SCCSCoding/> .
6 @prefix UC1: <http://data.posccaesar.org/Data/UC1/> . 6 @prefix UC1: <http://data.posccaesar.org/Data/UC1/> .
7 +@prefix USERFIELDS: <http://data.posccaesar.org/ilap/userfields/> .
7 @prefix owl: <http://www.w3.org/2002/07/owl#> . 8 @prefix owl: <http://www.w3.org/2002/07/owl#> .
8 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 9 @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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
11 +@prefix userfields: <http://data.posccaesar.org/ilap/userfields#> .
10 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 12 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
11 13
12 UC1: rdf:type owl:Ontology ; 14 UC1: rdf:type owl:Ontology ;
13 owl:imports <http://data.posccaesar.org/NCS_PLANNING/> ; 15 owl:imports <http://data.posccaesar.org/NCS_PLANNING/> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 16 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 17
18 +UC1:AreaCode
19 + rdf:type USERFIELDS:FreeTextField ;
20 + rdfs:label "Area code"^^xsd:string ;
21 + USERFIELDS:hasDescription
22 + "Area Code AA"^^xsd:string ;
23 + USERFIELDS:hasShort "AC AA"^^xsd:string .
24 +
25 +UC1:CostCenter
26 + rdf:type USERFIELDS:FreeTextField ;
27 + rdfs:label "Cost center"^^xsd:string ;
28 + USERFIELDS:hasDescription
29 + "COST CENTER B"^^xsd:string ;
30 + USERFIELDS:hasShort "CCB"^^xsd:string .
31 +
32 +UC1:Index_Code_Value
33 + rdf:type USERFIELDS:FreeTextField ;
34 + rdfs:label "Index Code" ;
35 + USERFIELDS:hasDescription
36 + "Index A"^^xsd:string ;
37 + USERFIELDS:hasShort "EXA"^^xsd:string .
38 +
39 +UC1:Quality_Descriptor_1
40 + rdf:type USERFIELDS:FreeTextField ;
41 + rdfs:label "Quality Level" ;
42 + USERFIELDS:hasDescription
43 + "High Quality"^^xsd:string ;
44 + USERFIELDS:hasShort "HQ"^^xsd:string .
45 +
46 +UC1:ShutdownPeriod_1
47 + rdf:type USERFIELDS:FreeTextField ;
48 + rdfs:label "Shutdown period 1"^^xsd:string ;
49 + USERFIELDS:hasDescription
50 + "Shutdown period 2016"^^xsd:string ;
51 + USERFIELDS:hasShort "SD2016"^^xsd:string .
52 +
53 +UC1:UserField_for_PlannedActivity_2
54 + rdf:type USERFIELDS:UserField ;
55 + rdfs:label "User Field for Planned Activity 2" ;
56 + USERFIELDS:hasIndexCode
57 + UC1:Index_Code_Value ;
58 + USERFIELDS:hasQuality
59 + UC1:Quality_Descriptor_1 ;
60 + USERFIELDS:hasShutDownPeriod
61 + UC1:ShutdownPeriod_1 .
62 +
63 +UC1:UserField_for_Scheduled_Activity_1
64 + rdf:type USERFIELDS:UserField ;
65 + rdfs:label "User field for Scheduled Activity 1"^^xsd:string ;
66 + USERFIELDS:hasAreaCode
67 + UC1:AreaCode ;
68 + USERFIELDS:hasCostCenter
69 + UC1:CostCenter .
70 +
71 +ILAP:Activity
72 + rdfs:subClassOf
73 + [ rdf:type owl:Restriction ;
74 + owl:onProperty USERFIELDS:hasUserField ;
75 + owl:someValuesFrom USERFIELDS:UserField
76 + ] .
77 +
16 ILAP:ActivityPlan_1 78 ILAP:ActivityPlan_1
17 rdf:type ILAP:ActivityPlan ; 79 rdf:type ILAP:ActivityPlan ;
18 rdfs:label "Activity plan 1"^^xsd:string . 80 rdfs:label "Activity plan 1"^^xsd:string .
...@@ -22,7 +84,7 @@ ILAP:ActivityWBS_1 ...@@ -22,7 +84,7 @@ ILAP:ActivityWBS_1
22 rdfs:label "Activity WBS 1"^^xsd:string ; 84 rdfs:label "Activity WBS 1"^^xsd:string ;
23 ILAP:hasWBScomponent 85 ILAP:hasWBScomponent
24 SCCS:PBS_ACAA , ILAP:PBS_ACAA_1 ; 86 SCCS:PBS_ACAA , ILAP:PBS_ACAA_1 ;
25 - ILAP:hasWBSphase ILAP:SAB_51_1 , SCCS:SAB_51 ; 87 + ILAP:hasWBSphase SCCS:SAB_51 , ILAP:SAB_51_1 ;
26 ILAP:hasWBSresource SCCS:COR_KD , ILAP:COR_KD_1 . 88 ILAP:hasWBSresource SCCS:COR_KD , ILAP:COR_KD_1 .
27 89
28 ILAP:COR_KD_1 90 ILAP:COR_KD_1
...@@ -90,7 +152,8 @@ ILAP:PlannedActivity_2 ...@@ -90,7 +152,8 @@ ILAP:PlannedActivity_2
90 "55000"^^xsd:float ; 152 "55000"^^xsd:float ;
91 ILAP:hasActivityWorkVolume 153 ILAP:hasActivityWorkVolume
92 "1500"^^xsd:float ; 154 "1500"^^xsd:float ;
93 - ILAP:hasUserField <http://data.posccaesar.org/ilap/USERFIELDS/hasIndexCode> , <http://data.posccaesar.org/ilap/USERFIELDS/hasExecutionMilestone> . 155 + USERFIELDS:hasUserField
156 + UC1:UserField_for_PlannedActivity_2 .
94 157
95 ILAP:ProjectExecutionPlan_1 158 ILAP:ProjectExecutionPlan_1
96 rdf:type ILAP:ProjectExecutionPlan ; 159 rdf:type ILAP:ProjectExecutionPlan ;
...@@ -151,7 +214,8 @@ ILAP:SAB_51_1 ...@@ -151,7 +214,8 @@ ILAP:SAB_51_1
151 ILAP:ScheduledActivity_1 214 ILAP:ScheduledActivity_1
152 rdf:type ILAP:ScheduledActivity ; 215 rdf:type ILAP:ScheduledActivity ;
153 rdfs:label "Scheduled activity 1"^^xsd:string ; 216 rdfs:label "Scheduled activity 1"^^xsd:string ;
154 - ILAP:hasUserField <http://data.posccaesar.org/ilap/USERFIELDS/hasExecutionMilestone> . 217 + USERFIELDS:hasUserField
218 + UC1:UserField_for_Scheduled_Activity_1 .
155 219
156 ILAP:ScheduledMilestone_1 220 ILAP:ScheduledMilestone_1
157 rdf:type ILAP:ScheduledMilestone ; 221 rdf:type ILAP:ScheduledMilestone ;
...@@ -167,11 +231,7 @@ ILAP:SummerShutdown_UC1 ...@@ -167,11 +231,7 @@ ILAP:SummerShutdown_UC1
167 ILAP:hasShutdownPriority 231 ILAP:hasShutdownPriority
168 ILAP:NormalPriority ; 232 ILAP:NormalPriority ;
169 ILAP:hasShutdownType 233 ILAP:hasShutdownType
170 - ILAP:SystemShutdown , ILAP:ProductionShutdown , ILAP:ScheduledShutdown . 234 + ILAP:SystemShutdown , ILAP:ScheduledShutdown , ILAP:ProductionShutdown .
171 -
172 -<http://data.posccaesar.org/ilap/USERFIELDS/hasExecutionMilestone>
173 - ILAP:hasValue "Final Milestone"^^xsd:string ;
174 - ILAP:hasValueSource "Use Case 13 - Safran"^^xsd:string .
175 235
176 ILAP:UseCaseAibelToCOPNO 236 ILAP:UseCaseAibelToCOPNO
177 rdf:type ILAP:Source ; 237 rdf:type ILAP:Source ;
...@@ -216,9 +276,6 @@ ILAP:hasActivityPreviousStatus ...@@ -216,9 +276,6 @@ ILAP:hasActivityPreviousStatus
216 ILAP:hasPlanUserField 276 ILAP:hasPlanUserField
217 rdfs:domain ILAP:ProjectExecutionPlan . 277 rdfs:domain ILAP:ProjectExecutionPlan .
218 278
219 -ILAP:hasUserField
220 - rdfs:domain ILAP:Activity .
221 -
222 ILAP:hasUserFieldSource 279 ILAP:hasUserFieldSource
223 rdfs:range ILAP:UserField . 280 rdfs:range ILAP:UserField .
224 281
......
This diff is collapsed. Click to expand it.