rh.ui.ttl 3.63 KB
# baseURI: http://www.reportinghub.no/swp/rh
# imports: http://uispin.org/tui
# imports: http://www.reportinghub.no/npd/1.1/schema
# imports: http://www.reportinghub.no/spin/rh

@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 rhswp:   <http://www.reportinghub.no/swp/rh#> .
@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://spinrdf.org/arg#value>
      rdf:type rdf:Property ;
      rdfs:label "value"^^xsd:string ;
      rdfs:subPropertyOf sp:arg .

<http://www.reportinghub.no/swp/rh>
      rdf:type owl:Ontology ;
      rdfs:comment "SWP components and definitions for ReportingHub."^^xsd:string ;
      owl:imports <http://www.reportinghub.no/npd/1.1/schema> , <http://www.reportinghub.no/spin/rh> , <http://uispin.org/tui> ;
      owl:versionInfo "0.1.0"^^xsd:string .

rhswp:Elements
      rdf:type ui:NodeClass ;
      rdfs:label "Elements"^^xsd:string ;
      rdfs:subClassOf ui:Element ;
      ui:abstract "true"^^xsd:boolean .

rhswp:Header
      rdf:type ui:NodeClass ;
      rdfs:label "Header"^^xsd:string ;
      rdfs:subClassOf rhswp:Elements ;
      ui:prototype <http://www.reportinghub.no/swp/header.uispin.html> .

rhswp:NameValuePair
      rdf:type ui:NodeClass ;
      rdfs:label "Name value pair"^^xsd:string ;
      rdfs:subClassOf rhswp:Elements ;
      spin:constraint
              [ rdf:type spl:Argument ;
                rdfs:comment "The label of the value."^^xsd:string ;
                spl:predicate <http://spinrdf.org/arg#name> ;
                spl:valueType xsd:string
              ] ;
      spin:constraint
              [ rdf:type spl:Argument ;
                rdfs:comment "The value to display."^^xsd:string ;
                spl:predicate <http://spinrdf.org/arg#value>
              ] ;
      ui:prototype
              [ rdf:type html:Table ;
                html:class "nameValuePair"^^xsd:string ;
                ui:child
                        [ rdf:type html:Tr ;
                          ui:child
                                  [ rdf:type html:Td ;
                                    html:class "nameValueName"^^xsd:string ;
                                    ui:child
                                            [ rdf:type ui:TextNode ;
                                              ui:childIndex 0 ;
                                              ui:text [ sp:varName "name"^^xsd:string
                                                      ]
                                            ] ;
                                    ui:childIndex 0
                                  ] ;
                          ui:child
                                  [ rdf:type html:Td ;
                                    html:class "nameValueValue"^^xsd:string ;
                                    ui:child
                                            [ rdf:type ui:TextNode ;
                                              ui:childIndex 0 ;
                                              ui:text [ sp:varName "value"^^xsd:string
                                                      ]
                                            ] ;
                                    ui:childIndex 1
                                  ] ;
                          ui:childIndex 0
                        ]
              ] .