SWP-reporting.ui.ttl 6.38 KB
# baseURI: http://www.reportinghub.no/system/swp/reporting
# imports: http://www.reportinghub.no/system/schema/reporting
# imports: http://www.reportinghub.no/system/swp/SWP-logging

@prefix arg:     <http://spinrdf.org/arg#> .
@prefix default:  <http://uispin.org/default#> .
@prefix html:    <http://uispin.org/html#> .
@prefix let:     <http://uispin.org/let#> .
@prefix letrs:   <http://uispin.org/letrs#> .
@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 report:  <http://www.reportinghub.no/system/schema/reporting#> .
@prefix sp:      <http://spinrdf.org/sp#> .
@prefix spin:    <http://spinrdf.org/spin#> .
@prefix spl:     <http://spinrdf.org/spl#> .
@prefix swa:     <http://topbraid.org/swa#> .
@prefix ui:      <http://uispin.org/ui#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .

report:AbstractDR
      ui:instanceView
              [ rdf:type report:DRFormBody ;
                arg:resource spin:_this ;
                ui:id   "search"^^xsd:string
              ] .

report:AbstractMPR
      swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type report:fieldName <http://rdfs.org/sioc/ns#id>) ;
      ui:instanceView
              [ rdf:type report:MPRFormBody ;
                arg:resource spin:_this ;
                ui:id   "search"^^xsd:string
              ] .

report:AbstractReport
      swa:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type <http://rdfs.org/sioc/ns#id>) .

report:DDR
      swa:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type report:wellBoreId <http://rdfs.org/sioc/ns#id>) ;
      ui:instanceView
              [ rdf:type ui:group ;
                default:subject spin:_this ;
                ui:child
                        [ rdf:type report:DRFormBody ;
                          arg:resource spin:_this ;
                          ui:childIndex 0
                        ] ;
                ui:child
                        [ rdf:type swa:Object ;
                          arg:label "Well bore id"^^xsd:string ;
                          arg:predicate report:wellBoreId ;
                          ui:childIndex 1
                        ] ;
                ui:id   "search"^^xsd:string
              ] .

report:DPR
      swa:keyProperties (<http://purl.org/dc/terms/created> <http://purl.org/dc/terms/date> rdf:type report:owner <http://rdfs.org/sioc/ns#id>) ;
      ui:instanceView
              [ rdf:type ui:group ;
                default:subject spin:_this ;
                ui:child
                        [ rdf:type report:DRFormBody ;
                          arg:resource spin:_this ;
                          ui:childIndex 0
                        ] ;
                ui:id   "search"^^xsd:string
              ] .

report:DRFormBody
      rdf:type ui:ResourceViewClass ;
      rdfs:label "DRForm body"^^xsd:string ;
      rdfs:subClassOf swa:FormBody ;
      ui:prototype
              [ rdf:type html:Div ;
                default:subject
                        [ sp:varName "resource"^^xsd:string
                        ] ;
                ui:child
                        [ rdf:type swa:ColumnLayout ;
                          arg:colWidths "50%,50%"^^xsd:string ;
                          arg:width "600px"^^xsd:string ;
                          ui:child
                                  [ rdf:type swa:Object ;
                                    arg:label "Created"^^xsd:string ;
                                    arg:predicate <http://purl.org/dc/terms/created> ;
                                    ui:childIndex 0
                                  ] ;
                          ui:child
                                  [ rdf:type swa:Object ;
                                    arg:label "Date on Report"^^xsd:string ;
                                    arg:predicate <http://purl.org/dc/terms/date> ;
                                    ui:childIndex 1
                                  ] ;
                          ui:childIndex 0
                        ]
              ] .

report:MPRFormBody
      rdf:type ui:ResourceViewClass ;
      rdfs:label "MPR form body"^^xsd:string ;
      rdfs:subClassOf swa:FormBody ;
      ui:prototype
              [ rdf:type html:Div ;
                default:subject
                        [ sp:varName "resource"^^xsd:string
                        ] ;
                ui:child
                        [ rdf:type swa:ColumnLayout ;
                          arg:colWidths "50%,50%"^^xsd:string ;
                          arg:width "600px"^^xsd:string ;
                          ui:child
                                  [ rdf:type swa:Object ;
                                    arg:label "Created"^^xsd:string ;
                                    arg:predicate <http://purl.org/dc/terms/created> ;
                                    ui:childIndex 0
                                  ] ;
                          ui:child
                                  [ rdf:type swa:Object ;
                                    arg:label "Field name"^^xsd:string ;
                                    arg:predicate report:fieldName ;
                                    ui:childIndex 1
                                  ] ;
                          ui:childIndex 0
                        ]
              ] .

report:MPRG
      swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type report:fieldName report:month <http://rdfs.org/sioc/ns#id>) ;
      ui:instanceView
              [ rdf:type ui:group ;
                default:subject spin:_this ;
                ui:child
                        [ rdf:type report:MPRFormBody ;
                          arg:resource spin:_this ;
                          ui:childIndex 0
                        ] ;
                ui:child
                        [ rdf:type swa:Object ;
                          arg:label "Month (yyyy-MM)"^^xsd:string ;
                          arg:predicate report:month ;
                          ui:childIndex 1
                        ] ;
                ui:id   "search"^^xsd:string
              ] .

<http://www.reportinghub.no/system/swp/reporting>
      rdf:type owl:Ontology ;
      owl:imports <http://www.reportinghub.no/system/schema/reporting> , <http://www.reportinghub.no/system/swp/SWP-logging> ;
      owl:versionInfo "Created with TopBraid Composer"^^xsd:string .