Showing
8 changed files
with
98 additions
and
121 deletions
| ... | @@ -3,7 +3,6 @@ | ... | @@ -3,7 +3,6 @@ |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
| 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
| 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/well | 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/well |
| 6 | -# imports: http://www.w3.org/2004/02/skos/core | ||
| 7 | 6 | ||
| 8 | @prefix ep-actpurp: <http://www.reportinghub.no/ep/schema/activity-purpose#> . | 7 | @prefix ep-actpurp: <http://www.reportinghub.no/ep/schema/activity-purpose#> . |
| 9 | @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . | 8 | @prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . |
| ... | @@ -17,7 +16,7 @@ | ... | @@ -17,7 +16,7 @@ |
| 17 | 16 | ||
| 18 | <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> | 17 | <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> |
| 19 | rdf:type owl:Ontology ; | 18 | rdf:type owl:Ontology ; |
| 20 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.w3.org/2004/02/skos/core> ; | 19 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/well> ; |
| 21 | owl:versionInfo "0.1.0"^^xsd:string . | 20 | owl:versionInfo "0.1.0"^^xsd:string . |
| 22 | 21 | ||
| 23 | ep-actpurp:Completion--bopwellheadequipment | 22 | ep-actpurp:Completion--bopwellheadequipment | ... | ... |
| 1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity | 1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/activity |
| 2 | -# imports: http://www.linkedmodel.org/1.1/schema/ordered | ||
| 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/equipment | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
| 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
| ... | @@ -18,7 +17,7 @@ | ... | @@ -18,7 +17,7 @@ |
| 18 | 17 | ||
| 19 | <http://www.reportinghub.no/ep/schema/1.0/activity> | 18 | <http://www.reportinghub.no/ep/schema/1.0/activity> |
| 20 | rdf:type owl:Ontology ; | 19 | rdf:type owl:Ontology ; |
| 21 | - owl:imports <http://www.linkedmodel.org/1.1/schema/ordered> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> ; | 20 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/material> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> ; |
| 22 | owl:versionInfo "0.1.0"^^xsd:string . | 21 | owl:versionInfo "0.1.0"^^xsd:string . |
| 23 | 22 | ||
| 24 | ep-activity:Activity | 23 | ep-activity:Activity |
| ... | @@ -35,26 +34,6 @@ ep-activity:Activity | ... | @@ -35,26 +34,6 @@ ep-activity:Activity |
| 35 | [ rdf:type owl:Restriction ; | 34 | [ rdf:type owl:Restriction ; |
| 36 | owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | 35 | owl:maxCardinality "1"^^xsd:nonNegativeInteger ; |
| 37 | owl:onProperty ep-activity:startedAt | 36 | owl:onProperty ep-activity:startedAt |
| 38 | - ] ; | ||
| 39 | - rdfs:subClassOf | ||
| 40 | - [ rdf:type owl:Restriction ; | ||
| 41 | - owl:allValuesFrom ep-activity:Activity ; | ||
| 42 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#after> | ||
| 43 | - ] ; | ||
| 44 | - rdfs:subClassOf | ||
| 45 | - [ rdf:type owl:Restriction ; | ||
| 46 | - owl:allValuesFrom ep-activity:Activity ; | ||
| 47 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#before> | ||
| 48 | - ] ; | ||
| 49 | - rdfs:subClassOf | ||
| 50 | - [ rdf:type owl:Restriction ; | ||
| 51 | - owl:allValuesFrom ep-activity:Activity ; | ||
| 52 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#during> | ||
| 53 | - ] ; | ||
| 54 | - rdfs:subClassOf | ||
| 55 | - [ rdf:type owl:Restriction ; | ||
| 56 | - owl:allValuesFrom ep-activity:Activity ; | ||
| 57 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#overlaps> | ||
| 58 | ] . | 37 | ] . |
| 59 | 38 | ||
| 60 | ep-activity:ActivitySuccessType | 39 | ep-activity:ActivitySuccessType |
| ... | @@ -77,21 +56,6 @@ ep-activity:DailyDrillingActivity | ... | @@ -77,21 +56,6 @@ ep-activity:DailyDrillingActivity |
| 77 | [ rdf:type owl:Restriction ; | 56 | [ rdf:type owl:Restriction ; |
| 78 | owl:allValuesFrom ep-activity:Activity ; | 57 | owl:allValuesFrom ep-activity:Activity ; |
| 79 | owl:onProperty ep-core:hasPart | 58 | owl:onProperty ep-core:hasPart |
| 80 | - ] ; | ||
| 81 | - rdfs:subClassOf | ||
| 82 | - [ rdf:type owl:Restriction ; | ||
| 83 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
| 84 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | ||
| 85 | - ] ; | ||
| 86 | - rdfs:subClassOf | ||
| 87 | - [ rdf:type owl:Restriction ; | ||
| 88 | - owl:allValuesFrom ep-activity:DrillingActivity ; | ||
| 89 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | ||
| 90 | - ] ; | ||
| 91 | - rdfs:subClassOf | ||
| 92 | - [ rdf:type owl:Restriction ; | ||
| 93 | - owl:allValuesFrom ep-activity:DrillingActivity ; | ||
| 94 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> | ||
| 95 | ] . | 59 | ] . |
| 96 | 60 | ||
| 97 | ep-activity:DailyDrillingActivityToStatus | 61 | ep-activity:DailyDrillingActivityToStatus |
| ... | @@ -108,21 +72,6 @@ ep-activity:DailyDrillingActivityToStatus | ... | @@ -108,21 +72,6 @@ ep-activity:DailyDrillingActivityToStatus |
| 108 | [ rdf:type owl:Restriction ; | 72 | [ rdf:type owl:Restriction ; |
| 109 | owl:allValuesFrom ep-activity:Activity ; | 73 | owl:allValuesFrom ep-activity:Activity ; |
| 110 | owl:onProperty ep-core:hasPart | 74 | owl:onProperty ep-core:hasPart |
| 111 | - ] ; | ||
| 112 | - rdfs:subClassOf | ||
| 113 | - [ rdf:type owl:Restriction ; | ||
| 114 | - owl:maxCardinality "1"^^xsd:nonNegativeInteger ; | ||
| 115 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | ||
| 116 | - ] ; | ||
| 117 | - rdfs:subClassOf | ||
| 118 | - [ rdf:type owl:Restriction ; | ||
| 119 | - owl:allValuesFrom ep-activity:DrillingActivity ; | ||
| 120 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#first> | ||
| 121 | - ] ; | ||
| 122 | - rdfs:subClassOf | ||
| 123 | - [ rdf:type owl:Restriction ; | ||
| 124 | - owl:allValuesFrom ep-activity:DrillingActivity ; | ||
| 125 | - owl:onProperty <http://www.linkedmodel.org/schema/ordered#last> | ||
| 126 | ] . | 75 | ] . |
| 127 | 76 | ||
| 128 | ep-activity:DailyProductionActivity | 77 | ep-activity:DailyProductionActivity | ... | ... |
| ... | @@ -16,7 +16,7 @@ | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | ||
| 17 | ep-org:CateringCrew | 17 | ep-org:CateringCrew |
| 18 | rdf:type ep-org:CrewType , owl:Class ; | 18 | rdf:type ep-org:CrewType , owl:Class ; |
| 19 | - rdfs:comment "A count that is the number of persons from the catering contractor spending the night at the installation."^^xsd:string ; | 19 | + rdfs:comment "the persons from the catering contractor spending the night at the installation"^^xsd:string ; |
| 20 | rdfs:label "catering crew"^^xsd:string ; | 20 | rdfs:label "catering crew"^^xsd:string ; |
| 21 | rdfs:subClassOf ep-org:Crew . | 21 | rdfs:subClassOf ep-org:Crew . |
| 22 | 22 | ||
| ... | @@ -35,7 +35,6 @@ ep-org:Company | ... | @@ -35,7 +35,6 @@ ep-org:Company |
| 35 | 35 | ||
| 36 | ep-org:ContractorCrew | 36 | ep-org:ContractorCrew |
| 37 | rdf:type ep-org:CrewType , owl:Class ; | 37 | rdf:type ep-org:CrewType , owl:Class ; |
| 38 | - rdfs:comment "A count that is the number of persons from other than operator spending the night at the installation."^^xsd:string ; | ||
| 39 | rdfs:label "contractor crew"^^xsd:string ; | 38 | rdfs:label "contractor crew"^^xsd:string ; |
| 40 | rdfs:subClassOf ep-org:Crew ; | 39 | rdfs:subClassOf ep-org:Crew ; |
| 41 | ep-core:seeReferenceData | 40 | ep-core:seeReferenceData |
| ... | @@ -50,19 +49,18 @@ ep-org:Crew | ... | @@ -50,19 +49,18 @@ ep-org:Crew |
| 50 | 49 | ||
| 51 | ep-org:CrewType | 50 | ep-org:CrewType |
| 52 | rdf:type rdfs:Class ; | 51 | rdf:type rdfs:Class ; |
| 53 | - rdfs:comment "The type of personnel grouping."^^xsd:string ; | 52 | + rdfs:comment "the type of personnel grouping"^^xsd:string ; |
| 54 | rdfs:label "crew type"^^xsd:string ; | 53 | rdfs:label "crew type"^^xsd:string ; |
| 55 | rdfs:subClassOf owl:Class . | 54 | rdfs:subClassOf owl:Class . |
| 56 | 55 | ||
| 57 | ep-org:DayVisitorCrew | 56 | ep-org:DayVisitorCrew |
| 58 | rdf:type ep-org:CrewType , owl:Class ; | 57 | rdf:type ep-org:CrewType , owl:Class ; |
| 59 | - rdfs:comment "A count that is the number of persons visiting the installation but not spending the night at the installation."^^xsd:string ; | 58 | + rdfs:comment "the persons visiting the installation but not spending the night at the installation"^^xsd:string ; |
| 60 | rdfs:label "day visitor crew"^^xsd:string ; | 59 | rdfs:label "day visitor crew"^^xsd:string ; |
| 61 | rdfs:subClassOf ep-org:Crew . | 60 | rdfs:subClassOf ep-org:Crew . |
| 62 | 61 | ||
| 63 | ep-org:DrillingContractCrew | 62 | ep-org:DrillingContractCrew |
| 64 | rdf:type ep-org:CrewType , owl:Class ; | 63 | rdf:type ep-org:CrewType , owl:Class ; |
| 65 | - rdfs:comment "A count that is the number of persons from the drilling contractor spending the night at the installation."^^xsd:string ; | ||
| 66 | rdfs:label "drilling contract crew"^^xsd:string ; | 64 | rdfs:label "drilling contract crew"^^xsd:string ; |
| 67 | rdfs:subClassOf ep-org:Crew ; | 65 | rdfs:subClassOf ep-org:Crew ; |
| 68 | ep-core:seeReferenceData | 66 | ep-core:seeReferenceData |
| ... | @@ -70,25 +68,24 @@ ep-org:DrillingContractCrew | ... | @@ -70,25 +68,24 @@ ep-org:DrillingContractCrew |
| 70 | 68 | ||
| 71 | ep-org:NonOperatorOvernightVisitorCrew | 69 | ep-org:NonOperatorOvernightVisitorCrew |
| 72 | rdf:type ep-org:CrewType , owl:Class ; | 70 | rdf:type ep-org:CrewType , owl:Class ; |
| 73 | - rdfs:comment "A count that is the number of persons from an unknown source normally not working on the installation, but spending the night there."^^xsd:string ; | 71 | + rdfs:comment "the persons from an unknown source normally not working on the installation, but spending the night there"^^xsd:string ; |
| 74 | rdfs:label "non-operator overnight visitor crew"^^xsd:string ; | 72 | rdfs:label "non-operator overnight visitor crew"^^xsd:string ; |
| 75 | rdfs:subClassOf ep-org:Crew . | 73 | rdfs:subClassOf ep-org:Crew . |
| 76 | 74 | ||
| 77 | ep-org:OperatorNormalCrew | 75 | ep-org:OperatorNormalCrew |
| 78 | rdf:type ep-org:CrewType , owl:Class ; | 76 | rdf:type ep-org:CrewType , owl:Class ; |
| 79 | - rdfs:comment "A count that is the number of persons from the operator normally working on the installation and spending the night there."^^xsd:string ; | 77 | + rdfs:comment "the persons from the operator normally working on the installation and spending the night there"^^xsd:string ; |
| 80 | rdfs:label "operator normal crew"^^xsd:string ; | 78 | rdfs:label "operator normal crew"^^xsd:string ; |
| 81 | rdfs:subClassOf ep-org:Crew . | 79 | rdfs:subClassOf ep-org:Crew . |
| 82 | 80 | ||
| 83 | ep-org:OperatorOvernightVisitorCrew | 81 | ep-org:OperatorOvernightVisitorCrew |
| 84 | rdf:type ep-org:CrewType , owl:Class ; | 82 | rdf:type ep-org:CrewType , owl:Class ; |
| 85 | - rdfs:comment "A count that is the number of persons from the operator normally not working on the installation, but spending the night there."^^xsd:string ; | 83 | + rdfs:comment "the persons from the operator normally not working on the installation, but spending the night there"^^xsd:string ; |
| 86 | rdfs:label "operator overnight visitor crew"^^xsd:string ; | 84 | rdfs:label "operator overnight visitor crew"^^xsd:string ; |
| 87 | rdfs:subClassOf ep-org:Crew . | 85 | rdfs:subClassOf ep-org:Crew . |
| 88 | 86 | ||
| 89 | ep-org:Organization | 87 | ep-org:Organization |
| 90 | rdf:type owl:Class ; | 88 | rdf:type owl:Class ; |
| 91 | - rdfs:comment "physical object that is an organization"^^xsd:string ; | ||
| 92 | rdfs:label "organization"^^xsd:string ; | 89 | rdfs:label "organization"^^xsd:string ; |
| 93 | rdfs:subClassOf ep-core:PhysicalObject , ep-org:PersonOrOrganization ; | 90 | rdfs:subClassOf ep-core:PhysicalObject , ep-org:PersonOrOrganization ; |
| 94 | ep-core:seeReferenceData | 91 | ep-core:seeReferenceData |
| ... | @@ -128,7 +125,7 @@ ep-org:PersonRoleType | ... | @@ -128,7 +125,7 @@ ep-org:PersonRoleType |
| 128 | 125 | ||
| 129 | ep-org:TotalCrew | 126 | ep-org:TotalCrew |
| 130 | rdf:type ep-org:CrewType , owl:Class ; | 127 | rdf:type ep-org:CrewType , owl:Class ; |
| 131 | - rdfs:comment "A count of the total personnel on board."^^xsd:string ; | 128 | + rdfs:comment "all personnel on board"^^xsd:string ; |
| 132 | rdfs:label "total crew"^^xsd:string ; | 129 | rdfs:label "total crew"^^xsd:string ; |
| 133 | rdfs:subClassOf ep-org:Crew . | 130 | rdfs:subClassOf ep-org:Crew . |
| 134 | 131 | ... | ... |
| ... | @@ -380,8 +380,7 @@ npd:companyShortName | ... | @@ -380,8 +380,7 @@ npd:companyShortName |
| 380 | rdfs:comment "the NPD company short name"^^xsd:string ; | 380 | rdfs:comment "the NPD company short name"^^xsd:string ; |
| 381 | rdfs:domain <http://www.reportinghub.no/ep/schema/organization#Company> ; | 381 | rdfs:domain <http://www.reportinghub.no/ep/schema/organization#Company> ; |
| 382 | rdfs:label "company short name"@en ; | 382 | rdfs:label "company short name"@en ; |
| 383 | - rdfs:range xsd:string ; | 383 | + rdfs:range xsd:string . |
| 384 | - rdfs:subPropertyOf rdfs:label . | ||
| 385 | 384 | ||
| 386 | npd:currentActivityStatus | 385 | npd:currentActivityStatus |
| 387 | rdf:type owl:DatatypeProperty ; | 386 | rdf:type owl:DatatypeProperty ; |
| ... | @@ -570,8 +569,7 @@ npd:name | ... | @@ -570,8 +569,7 @@ npd:name |
| 570 | rdfs:comment "the NPD name"^^xsd:string ; | 569 | rdfs:comment "the NPD name"^^xsd:string ; |
| 571 | rdfs:domain npd:Individual ; | 570 | rdfs:domain npd:Individual ; |
| 572 | rdfs:label "NPD name"@en ; | 571 | rdfs:label "NPD name"@en ; |
| 573 | - rdfs:range xsd:string ; | 572 | + rdfs:range xsd:string . |
| 574 | - rdfs:subPropertyOf rdfs:label . | ||
| 575 | 573 | ||
| 576 | npd:organisationNumber | 574 | npd:organisationNumber |
| 577 | rdf:type owl:DatatypeProperty ; | 575 | rdf:type owl:DatatypeProperty ; | ... | ... |
| ... | @@ -26,32 +26,18 @@ pca-rdl:ERH00001 | ... | @@ -26,32 +26,18 @@ pca-rdl:ERH00001 |
| 26 | pca-rdl:hasIdPCA "ERH00001"^^xsd:string . | 26 | pca-rdl:hasIdPCA "ERH00001"^^xsd:string . |
| 27 | 27 | ||
| 28 | pca-rdl:ERH00002 | 28 | pca-rdl:ERH00002 |
| 29 | - rdf:type p2:Thing , owl:Class ; | 29 | + rdf:type p2:ClassOfClass , owl:Class ; |
| 30 | rdfs:subClassOf owl:Thing ; | 30 | rdfs:subClassOf owl:Thing ; |
| 31 | pca-rdl:hasDesignation | 31 | pca-rdl:hasDesignation |
| 32 | - "EPIM REPORTINGHUB NPD FACT REFERENCE DATA THING"^^xsd:string ; | 32 | + "EPIM REPORTINGHUB NPD REFERENCE DATA CLASS"^^xsd:string ; |
| 33 | pca-rdl:hasIdPCA "ERH00002"^^xsd:string . | 33 | pca-rdl:hasIdPCA "ERH00002"^^xsd:string . |
| 34 | 34 | ||
| 35 | pca-rdl:ERH00003 | 35 | pca-rdl:ERH00003 |
| 36 | rdf:type p2:ClassOfClass , owl:Class ; | 36 | rdf:type p2:ClassOfClass , owl:Class ; |
| 37 | rdfs:subClassOf owl:Thing ; | 37 | rdfs:subClassOf owl:Thing ; |
| 38 | pca-rdl:hasDesignation | 38 | pca-rdl:hasDesignation |
| 39 | - "EPIM REPORTINGHUB NPD FACT REFERENCE DATA CLASS"^^xsd:string ; | ||
| 40 | - pca-rdl:hasIdPCA "ERH00003"^^xsd:string . | ||
| 41 | - | ||
| 42 | -pca-rdl:ERH00004 | ||
| 43 | - rdf:type p2:ClassOfClass , owl:Class ; | ||
| 44 | - rdfs:subClassOf owl:Thing ; | ||
| 45 | - pca-rdl:hasDesignation | ||
| 46 | - "EPIM REPORTINGHUB DRILLING REFERENCE DATA THING"^^xsd:string ; | ||
| 47 | - pca-rdl:hasIdPCA "ERH00004"^^xsd:string . | ||
| 48 | - | ||
| 49 | -pca-rdl:ERH00005 | ||
| 50 | - rdf:type p2:ClassOfClass , owl:Class ; | ||
| 51 | - rdfs:subClassOf owl:Thing ; | ||
| 52 | - pca-rdl:hasDesignation | ||
| 53 | "EPIM REPORTINGHUB DRILLING REFERENCE DATA CLASS"^^xsd:string ; | 39 | "EPIM REPORTINGHUB DRILLING REFERENCE DATA CLASS"^^xsd:string ; |
| 54 | - pca-rdl:hasIdPCA "ERH00005"^^xsd:string . | 40 | + pca-rdl:hasIdPCA "ERH00003"^^xsd:string . |
| 55 | 41 | ||
| 56 | <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> | 42 | <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> |
| 57 | rdf:type owl:Ontology ; | 43 | rdf:type owl:Ontology ; | ... | ... |
| 1 | # baseURI: http://www.reportinghub.no/refdata/npdfacts | 1 | # baseURI: http://www.reportinghub.no/refdata/npdfacts |
| 2 | -# imports: http://posccaesar.org/rdl | ||
| 3 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
| 4 | # imports: http://www.reportinghub.no/np/schema/1.0/npd | 3 | # imports: http://www.reportinghub.no/np/schema/1.0/npd |
| 5 | # imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD | 4 | # imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD |
| 6 | -# imports: http://www.reportinghub.no/refdata/transform/class2rd | ||
| 7 | 5 | ||
| 8 | @prefix RDL_ERHFoundationRD: <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD#> . | 6 | @prefix RDL_ERHFoundationRD: <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD#> . |
| 9 | @prefix class2rd: <http://www.reportinghub.no/refdata/transform/class2rd#> . | 7 | @prefix class2rd: <http://www.reportinghub.no/refdata/transform/class2rd#> . |
| 8 | +@prefix datprop2rd: <http://www.reportinghub.no/refdata/transform/datprop2rd#> . | ||
| 10 | @prefix npdfacts: <http://www.reportinghub.no/refdata/npdfacts#> . | 9 | @prefix npdfacts: <http://www.reportinghub.no/refdata/npdfacts#> . |
| 10 | +@prefix objprop2rd: <http://www.reportinghub.no/refdata/transform/objprop2rd#> . | ||
| 11 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 11 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 12 | +@prefix p2: <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#> . | ||
| 13 | +@prefix pca-rdl: <http://posccaesar.org/rdl/> . | ||
| 12 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 14 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 13 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 15 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 14 | @prefix sp: <http://spinrdf.org/sp#> . | 16 | @prefix sp: <http://spinrdf.org/sp#> . |
| ... | @@ -18,5 +20,4 @@ | ... | @@ -18,5 +20,4 @@ |
| 18 | 20 | ||
| 19 | <http://www.reportinghub.no/refdata/npdfacts> | 21 | <http://www.reportinghub.no/refdata/npdfacts> |
| 20 | rdf:type owl:Ontology ; | 22 | rdf:type owl:Ontology ; |
| 21 | - owl:imports <http://posccaesar.org/rdl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> , <http://www.reportinghub.no/refdata/transform/class2rd> ; | 23 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> . |
| 22 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
| 1 | SELECT DISTINCT ?RDLDesignation ?RDLDefinition ?EntityType ?CoPossessor ?ERHLocalname ?ERHOntology | 1 | SELECT DISTINCT ?RDLDesignation ?RDLDefinition ?EntityType ?CoPossessor ?ERHLocalname ?ERHOntology |
| 2 | WHERE { | 2 | WHERE { |
| 3 | ?s pca-rdl:hasDesignation ?RDLDesignation . | 3 | ?s pca-rdl:hasDesignation ?RDLDesignation . |
| 4 | - ?s ISO-15926-2_2003:hasClassOfPossessor ?CoPossessor . | 4 | + ?s p2:hasClassOfPossessor ?CoPossessor . |
| 5 | ?s pca-rdl:hasDefinition ?RDLDefinition . | 5 | ?s pca-rdl:hasDefinition ?RDLDefinition . |
| 6 | ?s rdf:type ?p2 . | 6 | ?s rdf:type ?p2 . |
| 7 | BIND (afn:localname(?p2) AS ?EntityType ) | 7 | BIND (afn:localname(?p2) AS ?EntityType ) |
| 8 | OPTIONAL { | 8 | OPTIONAL { |
| 9 | - ?spec ISO-15926-2_2003:hasSubclass ?s . | 9 | + ?spec p2:hasSubclass ?s . |
| 10 | - ?spec ISO-15926-2_2003:hasSuperclass ?sup . | 10 | + ?spec p2:hasSuperclass ?sup . |
| 11 | ?sup pca-rdl:hasDesignation ?RDLSuperclass . | 11 | ?sup pca-rdl:hasDesignation ?RDLSuperclass . |
| 12 | ?sup pca-rdl:hasIdPCA ?RDLSuperclassId . | 12 | ?sup pca-rdl:hasIdPCA ?RDLSuperclassId . |
| 13 | } | 13 | } | ... | ... |
| ... | @@ -2,7 +2,6 @@ | ... | @@ -2,7 +2,6 @@ |
| 2 | # imports: http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003 | 2 | # imports: http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003 |
| 3 | # imports: http://rds.posccaesar.org/2008/06/OWL/RDL-annotations | 3 | # imports: http://rds.posccaesar.org/2008/06/OWL/RDL-annotations |
| 4 | # imports: http://spinrdf.org/spin | 4 | # imports: http://spinrdf.org/spin |
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/drilling | ||
| 6 | # imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD | 5 | # imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD |
| 7 | 6 | ||
| 8 | @prefix : <http://www.reportinghub.no/refdata/transform/class2rd#> . | 7 | @prefix : <http://www.reportinghub.no/refdata/transform/class2rd#> . |
| ... | @@ -23,7 +22,7 @@ | ... | @@ -23,7 +22,7 @@ |
| 23 | 22 | ||
| 24 | <http://www.reportinghub.no/refdata/transform/class2rd> | 23 | <http://www.reportinghub.no/refdata/transform/class2rd> |
| 25 | rdf:type owl:Ontology ; | 24 | rdf:type owl:Ontology ; |
| 26 | - owl:imports <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003> , <http://rds.posccaesar.org/2008/06/OWL/RDL-annotations> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/drilling> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> ; | 25 | + owl:imports <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003> , <http://rds.posccaesar.org/2008/06/OWL/RDL-annotations> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> ; |
| 27 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 28 | 27 | ||
| 29 | rdfs:Class | 28 | rdfs:Class |
| ... | @@ -282,27 +281,10 @@ owl:Class | ... | @@ -282,27 +281,10 @@ owl:Class |
| 282 | sp:subject | 281 | sp:subject |
| 283 | [ sp:varName "thisrduri"^^xsd:string | 282 | [ sp:varName "thisrduri"^^xsd:string |
| 284 | ] | 283 | ] |
| 285 | - ] [ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | ||
| 286 | - sp:predicate rdf:type ; | ||
| 287 | - sp:subject | ||
| 288 | - [ sp:varName "clsncuri"^^xsd:string | ||
| 289 | - ] | ||
| 290 | ] [ sp:object <http://posccaesar.org/rdl/ERH00001> ; | 284 | ] [ sp:object <http://posccaesar.org/rdl/ERH00001> ; |
| 291 | - sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | ||
| 292 | - sp:subject | ||
| 293 | - [ sp:varName "clsncuri"^^xsd:string | ||
| 294 | - ] | ||
| 295 | - ] [ sp:object | ||
| 296 | - [ sp:varName "thisrduri"^^xsd:string | ||
| 297 | - ] ; | ||
| 298 | - sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified> ; | ||
| 299 | - sp:subject | ||
| 300 | - [ sp:varName "clsncuri"^^xsd:string | ||
| 301 | - ] | ||
| 302 | - ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
| 303 | sp:predicate rdf:type ; | 285 | sp:predicate rdf:type ; |
| 304 | sp:subject | 286 | sp:subject |
| 305 | - [ sp:varName "clsncuri"^^xsd:string | 287 | + [ sp:varName "thisrduri"^^xsd:string |
| 306 | ] | 288 | ] |
| 307 | ]) ; | 289 | ]) ; |
| 308 | sp:where ([ rdf:type sp:NotExists ; | 290 | sp:where ([ rdf:type sp:NotExists ; |
| ... | @@ -357,7 +339,9 @@ owl:Class | ... | @@ -357,7 +339,9 @@ owl:Class |
| 357 | ] [ rdf:type sp:Bind ; | 339 | ] [ rdf:type sp:Bind ; |
| 358 | sp:expression | 340 | sp:expression |
| 359 | [ rdf:type fn:upper-case ; | 341 | [ rdf:type fn:upper-case ; |
| 360 | - sp:arg1 [ sp:varName "label"^^xsd:string | 342 | + sp:arg1 [ rdf:type xsd:string ; |
| 343 | + sp:arg1 [ sp:varName "label"^^xsd:string | ||
| 344 | + ] | ||
| 361 | ] | 345 | ] |
| 362 | ] ; | 346 | ] ; |
| 363 | sp:variable | 347 | sp:variable |
| ... | @@ -411,14 +395,6 @@ owl:Class | ... | @@ -411,14 +395,6 @@ owl:Class |
| 411 | ] ; | 395 | ] ; |
| 412 | sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ; | 396 | sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ; |
| 413 | sp:subject spin:_this | 397 | sp:subject spin:_this |
| 414 | - ] [ rdf:type sp:Filter ; | ||
| 415 | - sp:expression | ||
| 416 | - [ rdf:type sp:eq ; | ||
| 417 | - sp:arg1 [ rdf:type afn:namespace ; | ||
| 418 | - sp:arg1 spin:_this | ||
| 419 | - ] ; | ||
| 420 | - sp:arg2 "http://www.reportinghub.no/np/schema/npd#" | ||
| 421 | - ] | ||
| 422 | ] [ rdf:type sp:Bind ; | 398 | ] [ rdf:type sp:Bind ; |
| 423 | sp:expression | 399 | sp:expression |
| 424 | [ rdf:type smf:buildURI ; | 400 | [ rdf:type smf:buildURI ; |
| ... | @@ -518,6 +494,11 @@ owl:Class | ... | @@ -518,6 +494,11 @@ owl:Class |
| 518 | ] ; | 494 | ] ; |
| 519 | sp:predicate owl:sameAs ; | 495 | sp:predicate owl:sameAs ; |
| 520 | sp:subject spin:_this | 496 | sp:subject spin:_this |
| 497 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
| 498 | + sp:predicate rdf:type ; | ||
| 499 | + sp:subject | ||
| 500 | + [ sp:varName "thisrduri"^^xsd:string | ||
| 501 | + ] | ||
| 521 | ] [ rdf:type sp:Optional ; | 502 | ] [ rdf:type sp:Optional ; |
| 522 | sp:elements ([ rdf:type sp:TriplePath ; | 503 | sp:elements ([ rdf:type sp:TriplePath ; |
| 523 | sp:object <http://www.reportinghub.no/ep/schema/activity#Activity> ; | 504 | sp:object <http://www.reportinghub.no/ep/schema/activity#Activity> ; |
| ... | @@ -714,4 +695,70 @@ owl:Class | ... | @@ -714,4 +695,70 @@ owl:Class |
| 714 | ] | 695 | ] |
| 715 | ]) | 696 | ]) |
| 716 | ]) | 697 | ]) |
| 698 | + ] ; | ||
| 699 | + spin:rule | ||
| 700 | + [ rdf:type sp:Construct ; | ||
| 701 | + rdfs:comment "0300 Handle classification of RD classes as NPD"^^xsd:string ; | ||
| 702 | + sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | ||
| 703 | + sp:predicate rdf:type ; | ||
| 704 | + sp:subject | ||
| 705 | + [ sp:varName "clsnuri"^^xsd:string | ||
| 706 | + ] | ||
| 707 | + ] [ sp:object | ||
| 708 | + [ sp:varName "thisrduri"^^xsd:string | ||
| 709 | + ] ; | ||
| 710 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified> ; | ||
| 711 | + sp:subject | ||
| 712 | + [ sp:varName "clsnuri"^^xsd:string | ||
| 713 | + ] | ||
| 714 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00002> ; | ||
| 715 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | ||
| 716 | + sp:subject | ||
| 717 | + [ sp:varName "clsnuri"^^xsd:string | ||
| 718 | + ] | ||
| 719 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
| 720 | + sp:predicate rdf:type ; | ||
| 721 | + sp:subject | ||
| 722 | + [ sp:varName "clsnuri"^^xsd:string | ||
| 723 | + ] | ||
| 724 | + ]) ; | ||
| 725 | + sp:where ([ sp:object | ||
| 726 | + [ sp:varName "thisrduri"^^xsd:string | ||
| 727 | + ] ; | ||
| 728 | + sp:predicate owl:sameAs ; | ||
| 729 | + sp:subject spin:_this | ||
| 730 | + ] [ rdf:type sp:Filter ; | ||
| 731 | + sp:expression | ||
| 732 | + [ rdf:type sp:eq ; | ||
| 733 | + sp:arg1 [ rdf:type afn:namespace ; | ||
| 734 | + sp:arg1 spin:_this | ||
| 735 | + ] ; | ||
| 736 | + sp:arg2 "http://www.reportinghub.no/np/schema/npd#" | ||
| 737 | + ] | ||
| 738 | + ] [ rdf:type sp:Bind ; | ||
| 739 | + sp:expression | ||
| 740 | + [ rdf:type spif:generateUUID | ||
| 741 | + ] ; | ||
| 742 | + sp:variable | ||
| 743 | + [ sp:varName "uuid"^^xsd:string | ||
| 744 | + ] | ||
| 745 | + ] [ rdf:type sp:Bind ; | ||
| 746 | + sp:expression | ||
| 747 | + [ rdf:type fn:concat ; | ||
| 748 | + sp:arg1 "ERH" ; | ||
| 749 | + sp:arg2 [ sp:varName "uuid"^^xsd:string | ||
| 750 | + ] | ||
| 751 | + ] ; | ||
| 752 | + sp:variable | ||
| 753 | + [ sp:varName "pcaid"^^xsd:string | ||
| 754 | + ] | ||
| 755 | + ] [ rdf:type sp:Bind ; | ||
| 756 | + sp:expression | ||
| 757 | + [ rdf:type spif:buildURI ; | ||
| 758 | + sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>" | ||
| 759 | + ] ; | ||
| 760 | + sp:variable | ||
| 761 | + [ sp:varName "clsnuri"^^xsd:string | ||
| 762 | + ] | ||
| 763 | + ]) | ||
| 717 | ] . | 764 | ] . | ... | ... |
-
Please register or login to post a comment