@prefix qudt:  <http://qudt.org/schema/qudt#> .
@prefix ssd:   <http://www.w3.org/ns/sparql-service-description#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix qudt-unit: <http://qudt.org/vocab/unit#> .
@prefix qb:    <http://purl.org/linked-data/cube#> .
@prefix dgu:   <http://reference.data.gov.uk/def/reference/> .
@prefix ui:    <http://purl.org/linked-data/registry-ui#> .
@prefix dct:   <http://purl.org/dc/terms/> .
@prefix reg:   <http://purl.org/linked-data/registry#> .
@prefix qudt-quantity: <http://qudt.org/vocab/quantity#> .
@prefix grib2-parameter: <http://codes.wmo.int/grib2/schema/parameter/> .
@prefix api:   <http://purl.org/linked-data/api/vocab#> .
@prefix vann:  <http://purl.org/vocab/vann/> .
@prefix prov:  <http://www.w3.org/ns/prov#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .
@prefix common-unit: <http://codes.wmo.int/common/schema/unit/> .
@prefix cc:    <http://creativecommons.org/ns#> .
@prefix grib2-core: <http://codes.wmo.int/grib2/schema/core/> .
@prefix void:  <http://rdfs.org/ns/void#> .
@prefix version: <http://purl.org/linked-data/version#> .
@prefix bufr4-core: <http://codes.wmo.int/bufr4/schema/core/> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ldp:   <http://www.w3.org/ns/ldp#> .
@prefix time:  <http://www.w3.org/2006/time#> .
@prefix qudt-dimension: <http://qudt.org/vocab/dimension#> .
@prefix vs:    <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix common-core: <http://codes.wmo.int/common/schema/core/> .
@prefix dc:    <http://purl.org/dc/elements/1.1/> .

<http://codes.wmo.int/system/form-templates/concept>
        a              ui:FormTemplate ;
        rdfs:label     "Concept"@en ;
        ui:formFields  ( [ a              ui:FormField ;
                           rdfs:label     "id" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    reg:notation ;
                           ui:required    true ;
                           ui:tooltip     "ID ('notation') for concept in register"@en ;
                           skos:notation  "id"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "label" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    rdfs:label ;
                           ui:required    true ;
                           ui:tooltip     "Label for the concept"@en ;
                           skos:notation  "label"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "notation" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    skos:notation ;
                           ui:tooltip     "Optional skos:notation"@en ;
                           skos:notation  "notation"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "value" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    rdf:value ;
                           ui:tooltip     "Optional associated value"@en ;
                           skos:notation  "value"
                         ]
                       ) ;
        ui:prototype   [ a  skos:Concept ] ;
        ui:tooltip     "Define a single skos:Concept, useful as a way to register generic information"@en .

<http://codes.wmo.int/system/form-templates/_concept>
        a                  reg:RegisterItem ;
        rdfs:label         "Concept"@en ;
        dct:dateSubmitted  "2014-09-03T09:52:36.005Z"^^xsd:dateTime ;
        reg:definition     [ reg:entity       <http://codes.wmo.int/system/form-templates/concept> ;
                             reg:sourceGraph  <http://codes.wmo.int/system/form-templates/_concept:1#graph>
                           ] ;
        reg:itemClass      ui:FormTemplate ;
        reg:notation       "concept" ;
        reg:register       <http://codes.wmo.int/system/form-templates> ;
        reg:status         reg:statusStable ;
        reg:submitter      [ foaf:name  "bootstrap" ] ;
        owl:versionInfo    1 .

<http://codes.wmo.int/system/form-templates/register>
        a              ui:FormTemplate ;
        rdfs:label     "Subregister"@en ;
        ui:formFields  ( [ a              ui:FormField ;
                           rdfs:label     "id" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    reg:notation ;
                           ui:required    true ;
                           ui:tooltip     "ID ('notation') for the sub-register"@en ;
                           skos:notation  "id"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "label" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    rdfs:label ;
                           ui:required    true ;
                           ui:tooltip     "Label (name) for the register"@en ;
                           skos:notation  "label"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "description" ;
                           ui:fieldType   ui:textField ;
                           ui:property    dct:description ;
                           ui:required    true ;
                           ui:tooltip     "Longer description of the register"@en ;
                           skos:notation  "description"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "membership predicate" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    ldp:membershipPredicate ;
                           ui:tooltip     "Optional membership predicate for the register."@en ;
                           skos:notation  "membership"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "inv membership" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    reg:inverseMembershipPredicate ;
                           ui:tooltip     "Optional inverse membership predicate for the register."@en ;
                           skos:notation  "inv-membership"
                         ]
                         [ a               ui:FormField ;
                           rdfs:label      "contained types" ;
                           ui:fieldType    ui:anyURIField ;
                           ui:multivalued  true ;
                           ui:property     reg:containedItemClass ;
                           ui:tooltip      "Option set of types which will be allowed in this register."@en ;
                           skos:notation   "containedIC"
                         ]
                         [ a               ui:FormField ;
                           rdfs:label      "register type" ;
                           ui:fieldType    ui:anyURIField ;
                           ui:multivalued  true ;
                           ui:property     rdf:type ;
                           ui:tooltip      "Additional rdf:type values for the register (will already be a reg:Register)."@en ;
                           skos:notation   "type"
                         ]
                       ) ;
        ui:prototype   [ a  reg:Register ] ;
        ui:tooltip     "Define a sub-register."@en .

