flow-facts-ss-schema.ttl 2.42 KB
# baseURI: http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema
# imports: http://topbraid.org/tables

@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 ss:      <http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema#> .
@prefix tables:  <http://topbraid.org/tables#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .

<http://www.reportinghub.no/test/flow_facts/schema/flow-facts-ss-schema>
      rdf:type owl:Ontology ;
      owl:imports <http://topbraid.org/tables> .

ss:FieldNPDName
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "[FieldNPDName]" ;
      rdfs:range xsd:string ;
      tables:columnIndex "0"^^xsd:int .

ss:fact
      rdf:type owl:Class ;
      rdfs:label "fact"^^xsd:string ;
      tables:sheetIndex "0"^^xsd:int .

ss:fieldNPDID
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "FieldNPDID" ;
      rdfs:range xsd:string ;
      tables:columnIndex "1"^^xsd:int .

ss:flowInOutFacilityName
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "FlowInOutFacilityName" ;
      rdfs:range xsd:string ;
      tables:columnIndex "2"^^xsd:int .

ss:flowInOutFacilityNameSystem
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "FlowInOutFacilityNameSystem" ;
      rdfs:range xsd:string ;
      tables:columnIndex "4"^^xsd:int .

ss:flowInOutFacilityType
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "FlowInOutFacilityType" ;
      rdfs:range xsd:string ;
      tables:columnIndex "3"^^xsd:int .

ss:flowKind
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "FlowKind" ;
      rdfs:range xsd:string ;
      tables:columnIndex "7"^^xsd:int .

ss:flowName
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "FlowName" ;
      rdfs:range xsd:string ;
      tables:columnIndex "6"^^xsd:int .

ss:flowQualifier
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "FlowQualifier" ;
      rdfs:range xsd:string ;
      tables:columnIndex "8"^^xsd:int .

ss:flowUID
      rdf:type owl:DatatypeProperty ;
      rdfs:domain ss:fact ;
      rdfs:label "FlowUID" ;
      rdfs:range xsd:string ;
      tables:columnIndex "5"^^xsd:int .