Project

General

Profile

« Previous | Next » 

Revision 6313

mappings/VegCore-VegBIEN.csv: Remapped cultivated to location when a TaxonOccurrence is not provided, indicating that the record is a plot

View differences:

VegBIEN.csv
1 1
VegBank,VegBIEN:/_simplifyPath:[next=parent_id]/path,Comments
2
taxonobservation_id,"/location/iscultivated/_if[@name=""if TaxonOccurrence""]/cond/_exists","Note that taxonimportance is not 1:1 with taxonobservation [1].
3

  
4
[1] The following query returns rows:
5
-----
6
SELECT taxonobservation_id, count(distinct taxonimportance_id)
7
FROM ""VegBank"".taxonimportance
8
GROUP BY taxonobservation_id
9
HAVING count(distinct taxonimportance_id) > 1
10
-----"
2 11
cover,/location/locationevent/taxonoccurrence/aggregateoccurrence/cover_fraction/_percent_to_fraction/value,
3 12
taxonimportance_id,/location/locationevent/taxonoccurrence/aggregateoccurrence/sourceaccessioncode,
13
taxonobservation_id,"/location/locationevent/taxonoccurrence/iscultivated/_alt/1/_if[@name=""if TaxonOccurrence""]/cond/_exists","Note that taxonimportance is not 1:1 with taxonobservation [1].
14

  
15
[1] The following query returns rows:
16
-----
17
SELECT taxonobservation_id, count(distinct taxonimportance_id)
18
FROM ""VegBank"".taxonimportance
19
GROUP BY taxonobservation_id
20
HAVING count(distinct taxonimportance_id) > 1
21
-----"
4 22
taxonobservation_id,/location/locationevent/taxonoccurrence/sourceaccessioncode/_first/1,"Note that taxonimportance is not 1:1 with taxonobservation [1].
5 23

  
6 24
[1] The following query returns rows:

Also available in: Unified diff