<http://codes.wmo.int/system/form-templates/forward>
        a              ui:FormTemplate ;
        rdfs:label     "Forward"@en ;
        ui:formFields  ( [ a              ui:FormField ;
                           rdfs:label     "id" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    reg:notation ;
                           ui:required    true ;
                           ui:tooltip     "ID ('notation') for child namespace to forward"@en ;
                           skos:notation  "id"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "label" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    rdfs:label ;
                           ui:required    true ;
                           ui:tooltip     "Label (name) for the forwarding instruction"@en ;
                           skos:notation  "label"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "description" ;
                           ui:fieldType   ui:textField ;
                           ui:property    dct:description ;
                           ui:required    true ;
                           ui:tooltip     "Description of the forwarding instruction."@en ;
                           skos:notation  "description"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "code" ;
                           ui:fieldType   ui:labelField ;
                           ui:property    reg:forwardingCode ;
                           ui:tooltip     "The redirection code to use (e.g. use 200 to proxy, 303 to redirect)"@en ;
                           skos:notation  "code"
                         ]
                         [ a              ui:FormField ;
                           rdfs:label     "target" ;
                           ui:fieldType   ui:anyURIField ;
                           ui:property    reg:delegationTarget ;
                           ui:required    true ;
                           ui:tooltip     "The URL to forward to."@en ;
                           skos:notation  "target"
                         ]
                       ) ;
        ui:prototype   [ a  reg:NamespaceForward ] ;
        ui:tooltip     "Forward part of this namespace"@en .

<http://codes.wmo.int/system/form-templates/_forward>
        a                  reg:RegisterItem ;
        rdfs:label         "Forward"@en ;
        dct:dateSubmitted  "2014-09-03T09:52:35.953Z"^^xsd:dateTime ;
        reg:definition     [ reg:entity       <http://codes.wmo.int/system/form-templates/forward> ;
                             reg:sourceGraph  <http://codes.wmo.int/system/form-templates/_forward:1#graph>
                           ] ;
        reg:itemClass      ui:FormTemplate ;
        reg:notation       "forward" ;
        reg:register       <http://codes.wmo.int/system/form-templates> ;
        reg:status         reg:statusStable ;
        reg:submitter      [ foaf:name  "bootstrap" ] ;
        owl:versionInfo    1 .

<http://codes.wmo.int/system/form-templates/_register>
        a                  reg:RegisterItem ;
        rdfs:label         "Subregister"@en ;
        dct:dateSubmitted  "2014-09-03T09:52:35.89Z"^^xsd:dateTime ;
        reg:definition     [ reg:entity       <http://codes.wmo.int/system/form-templates/register> ;
                             reg:sourceGraph  <http://codes.wmo.int/system/form-templates/_register:1#graph>
                           ] ;
        reg:itemClass      ui:FormTemplate ;
        reg:notation       "register" ;
        reg:register       <http://codes.wmo.int/system/form-templates> ;
        reg:status         reg:statusStable ;
        reg:submitter      [ foaf:name  "bootstrap" ] ;
        owl:versionInfo    1 .

<http://codes.wmo.int/system/form-templates>
        a                reg:Register , ldp:Container ;
        rdfs:label       "form templates"@en ;
        rdfs:member      <http://codes.wmo.int/system/form-templates/register> , <http://codes.wmo.int/system/form-templates/forward> , <http://codes.wmo.int/system/form-templates/concept> ;
        dct:description  "Set of form templates which are used to define manual registration forms"@en ;
        dct:modified     "2014-09-03T09:52:36.016Z"^^xsd:dateTime ;
        owl:versionInfo  4 .

<http://codes.wmo.int/system/_form-templates>
        a                  reg:RegisterItem ;
        rdfs:label         "form templates"@en ;
        dct:dateSubmitted  "2014-09-03T09:52:35.846Z"^^xsd:dateTime ;
        dct:description    "Set of form templates which are used to define manual registration forms"@en ;
        reg:definition     [ reg:entity         <http://codes.wmo.int/system/form-templates> ;
                             reg:entityVersion  <http://codes.wmo.int/system/form-templates:1>
                           ] ;
        reg:itemClass      reg:Register ;
        reg:notation       "form-templates" ;
        reg:register       <http://codes.wmo.int/system> ;
        reg:status         reg:statusStable ;
        reg:submitter      [ foaf:name  "bootstrap" ] ;
        owl:versionInfo    1 .
