SWP-logging.ui.ttl 5.41 KB
# baseURI: http://www.reportinghub.no/system/swp/SWP-logging
# imports: http://uispin.org/tui
# imports: http://www.reportinghub.no/system/schema/logging

@prefix afn:     <http://jena.hpl.hp.com/ARQ/function#> .
@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 sp:      <http://spinrdf.org/sp#> .
@prefix spin:    <http://spinrdf.org/spin#> .
@prefix spl:     <http://spinrdf.org/spl#> .
@prefix ui:      <http://uispin.org/ui#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .

<http://www.reportinghub.no/system/schema/logging#ReportDownloadEvent>
      ui:instanceView
              [ rdf:type ui:group ;
                let:dateFrom
                        [ rdf:type spl:object ;
                          sp:arg1 spin:_this ;
                          sp:arg2 <http://www.reportinghub.no/system/schema/logging#dateFrom>
                        ] ;
                let:dateTo
                        [ rdf:type spl:object ;
                          sp:arg1 spin:_this ;
                          sp:arg2 <http://www.reportinghub.no/system/schema/logging#dateTo>
                        ] ;
                let:ownerId
                        [ rdf:type spl:object ;
                          sp:arg1 spin:_this ;
                          sp:arg2 <http://www.reportinghub.no/system/schema/logging#ownerId>
                        ] ;
                ui:child
                        [ rdf:type ui:TextNode ;
                          ui:childIndex 0 ;
                          ui:text [ rdf:type afn:localname ;
                                    sp:arg1 [ rdf:type spl:object ;
                                              sp:arg1 spin:_this ;
                                              sp:arg2 <http://www.reportinghub.no/system/schema/logging#reportType>
                                            ]
                                  ]
                        ] ;
                ui:child
                        [ rdf:type ui:TextNode ;
                          ui:childIndex 1 ;
                          ui:text " from "^^xsd:string
                        ] ;
                ui:child
                        [ rdf:type ui:TextNode ;
                          ui:childIndex 2 ;
                          ui:text [ sp:varName "dateFrom"^^xsd:string
                                  ]
                        ] ;
                ui:child
                        [ rdf:type ui:if ;
                          ui:child
                                  [ rdf:type ui:TextNode ;
                                    ui:childIndex 0 ;
                                    ui:text "to "^^xsd:string
                                  ] ;
                          ui:child
                                  [ rdf:type ui:TextNode ;
                                    ui:childIndex 1 ;
                                    ui:text [ sp:varName "dateTo"^^xsd:string
                                            ]
                                  ] ;
                          ui:childIndex 3 ;
                          ui:condition
                                  [ rdf:type sp:bound ;
                                    sp:arg1 [ sp:varName "dateTo"^^xsd:string
                                            ]
                                  ]
                        ] ;
                ui:child
                        [ rdf:type ui:if ;
                          ui:child
                                  [ rdf:type ui:TextNode ;
                                    ui:childIndex 0 ;
                                    ui:text " with owner id "^^xsd:string
                                  ] ;
                          ui:child
                                  [ rdf:type ui:TextNode ;
                                    ui:childIndex 1 ;
                                    ui:text [ sp:varName "ownerId"^^xsd:string
                                            ]
                                  ] ;
                          ui:childIndex 4 ;
                          ui:condition
                                  [ rdf:type sp:bound ;
                                    sp:arg1 [ sp:varName "ownerId"^^xsd:string
                                            ]
                                  ]
                        ] ;
                ui:id   "comments"^^xsd:string
              ] .

<http://www.reportinghub.no/system/schema/logging#ReportUploadEvent>
      ui:instanceView
              [ rdf:type ui:group ;
                ui:child
                        [ rdf:type ui:TextNode ;
                          ui:childIndex 0 ;
                          ui:text [ rdf:type afn:localname ;
                                    sp:arg1 [ rdf:type spl:object ;
                                              sp:arg1 spin:_this ;
                                              sp:arg2 <http://www.reportinghub.no/system/schema/logging#reportType>
                                            ]
                                  ]
                        ] ;
                ui:id   "comments"^^xsd:string
              ] .

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