Project

General

Profile

« Previous | Next » 

Revision 98

Further refinements to mappings to support database constraints

View differences:

SALVIAS-VegBank.organisms.csv
1 1
SALVIAS,VegBank:/taxonObservation
2
OBSERVATION_ID,"/{taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/museumAccessionNumber,*_ID/observation/*_ID/plot:[confidentialityStatus=0]/authorPlotCode}"
2
OBSERVATION_ID,"/{taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=false,interpretationDate=epoch,*_ID/plantConcept,*_ID/party]/museumAccessionNumber,*_ID/observation/*_ID/plot:[confidentialityStatus=0]/authorPlotCode}"
3 3
plot_code,/*_ID/observation/*_ID/plot/PARENT_ID/plot:[confidentialityStatus=0]/authorPlotCode
4
census_no,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[@fkey=tableRecord_ID,userDefined[tableName=taxonInterpretation,userDefinedName=censusNo]]/definedValue"
4
census_no,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[userDefined[tableName=taxonInterpretation,userDefinedName=censusNo]]:[@fkey=tableRecord_ID]/definedValue"
5 5
census_date,/*_ID/observation/obsStartDate
6 6
subplot,"/*_ID/observation/{*_ID/plot:[confidentialityStatus=0]/authorPlotCode,authorObsCode}"
7
individual_code,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[@fkey=tableRecord_ID,userDefined[tableName=taxonInterpretation,userDefinedName=individualCode]]/definedValue"
7
individual_code,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[userDefined[tableName=taxonInterpretation,userDefinedName=individualCode]]:[@fkey=tableRecord_ID]/definedValue"
8 8
tag1,/taxonImportance/stemCount/stemLocation/stemCode
9 9
tag2,/taxonImportance/stemCount/stemLocation/stemCode
10 10
x_position,/taxonImportance/stemCount/stemLocation/stemXPosition
11 11
y_position,/taxonImportance/stemCount/stemLocation/stemYPosition
12 12
coll_number,/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collectionNumber
13
coll_lastname,/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID->/party/surName
14
coll_firstname,/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID->/party/givenName
15
det_type,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[@fkey=tableRecord_ID,userDefined[tableName=taxonInterpretation,userDefinedName=determinationType]]/definedValue"
16
family,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer](/*_ID/plantConcept[plantStatus/plantLevel=Family]:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference])/*_ID/*/plantName"
17
genus,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer](/*_ID/plantConcept[plantStatus/plantLevel=Genus]:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference])/*_ID/*/plantName"
18
specific_epithet,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer](/*_ID/plantConcept[plantStatus/plantLevel=Species]:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference])/*_ID/*/plantName"
19
specific_authority,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer](/*_ID/plantConcept[plantStatus/plantLevel=Species])/*_ID/plantName/reference_ID->/referenceParty/{givenName,surname}"
20
infra_rank_1,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer](/*_ID/plantConcept[plantStatus/plantLevel=Subspecies]:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference])/*_ID/*/plantName/_name/first"
21
infra_ep_1,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer](/*_ID/plantConcept[plantStatus/plantLevel=Subspecies]:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference])/*_ID/*/plantName/_name/last"
22
cf_aff,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[@fkey=tableRecord_ID,userDefined[tableName=taxonInterpretation,userDefinedName=cfAff]]/definedValue"
23
habit,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[@fkey=tableRecord_ID,userDefined[tableName=taxonInterpretation,userDefinedName=habit]]/definedValue"
13
coll_lastname,/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID/party/surName
14
coll_firstname,/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/collector_ID/party/givenName
15
det_type,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[userDefined[tableName=taxonInterpretation,userDefinedName=determinationType]]:[@fkey=tableRecord_ID]/definedValue"
16
family,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Family]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName"
17
genus,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Genus]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName"
18
specific_epithet,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Species]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName"
19
specific_authority,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Species]/*_ID/plantConcept/*_ID/plantName/reference_ID/reference/shortName"
20
infra_rank_1,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName/_name/first"
21
infra_ep_1,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=computer,*_ID/plantConcept/plantStatus/plantLevel=Subspecies]:[interpretationType=""Computer (automated)"",originalInterpretation=false,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName/_name/last"
22
cf_aff,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[userDefined[tableName=taxonInterpretation,userDefinedName=cfAff]]:[@fkey=tableRecord_ID]/definedValue"
23
habit,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/definedValue[userDefined[tableName=taxonInterpretation,userDefinedName=habit]]:[@fkey=tableRecord_ID]/definedValue"
24 24
no_of_individuals,/taxonImportance/*/stemCount
25 25
cover_percent,/taxonImportance/cover
26
intercept_cm,"/taxonImportance/definedValue[@fkey=tableRecord_ID,userDefined[tableName=taxonImportance,userDefinedName=interceptCm]]/definedValue"
26
intercept_cm,"/taxonImportance/definedValue[userDefined[tableName=taxonImportance,userDefinedName=interceptCm]]:[@fkey=tableRecord_ID]/definedValue"
27 27
height_m,/taxonImportance/stemCount/stemHeight
28
ht_first_branch_m,"/taxonImportance/stemCount/stemLocation/definedValue[@fkey=tableRecord_ID,userDefined[tableName=stemLocation,userDefinedName=heightFirstBranchM]]/definedValue"
28
ht_first_branch_m,"/taxonImportance/stemCount/stemLocation/definedValue[userDefined[tableName=stemLocation,userDefinedName=heightFirstBranchM]]:[@fkey=tableRecord_ID]/definedValue"
29 29
stem_tag1,/taxonImportance/stemCount/stemLocation/stemCode
30 30
stem_tag2,/taxonImportance/stemCount/stemLocation/stemCode
31 31
stem_dbh,/taxonImportance/stemCount/stemDiameter
32
basal_diam,"/taxonImportance/stemCount/stemLocation/definedValue[@fkey=tableRecord_ID,userDefined[tableName=stemLocation,userDefinedName=stemBasalDiameter]]/definedValue"
32
basal_diam,"/taxonImportance/stemCount/stemLocation/definedValue[userDefined[tableName=stemLocation,userDefinedName=stemBasalDiameter]]:[@fkey=tableRecord_ID]/definedValue"
33 33
stem_height_m,/taxonImportance/stemCount/stemHeight
34
stem_height_first_branch_m,"/taxonImportance/stemCount/stemLocation/definedValue[@fkey=tableRecord_ID,userDefined[tableName=stemLocation,userDefinedName=stemHeightFirstBranchM]]/definedValue"
35
stem_canopy_form,"/taxonImportance/stemCount/stemLocation/definedValue[@fkey=tableRecord_ID,userDefined[tableName=stemLocation,userDefinedName=stemCanopyForm]]/definedValue"
36
stem_canopy_position,"/taxonImportance/stemCount/stemLocation/definedValue[@fkey=tableRecord_ID,userDefined[tableName=stemLocation,userDefinedName=stemCanopyPosition]]/definedValue"
37
stem_liana_infestation,"/taxonImportance/stemCount/stemLocation/definedValue[@fkey=tableRecord_ID,userDefined[tableName=stemLocation,userDefinedName=stemLianaInfestation]]/definedValue"
34
stem_height_first_branch_m,"/taxonImportance/stemCount/stemLocation/definedValue[userDefined[tableName=stemLocation,userDefinedName=stemHeightFirstBranchM]]:[@fkey=tableRecord_ID]/definedValue"
35
stem_canopy_form,"/taxonImportance/stemCount/stemLocation/definedValue[userDefined[tableName=stemLocation,userDefinedName=stemCanopyForm]]:[@fkey=tableRecord_ID]/definedValue"
36
stem_canopy_position,"/taxonImportance/stemCount/stemLocation/definedValue[userDefined[tableName=stemLocation,userDefinedName=stemCanopyPosition]]:[@fkey=tableRecord_ID]/definedValue"
37
stem_liana_infestation,"/taxonImportance/stemCount/stemLocation/definedValue[userDefined[tableName=stemLocation,userDefinedName=stemLianaInfestation]]:[@fkey=tableRecord_ID]/definedValue"
38 38
notes,/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=collector]/notes
39
orig_family,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Family]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName"
40
orig_species,"/taxonImportance/stemCount/stemLocation/taxonInterpretation[ROLE_ID/aux_Role/roleCode=identifier,*_ID/plantConcept/plantStatus/plantLevel=Species]:[interpretationType=Author,originalInterpretation=true,currentInterpretation=true,interpretationDate=epoch,*_ID/party]/*_ID/plantConcept:[plantStatus:[plantConceptStatus=accepted,startDate=epoch,*_ID/party],*_ID/reference]/*_ID/*/plantName"

Also available in: Unified diff