David Leal

More work on productVolume transform

1 -# Saved by TopBraid on Tue Oct 11 17:12:54 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/geography 1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/geography
3 # imports: http://www.reportinghub.no/ep/schema/1.0/core 2 # imports: http://www.reportinghub.no/ep/schema/1.0/core
4 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 3 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
...@@ -12,20 +11,20 @@ ...@@ -12,20 +11,20 @@
12 11
13 <http://www.reportinghub.no/ep/schema/1.0/geography> 12 <http://www.reportinghub.no/ep/schema/1.0/geography>
14 rdf:type owl:Ontology ; 13 rdf:type owl:Ontology ;
15 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> ; 14 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ;
16 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
17 16
18 ep-geo:Country 17 ep-geo:Country
19 - rdf:type ep-fac:ProductionFacilityType , owl:Class ; 18 + rdf:type owl:Class , ep-fac:ProductionFacilityType ;
20 rdfs:label "country"^^xsd:string ; 19 rdfs:label "country"^^xsd:string ;
21 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 20 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
22 - owl:disjointWith ep-geo:County , ep-geo:State . 21 + owl:disjointWith ep-geo:State , ep-geo:County .
23 22
24 ep-geo:County 23 ep-geo:County
25 - rdf:type ep-fac:ProductionFacilityType , owl:Class ; 24 + rdf:type owl:Class , ep-fac:ProductionFacilityType ;
26 rdfs:label "county"^^xsd:string ; 25 rdfs:label "county"^^xsd:string ;
27 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 26 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
28 - owl:disjointWith ep-geo:State , ep-geo:Country . 27 + owl:disjointWith ep-geo:Country , ep-geo:State .
29 28
30 ep-geo:PartOfTheSurfaceOfTheEarth 29 ep-geo:PartOfTheSurfaceOfTheEarth
31 rdf:type owl:Class ; 30 rdf:type owl:Class ;
...@@ -33,13 +32,19 @@ ep-geo:PartOfTheSurfaceOfTheEarth ...@@ -33,13 +32,19 @@ ep-geo:PartOfTheSurfaceOfTheEarth
33 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . 32 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
34 33
35 ep-geo:State 34 ep-geo:State
36 - rdf:type ep-fac:ProductionFacilityType , owl:Class ; 35 + rdf:type owl:Class , ep-fac:ProductionFacilityType ;
37 rdfs:label "state"^^xsd:string ; 36 rdfs:label "state"^^xsd:string ;
38 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; 37 rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ;
39 - owl:disjointWith ep-geo:County , ep-geo:Country . 38 + owl:disjointWith ep-geo:Country , ep-geo:County .
40 39
41 ep-geo:locatedWithin 40 ep-geo:locatedWithin
42 rdf:type owl:ObjectProperty ; 41 rdf:type owl:ObjectProperty ;
43 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; 42 rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
44 rdfs:label "located within"^^xsd:string ; 43 rdfs:label "located within"^^xsd:string ;
45 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . 44 rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
45 +
46 +ep-geo:nominallyLocatedAt
47 + rdf:type owl:ObjectProperty ;
48 + rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ;
49 + rdfs:label "nominally located at"^^xsd:string ;
50 + rdfs:range <http://www.reportinghub.no/ep/schema/core#PhysicalObject> .
......
1 -# Saved by TopBraid on Fri Oct 14 18:36:52 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report 1 # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-report
3 # imports: http://www.reportinghub.no/ep/schema/1.0/report 2 # imports: http://www.reportinghub.no/ep/schema/1.0/report
4 # imports: http://www.reportinghub.no/np/schema/1.0/npd 3 # imports: http://www.reportinghub.no/np/schema/1.0/npd
...@@ -11,9 +10,14 @@ ...@@ -11,9 +10,14 @@
11 10
12 <http://www.reportinghub.no/ep/schema/1.0/production-report> 11 <http://www.reportinghub.no/ep/schema/1.0/production-report>
13 rdf:type owl:Ontology ; 12 rdf:type owl:Ontology ;
14 - owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/report> ; 13 + owl:imports <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ;
15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
16 15
16 +ep-prodreport:DailyProductVolumeReport
17 + rdf:type owl:Class , ep-prodreport:ProductVolumeReportPeriodType ;
18 + rdfs:label "daily product volume report"^^xsd:string ;
19 + rdfs:subClassOf ep-prodreport:DailyProductionReport .
20 +
17 ep-prodreport:DailyProductionReport 21 ep-prodreport:DailyProductionReport
18 rdf:type owl:Class ; 22 rdf:type owl:Class ;
19 rdfs:label "Daily Production Report"^^xsd:string ; 23 rdfs:label "Daily Production Report"^^xsd:string ;
...@@ -24,6 +28,16 @@ ep-prodreport:MonthlyProductionReport ...@@ -24,6 +28,16 @@ ep-prodreport:MonthlyProductionReport
24 rdfs:label "Monthly Production Report"^^xsd:string ; 28 rdfs:label "Monthly Production Report"^^xsd:string ;
25 rdfs:subClassOf ep-prodreport:ProductionReport . 29 rdfs:subClassOf ep-prodreport:ProductionReport .
26 30
31 +ep-prodreport:ProductVolumeReport
32 + rdf:type owl:Class ;
33 + rdfs:label "product volume report"^^xsd:string ;
34 + rdfs:subClassOf ep-prodreport:ProductionReport .
35 +
36 +ep-prodreport:ProductVolumeReportPeriodType
37 + rdf:type rdfs:Class ;
38 + rdfs:label "product volume report period type"^^xsd:string ;
39 + rdfs:subClassOf owl:Class .
40 +
27 ep-prodreport:ProductionReport 41 ep-prodreport:ProductionReport
28 rdf:type owl:Class ; 42 rdf:type owl:Class ;
29 rdfs:label "Production Report"^^xsd:string ; 43 rdfs:label "Production Report"^^xsd:string ;
...@@ -34,8 +48,8 @@ ep-prodreport:ReportAliasIdentifier ...@@ -34,8 +48,8 @@ ep-prodreport:ReportAliasIdentifier
34 rdfs:subClassOf owl:Thing ; 48 rdfs:subClassOf owl:Thing ;
35 rdfs:subClassOf 49 rdfs:subClassOf
36 [ rdf:type owl:Restriction ; 50 [ rdf:type owl:Restriction ;
37 - owl:minCardinality "1"^^xsd:nonNegativeInteger ; 51 + owl:cardinality "1"^^xsd:nonNegativeInteger ;
38 - owl:onProperty ep-prodreport:aliasName 52 + owl:onProperty ep-prodreport:isAliasFor
39 ] ; 53 ] ;
40 rdfs:subClassOf 54 rdfs:subClassOf
41 [ rdf:type owl:Restriction ; 55 [ rdf:type owl:Restriction ;
...@@ -44,10 +58,15 @@ ep-prodreport:ReportAliasIdentifier ...@@ -44,10 +58,15 @@ ep-prodreport:ReportAliasIdentifier
44 ] ; 58 ] ;
45 rdfs:subClassOf 59 rdfs:subClassOf
46 [ rdf:type owl:Restriction ; 60 [ rdf:type owl:Restriction ;
47 - owl:cardinality "1"^^xsd:nonNegativeInteger ; 61 + owl:minCardinality "1"^^xsd:nonNegativeInteger ;
48 - owl:onProperty ep-prodreport:isAliasFor 62 + owl:onProperty ep-prodreport:aliasName
49 ] . 63 ] .
50 64
65 +ep-prodreport:ReportType
66 + rdf:type rdfs:Class ;
67 + rdfs:label "report type"^^xsd:string ;
68 + rdfs:subClassOf owl:Class .
69 +
51 ep-prodreport:aliasName 70 ep-prodreport:aliasName
52 rdf:type owl:DatatypeProperty ; 71 rdf:type owl:DatatypeProperty ;
53 rdfs:range xsd:string . 72 rdfs:range xsd:string .
......
1 +# Saved by TopBraid on Sat Oct 08 12:56:31 BST 2011
2 +# baseURI: null
3 +
4 +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
5 +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> .
6 +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> .
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 visual: <http://topbraid.org/visual#> .
11 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
12 +
13 +[] rdf:type inference:Configuration ;
14 + composite:child
15 + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
16 + composite:index "0"^^xsd:int
17 + ] .