Changeset 2449 for TI07-MOLES


Ignore:
Timestamp:
02/05/07 10:20:36 (12 years ago)
Author:
ko23
Message:

Updated vocab lib to support forthcoming queries

Location:
TI07-MOLES/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/DIF/XQuery/DIF2MOLES.xquery

    r2358 r2449  
    1212declare variable $input_repository as xs:string {'Input_Repository_Code'}; 
    1313declare variable $input_repository_local as xs:string {'Input_Repository_LocalID'}; 
    14 declare variable $input_entry_id as xs:string {'GEOARCHIVES'}; 
    15 declare variable $localIdentifier as xs:string {'GEOARCHIVES'}; 
     14declare variable $input_entry_id as xs:string {'ndg.noc.soton.ac.uk__DIF__NOCSDAT110'}; 
     15declare variable $localIdentifier as xs:string {'ndg.noc.soton.ac.uk__DIF__NOCSDAT110'}; 
    1616 
    1717declare variable $output_local_id as xs:string {'Output_LocalID'}; 
     
    4646element metadataDescriptionLastUpdated {current-date()}                 , 
    4747element abstract { 
    48 element abstractText {string($DIF/dif:Summary)}, 
     48element abstractText {string($DIF/dif:Summary)} 
     49} 
     50, 
    4951for $descOnline in $DIF/dif:Related_URL 
    5052return 
     
    5355element dgSimpleLink {escape-uri(data($descOnline/dif:URL), true())}}, 
    5456if (exists($descOnline/dif:URL_Content_Type)) then  
    55 element dgReferenceName {data($descOnline/dif:URL)} 
    56 else () 
    57 } 
     57element dgReferenceName {data($descOnline/dif:URL_Content_Type)} 
     58else () 
    5859} 
    5960}, 
  • TI07-MOLES/trunk/xqueryLib/Vocabs/vocab_xquery_lib.xquery

    r2291 r2449  
    99 
    1010declare variable $voclib:ndg_data_provider_vocab as xs:string {'http://vocab.ndg.nerc.ac.uk/term/N010'}; 
     11declare variable $voclib:ndg_online_reference_classes_vocab as xs:string {$voclib:unknown_vocab_id}; 
     12declare variable $voclib:ndg_activity_relations_vocab as xs:string {$voclib:unknown_vocab_id}; 
     13declare variable $voclib:ndg_de_relations_vocab as xs:string {$voclib:unknown_vocab_id}; 
     14declare variable $voclib:ndg_formats_vocab as xs:string {$voclib:unknown_vocab_id}; 
    1115 
     16declare variable $voclib:bodc_unit_names as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P061'}; 
     17declare variable $voclib:cf_standard_names as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P071'}; 
     18 
     19declare variable $voclib:gcmd_instrument_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P101'};  
    1220declare variable $voclib:gcmd_science_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P04'};  
    1321declare variable $voclib:gcmd_science_valids_correct as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P041'};  
     
    1826declare variable $voclib:gcmd_science_valids_variables as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P141'};  
    1927 
    20 declare variable $voclib:bodc_unit_names as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P061'}; 
    21 declare variable $voclib:cf_standard_names as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P071'}; 
    22  
    23 declare variable $voclib:gcmd_instrument_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P101'};  
    2428declare variable $voclib:gcmd_project_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P161'};  
    2529declare variable $voclib:gcmd_location_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P171'};  
    2630declare variable $voclib:gcmd_chronostratigraphic_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P181'};  
     31declare variable $voclib:gcmd_url_content_valids as xs:string {'http://vocab.ndg.nerc.ac.uk/term/P201'};  
    2732 
    2833declare variable $voclib:gcmd_iso_topic_list as xs:string {'http://gcmd.gsfc.nasa.gov/Resources/valids/iso_topic_list.html'}; 
Note: See TracChangeset for help on using the changeset viewer.