Revision 7201
Added by Aaron Marcuse-Kubitza over 11 years ago
new_terms.csv | ||
---|---|---|
1 |
|
|
2 |
----- |
|
3 |
-----" |
|
4 |
FROM ""VegBank"".taxonimportance |
|
5 |
GROUP BY taxonobservation_id |
|
6 |
HAVING count(distinct taxonimportance_id) > 1 |
|
7 |
SELECT taxonobservation_id, count(distinct taxonimportance_id) |
|
8 |
[1] The following query returns rows: |
|
9 | 1 |
area,plotArea_m2,,"""Total area of the plot in m2"" (area definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename>)" |
10 | 2 |
area|country|territory,country,, |
11 |
authorplantname,originalTaxonName,, |
|
12 |
authorplotcode,locationName,, |
|
13 | 3 |
collectiondate,dateCollected,, |
4 |
confidentialitystatus,accessRights,"/_map:[./{0,1,2,3,4}=public,5=""data by request"",6=private]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription¶ms=1581> |
|
14 | 5 |
confidentialitystatus,coordinateUncertaintyInMeters,"/_alt/1/_km_to_m/value/_map:[1=1,2=10,3=100,./{0,4,5,6}=]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription¶ms=1581> |
15 |
confidentialitystatus,dcterms:accessRights,"/_map:[./{0,1,2,3,4}=public,5=""data by request"",6=private]/value",Values defined at <http://vegbank.org/vegbank/views/dba_fielddescription_detail.jsp?view=detail&wparam=1581&entity=dba_fielddescription¶ms=1581> |
|
16 | 6 |
cover,coverPercent,, |
17 | 7 |
elevationrange,UNUSED,, |
18 | 8 |
exchangecapacity,cationExchangeCapacity_cmol_kg,, |
19 |
givenname,recordedBy.givenName,,
|
|
9 |
givenname,recordedBy_givenName,,
|
|
20 | 10 |
interpretationdate,dateIdentified,, |
21 | 11 |
locationaccuracy,coordinateUncertaintyInMeters,/_alt/2, |
22 | 12 |
methodnarrative,samplingProtocol,, |
... | ... | |
33 | 23 |
soilsand,sand_percent,,"""Percent sand in the soil horizon"" (soilSand definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=soilobs&entity=dba_tabledescription&where=where_tablename>)" |
34 | 24 |
soilsilt,silt_percent,,"""Percent silt in the soil horizon"" (soilSilt definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=soilobs&entity=dba_tabledescription&where=where_tablename>)" |
35 | 25 |
soiltexture,texture,, |
36 |
stemcode,authorStemCode,, |
|
37 |
stemcount_id,individualID,, |
|
26 |
stemcount_id,aggregateOccurrenceID,, |
|
38 | 27 |
stemdiameter,diameterBreastHeight_cm,,"""The diameter of the stem in centimeters"" (stemDiameter definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)" |
39 | 28 |
stemheight,height_m,,"""The measured height of the stem in meters"" (stemHeight definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemcount&entity=dba_tabledescription&where=where_tablename>)" |
29 |
stemlocation_id,individualID,, |
|
40 | 30 |
stemlocation_id,stemID,, |
41 | 31 |
stemxposition,organismX_m,,"""The X-coordinate of the stem position in m"" (stemXPosition definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemlocation&entity=dba_tabledescription&where=where_tablename>)" |
42 | 32 |
stemyposition,organismY_m,,"""The Y-coordinate of the stem position, as above"" (stemYPosition definition at <http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=stemlocation&entity=dba_tabledescription&where=where_tablename>)" |
43 |
surname,recordedBy.surName,, |
|
44 |
taxonimportance_id,aggregateOccurrenceID,, |
|
45 |
taxonobservation_id,taxonOccurrenceID,, |
|
46 |
taxonobservation_id,taxonOccurrenceID,,"Note that taxonimportance is not 1:1 with taxonobservation [1]. |
|
33 |
surname,recordedBy_surName,, |
|
34 |
taxonimportance_id,OMIT,,Omitted because stemcount_id is more specific |
Also available in: Unified diff
*/new_terms.csv, */unmapped_terms.csv: Regenerated using `make missing_mappings`