Changeset 2213 for TI07-MOLES


Ignore:
Timestamp:
27/02/07 14:59:38 (12 years ago)
Author:
ko23
Message:

update vocab constants to include "/term"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/xqueryLib/Vocabs/vocab_xquery_lib.xquery

    r2192 r2213  
    11module namespace voclib='http://ndg.nerc.ac.uk/xquery/lib/vocab'; 
    22(: Standard vocab roots :) 
    3 declare variable $voclib:unknown_vocab_id as xs:string {'http://vocab.ndg.nerc.ac.uk/null'}; 
     3declare variable $voclib:unknown_vocab_id as xs:string {'http://vocab.ndg.nerc.ac.uk/term/null'}; 
    44 
    5 declare variable $voclib:iso_3166_alpha2 as xs:string {'http://vocab.ndg.nerc.ac.uk/C320'}; 
     5declare variable $voclib:iso_3166_alpha2 as xs:string {'http://vocab.ndg.nerc.ac.uk/term/C320'}; 
    66 
    7 declare variable $voclib:bodc_parameter_usage_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/P011'}; 
    8 declare variable $voclib:bodc_parameter_discovery_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/P021'}; 
     7declare variable $voclib:bodc_parameter_usage_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P011'}; 
     8declare variable $voclib:bodc_parameter_discovery_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P021'}; 
    99 
    10 declare variable $voclib:ndg_data_provider_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/N010'}; 
     10declare variable $voclib:ndg_data_provider_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/term/N010'}; 
    1111 
    12 declare variable $voclib:gcmd_science_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/P04'};  
    13 declare variable $voclib:gcmd_science_valids_correct as xs:string {'http://vocab.ndg.nerc.ac.uk/P041'};  
    14 declare variable $voclib:gcmd_science_valids_deprecated as xs:string {'http://vocab.ndg.nerc.ac.uk/P042'};  
    15 declare variable $voclib:gcmd_science_valids_categories as xs:string {'http://vocab.ndg.nerc.ac.uk/P111'};  
    16 declare variable $voclib:gcmd_science_valids_topics as xs:string {'http://vocab.ndg.nerc.ac.uk/P121'};  
    17 declare variable $voclib:gcmd_science_valids_terms as xs:string {'http://vocab.ndg.nerc.ac.uk/P131'};  
    18 declare variable $voclib:gcmd_science_valids_variables as xs:string {'http://vocab.ndg.nerc.ac.uk/P141'};  
     12declare variable $voclib:gcmd_science_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P04'};  
     13declare variable $voclib:gcmd_science_valids_correct as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P041'};  
     14declare variable $voclib:gcmd_science_valids_deprecated as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P042'};  
     15declare variable $voclib:gcmd_science_valids_categories as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P111'};  
     16declare variable $voclib:gcmd_science_valids_topics as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P121'};  
     17declare variable $voclib:gcmd_science_valids_terms as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P131'};  
     18declare variable $voclib:gcmd_science_valids_variables as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P141'};  
    1919 
    20 declare variable $voclib:iso_topic_list as xs:string {'http://vocab.ndg.nerc.ac.uk/P051'}; 
    21 declare variable $voclib:bodc_unit_names as xs:string {'http://vocab.ndg.nerc.ac.uk/P061'}; 
    22 declare variable $voclib:cf_standard_names as xs:string {'http://vocab.ndg.nerc.ac.uk/P071'}; 
     20declare variable $voclib:iso_topic_list as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P051'}; 
     21declare variable $voclib:bodc_unit_names as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P061'}; 
     22declare variable $voclib:cf_standard_names as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P071'}; 
    2323 
    24 declare variable $voclib:gcmd_instrument_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/P101'};  
    25 declare variable $voclib:gcmd_project_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/P161'};  
    26 declare variable $voclib:gcmd_location_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/P171'};  
    27 declare variable $voclib:gcmd_chronostratigraphic_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/P181'};  
     24declare variable $voclib:gcmd_instrument_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P101'};  
     25declare variable $voclib:gcmd_project_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P161'};  
     26declare variable $voclib:gcmd_location_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P171'};  
     27declare variable $voclib:gcmd_chronostratigraphic_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P181'};  
    2828 
    2929declare variable $voclib:gcmd_iso_topic_list as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/iso_topic_list.html'}; 
     
    3434 
    3535(: IHO list :) 
    36 declare variable $voclib:iho_s23_list as xs:string {'http://vocab.ndg.nerc.ac.uk/C161'}; 
     36declare variable $voclib:iho_s23_list as xs:string {'http://vocab.ndg.nerc.ac.uk/term/C161'}; 
    3737 
    3838declare function voclib:spot-vocab($vocab_root as xs:string, $vocab_uri as xs:string) as xs:boolean  
Note: See TracChangeset for help on using the changeset viewer.