David Leal

Transform to add UoMs to the PCA-RDL completed

# baseURI: http://www.reportinghub.no/ep/transform/transform-helper-schema
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/transform/transform-helper-schema>
rdf:type owl:Ontology ;
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 ;
owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/activity> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.epim.no/schemas/mprml/1> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
transhelp:buildRdlURI
rdf:type spin:Function ;
rdfs:label "build RDL URI"^^xsd:string ;
rdfs:subClassOf spin:Functions ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "uri"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
sp:expression
[ rdf:type ep-spin-lib:buildURI ;
sp:arg1 "http://posccaesar.org/rdl/" ;
sp:arg2 [ rdf:type ep-spin-lib:normalizeString ;
sp:arg1 spin:_arg1
]
] ;
sp:variable
[ sp:varName "uri"^^xsd:string
]
])
] .
transhelp:derivedFrom
rdf:type owl:ObjectProperty .
transhelp:facilityIdentifier
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:forComment
rdf:type owl:ObjectProperty ;
......@@ -29,34 +55,39 @@ transhelp:forComment
transhelp:hasDerivedText
rdf:type owl:DatatypeProperty .
transhelp:hasEquivalentInRDL
rdf:type owl:ObjectProperty ;
rdfs:comment "References the RDL class equivalent to a Thing in the EPIM ontology."^^xsd:string ;
rdfs:label "has equivalent in RDL"^^xsd:string .
transhelp:interval
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:intervalEnd
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:intervalIdentifier
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:intervalStart
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:label
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:mapsTo
rdf:type rdf:Property .
transhelp:materialClassMapsToMPREnumeration
rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ;
rdfs:label "material class maps to MPR enumeration"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
transhelp:nominalInstant
rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
rdf:type owl:FunctionalProperty , owl:DatatypeProperty .
transhelp:quantitySpaceMapsToClassOfScale
rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ;
rdfs:label "quantity space maps to class of scale"^^xsd:string ;
rdfs:subPropertyOf transhelp:mapsTo .
......