Showing
2 changed files
with
41 additions
and
10 deletions
1 | # baseURI: http://www.reportinghub.no/ep/transform/transform-helper-schema | 1 | # baseURI: http://www.reportinghub.no/ep/transform/transform-helper-schema |
2 | +# imports: http://spinrdf.org/spin | ||
2 | # imports: http://www.epim.no/schemas/mprml/1 | 3 | # imports: http://www.epim.no/schemas/mprml/1 |
3 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity |
4 | 5 | ||
6 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
5 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
6 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
7 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
10 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
11 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
8 | @prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> . | 12 | @prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> . |
9 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 13 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
10 | 14 | ||
11 | <http://www.reportinghub.no/ep/transform/transform-helper-schema> | 15 | <http://www.reportinghub.no/ep/transform/transform-helper-schema> |
12 | rdf:type owl:Ontology ; | 16 | rdf:type owl:Ontology ; |
13 | rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ; | 17 | rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ; |
14 | - owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/activity> ; | 18 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.epim.no/schemas/mprml/1> ; |
15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 19 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
16 | 20 | ||
21 | +transhelp:buildRdlURI | ||
22 | + rdf:type spin:Function ; | ||
23 | + rdfs:label "build RDL URI"^^xsd:string ; | ||
24 | + rdfs:subClassOf spin:Functions ; | ||
25 | + spin:body | ||
26 | + [ rdf:type sp:Select ; | ||
27 | + sp:resultVariables ([ sp:varName "uri"^^xsd:string | ||
28 | + ]) ; | ||
29 | + sp:where ([ rdf:type sp:Bind ; | ||
30 | + sp:expression | ||
31 | + [ rdf:type ep-spin-lib:buildURI ; | ||
32 | + sp:arg1 "http://posccaesar.org/rdl/" ; | ||
33 | + sp:arg2 [ rdf:type ep-spin-lib:normalizeString ; | ||
34 | + sp:arg1 spin:_arg1 | ||
35 | + ] | ||
36 | + ] ; | ||
37 | + sp:variable | ||
38 | + [ sp:varName "uri"^^xsd:string | ||
39 | + ] | ||
40 | + ]) | ||
41 | + ] . | ||
42 | + | ||
17 | transhelp:derivedFrom | 43 | transhelp:derivedFrom |
18 | rdf:type owl:ObjectProperty . | 44 | rdf:type owl:ObjectProperty . |
19 | 45 | ||
20 | transhelp:facilityIdentifier | 46 | transhelp:facilityIdentifier |
21 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty . | 47 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty . |
22 | 48 | ||
23 | transhelp:forComment | 49 | transhelp:forComment |
24 | rdf:type owl:ObjectProperty ; | 50 | rdf:type owl:ObjectProperty ; |
... | @@ -29,34 +55,39 @@ transhelp:forComment | ... | @@ -29,34 +55,39 @@ transhelp:forComment |
29 | transhelp:hasDerivedText | 55 | transhelp:hasDerivedText |
30 | rdf:type owl:DatatypeProperty . | 56 | rdf:type owl:DatatypeProperty . |
31 | 57 | ||
58 | +transhelp:hasEquivalentInRDL | ||
59 | + rdf:type owl:ObjectProperty ; | ||
60 | + rdfs:comment "References the RDL class equivalent to a Thing in the EPIM ontology."^^xsd:string ; | ||
61 | + rdfs:label "has equivalent in RDL"^^xsd:string . | ||
62 | + | ||
32 | transhelp:interval | 63 | transhelp:interval |
33 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty . | 64 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty . |
34 | 65 | ||
35 | transhelp:intervalEnd | 66 | transhelp:intervalEnd |
36 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty . | 67 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty . |
37 | 68 | ||
38 | transhelp:intervalIdentifier | 69 | transhelp:intervalIdentifier |
39 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty . | 70 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty . |
40 | 71 | ||
41 | transhelp:intervalStart | 72 | transhelp:intervalStart |
42 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty . | 73 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty . |
43 | 74 | ||
44 | transhelp:label | 75 | transhelp:label |
45 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty . | 76 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty . |
46 | 77 | ||
47 | transhelp:mapsTo | 78 | transhelp:mapsTo |
48 | rdf:type rdf:Property . | 79 | rdf:type rdf:Property . |
49 | 80 | ||
50 | transhelp:materialClassMapsToMPREnumeration | 81 | transhelp:materialClassMapsToMPREnumeration |
51 | - rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ; | 82 | + rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ; |
52 | rdfs:label "material class maps to MPR enumeration"^^xsd:string ; | 83 | rdfs:label "material class maps to MPR enumeration"^^xsd:string ; |
53 | rdfs:subPropertyOf transhelp:mapsTo . | 84 | rdfs:subPropertyOf transhelp:mapsTo . |
54 | 85 | ||
55 | transhelp:nominalInstant | 86 | transhelp:nominalInstant |
56 | - rdf:type owl:DatatypeProperty , owl:FunctionalProperty . | 87 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty . |
57 | 88 | ||
58 | transhelp:quantitySpaceMapsToClassOfScale | 89 | transhelp:quantitySpaceMapsToClassOfScale |
59 | - rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ; | 90 | + rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ; |
60 | rdfs:label "quantity space maps to class of scale"^^xsd:string ; | 91 | rdfs:label "quantity space maps to class of scale"^^xsd:string ; |
61 | rdfs:subPropertyOf transhelp:mapsTo . | 92 | rdfs:subPropertyOf transhelp:mapsTo . |
62 | 93 | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment