SCHEMA_transform-helper-schema.ttl 5.5 KB
# 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://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/activity> ;
      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:domainOfPropertyMapsToMPREnumeration
      rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
      rdfs:label "domain of property maps to MPR enumeration"^^xsd:string ;
      rdfs:subPropertyOf transhelp:mapsTo .

transhelp:facilityIdentifier
      rdf:type owl:DatatypeProperty , owl:FunctionalProperty .

transhelp:flowingStateMapsToMPREnumeration
      rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
      rdfs:label "flowing state maps to MPR enumeration"^^xsd:string ;
      rdfs:subPropertyOf transhelp:mapsTo .

transhelp:forComment
      rdf:type owl:ObjectProperty ;
      rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
      rdfs:domain <http://www.reportinghub.no/ep/schema/activity#Activity> ;
      rdfs:label "for comment"^^xsd:string .

transhelp:fromRule
      rdf:type owl:DatatypeProperty .

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 .

transhelp:intervalEnd
      rdf:type owl:DatatypeProperty , owl:FunctionalProperty .

transhelp:intervalIdentifier
      rdf:type owl:DatatypeProperty , owl:FunctionalProperty .

transhelp:intervalStart
      rdf:type owl:DatatypeProperty , owl:FunctionalProperty .

transhelp:label
      rdf:type owl:DatatypeProperty , owl:FunctionalProperty .

transhelp:mapsTo
      rdf:type rdf:Property .

transhelp:materialClassMapsToMPREnumeration
      rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
      rdfs:label "material class maps to MPR enumeration"^^xsd:string ;
      rdfs:subPropertyOf transhelp:mapsTo .

transhelp:necessaryIntervalString
      rdf:type owl:DatatypeProperty .

transhelp:nominalInstant
      rdf:type owl:DatatypeProperty , owl:FunctionalProperty .

transhelp:propertyMapsToMPREnumeration
      rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
      rdfs:label "property maps to MPR enumeration"^^xsd:string ;
      rdfs:subPropertyOf transhelp:mapsTo .

transhelp:quantitySpaceMapsToClassOfScale
      rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
      rdfs:label "quantity space maps to class of scale"^^xsd:string ;
      rdfs:subPropertyOf transhelp:mapsTo .

transhelp:rangeOfPropertyMapsToMPREnumeration
      rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
      rdfs:label "range of property maps to MPR enumeration"^^xsd:string ;
      rdfs:subPropertyOf transhelp:mapsTo .

transhelp:scaleMapsToMPREnumeration
      rdf:type owl:InverseFunctionalProperty , owl:ObjectProperty ;
      rdfs:label "scale maps to MPR enumeration"^^xsd:string ;
      rdfs:subPropertyOf transhelp:mapsTo .

transhelp:standardTempPres
      rdf:type rdf:Property ;
      rdfs:range <http://www.epim.no/schemas/mprml/1#StandardTempPress> .

transhelp:typeOfPartCommentedOn
      rdf:type owl:ObjectProperty ;
      rdfs:comment "Used to pass an argument to Cs_datedComment"^^xsd:string ;
      rdfs:domain owl:Class ;
      rdfs:label "type of part commented on"^^xsd:string .