Skip to content

Commit

Permalink
Schema CL and Data Manifest CL for OECD Waste Water Treatment for dif…
Browse files Browse the repository at this point in the history
…ferent countries.

Please be noted that it is a modification of an old submitted CL: https://critique.corp.google.com/cl/650935805
In the above CL stat_vars.mcf file were missing the StatVars, so this CL is to update the stat_vars.mcf file and also new data has been updated with more years.

PiperOrigin-RevId: 656323842
  • Loading branch information
Data Commons authored and copybara-github committed Oct 1, 2024
1 parent 7d7a527 commit 81b951e
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 41 deletions.
17 changes: 17 additions & 0 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -4207,3 +4207,20 @@ Node: dcid:StatisticalRegion
name: "StatisticalRegion"
typeOf: schema:Class
subClassOf: schema:AdministrativeArea

#oecd
Node: dcid:wasteTreatmentType
typeOf: dcs:Property
name: "wasteTreatmentType"
domainIncludes: dcid:Person
rangeIncludes: dcid:WasteTreatmentTypeEnum

Node: dcid:WasteTreatmentTypeEnum
typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "WasteTreatmentTypeEnum"
isProvisional: dcs:True

Node: dcid:WasteWaterTreatment
typeOf: dcid:WasteTreatmentTypeEnum
name: "Waste Water Treatment"
14 changes: 13 additions & 1 deletion core/usgs_water.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ typeOf: schema:Class
subClassOf: dcs:Water
name: "WasteWater"
description:"Wastewater is used water. It includes substances such as human waste, food scraps, oils, soaps and chemicals"
descriptionUrl:"https://www.usgs.gov/special-topics/water-science-school/science/wastewater-treatment-water-use#:~:text=Wastewater%20is%20used%20water.,water%20that%20must%20be%20cleaned."
descriptionUrl:"https://www.usgs.gov/special-topics/water-science-school/science/wastewater-treatment-water-use"

## Properties

Expand Down Expand Up @@ -187,6 +187,12 @@ name: "WasteWaterTreated"
description:"Treated wastewater can be reused as reclaimed water. The main purpose of wastewater treatment is for the treated wastewater to be able to be disposed or reused"
descriptionUrl:"https://en.wikipedia.org/wiki/Wastewater_treatment"

Node: dcid:WasteWaterNotTreated
typeOf: dcid:WaterTreatmentStatusEnum
name: "WasteWaterTreated"
description:"Treated wastewater can be reused as reclaimed water. The main purpose of wastewater treatment is for the treated wastewater to be able to be disposed or reused"
descriptionUrl:"https://en.wikipedia.org/wiki/Wastewater_treatment"

Node: dcid:WasteWaterIndependentlyTreated
typeOf: dcid:WaterTreatmentSystemEnum
name: "WasteWaterIndependentlyTreated"
Expand All @@ -199,6 +205,12 @@ name: "WasteWaterCollectingSystem"
description:"Collection Systems are the system of underground pipes and maintenance structures used to convey wastewater to a Water Resource Recovery Facility (WRRF)"
descriptionUrl:"https://www.wbdg.org/resources/wastewater-treatment-and-water-resource-recovery-facilities-wrrfs/collection-systems"

Node: dcid:PublicSewerage
typeOf: dcid:WaterTreatmentSystemEnum
name: "WasteWaterCollectingSystem"
description:"Collection Systems are the system of underground pipes and maintenance structures used to convey wastewater to a Water Resource Recovery Facility (WRRF)"
descriptionUrl:"https://www.wbdg.org/resources/wastewater-treatment-and-water-resource-recovery-facilities-wrrfs/collection-systems"

Node: dcid:SecondaryTreatment
typeOf: dcid:WaterTreatmentLevelEnum
name: "SecondaryTreatment"
Expand Down
114 changes: 74 additions & 40 deletions stat_vars/oecd_waste_water_treatment_stavar.mcf
Original file line number Diff line number Diff line change
@@ -1,85 +1,119 @@
Node: dcid:Amount_WasteWater_PrimaryTreatment_WasteWaterTreatmentPlant_PerWaterTreatmentLevel
Node: dcid:Count_Person_PrimaryTreatment_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant_AsAFractionOf_Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
typeOf: dcid:StatisticalVariable
name: "Public total treatment (connected to a wastewater treatment plant), Primary treatment"
populationType: dcid:WasteWater
measuredProperty: dcid:amount
name: "Percentage of population connected to the primary treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentLevel
measurementDenominator: dcid:Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
waterTreatmentLevel: dcid:PrimaryTreatment
waterTreatmentStatus: dcid:WasteWaterTreated
waterTreatmentSystem: dcid:PublicSewerage
waterTreatmentType: dcid:WasteWaterTreatmentPlant

Node: dcid:Amount_WasteWater_SecondaryTreatment_WasteWaterTreatmentPlant_PerWaterTreatmentLevel
Node: dcid:Count_Person_PublicSewerage
typeOf: dcid:StatisticalVariable
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
waterTreatmentSystem: dcid:PublicSewerage

Node: dcid:Count_Person_PublicSewerage_AsAFractionOf_Count_Person
typeOf: dcid:StatisticalVariable
name: "Percentage of population connected to the total public sewerage"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:Count_Person
waterTreatmentSystem: dcid:PublicSewerage

Node: dcid:Count_Person_SecondaryTreatment_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant_AsAFractionOf_Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
typeOf: dcid:StatisticalVariable
name: "Public total treatment (connected to a wastewater treatment plant), Secondary treatment"
populationType: dcid:WasteWater
measuredProperty: dcid:amount
name: "Percentage of population connected to the total secondary treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentLevel
measurementDenominator: dcid:Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
waterTreatmentLevel: dcid:SecondaryTreatment
waterTreatmentStatus: dcid:WasteWaterTreated
waterTreatmentSystem: dcid:PublicSewerage
waterTreatmentType: dcid:WasteWaterTreatmentPlant

Node: dcid:Amount_WasteWater_TertiaryTreatment_WasteWaterTreatmentPlant_PerWaterTreatmentLevel
Node: dcid:Count_Person_TertiaryTreatment_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant_AsAFractionOf_Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
typeOf: dcid:StatisticalVariable
name: "Public total treatment (connected to a wastewater treatment plant), Tertiary treatment"
populationType: dcid:WasteWater
measuredProperty: dcid:amount
name: "Percentage of population connected to the tertiary treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentLevel
measurementDenominator: dcid:Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
waterTreatmentLevel: dcid:TertiaryTreatment
waterTreatmentStatus: dcid:WasteWaterTreated
waterTreatmentSystem: dcid:PublicSewerage
waterTreatmentType: dcid:WasteWaterTreatmentPlant

Node: dcid:Amount_WasteWater_UnspecifiedTreatment_WasteWaterTreatmentPlant_PerWaterTreatmentLevel
Node: dcid:Count_Person_UnspecifiedTreatment_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant_AsAFractionOf_Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
typeOf: dcid:StatisticalVariable
name: "Public total treatment (connected to a wastewater treatment plant) , Unspecified (other) treatment"
populationType: dcid:WasteWater
measuredProperty: dcid:amount
name: "Percentage of population connected to the Unspecified (other) treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentLevel
measurementDenominator: dcid:Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
waterTreatmentLevel: dcid:UnspecifiedTreatment
waterTreatmentStatus: dcid:WasteWaterTreated
waterTreatmentSystem: dcid:PublicSewerage
waterTreatmentType: dcid:WasteWaterTreatmentPlant

Node: dcid:Count_Person_PublicSewerageWithoutTreatment_PerWaterTreatmentType
Node: dcid:Count_Person_WasteWaterIndependentlyTreated_AsAFractionOf_Count_Person
typeOf: dcid:StatisticalVariable
name: "Total public sewerage (% of resident population connected to a wastewater collecting system), Population connected to the public sewerage without treatment"
name: "Percentage of population connected to the Independent treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentType
waterTreatmentType: dcid:PublicSewerageWithoutTreatment
measurementDenominator: dcid:Count_Person
waterTreatmentSystem: dcid:WasteWaterIndependentlyTreated

Node: dcid:Count_Person_Resident_WasteWaterCollectingSystem_PerWaterTreatmentSystem
Node: dcid:Count_Person_WasteWaterNotTreated_PublicSewerage_PublicSewerageWithoutTreatment_AsAFractionOf_Count_Person_PublicSewerage
typeOf: dcid:StatisticalVariable
name: "Total public sewerage (% of resident population connected to a wastewater collecting system)"
name: "Percentage of population connected to the public sewerage without treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentSystem
residentStatus: dcid:Resident
waterTreatmentSystem: dcid:WasteWaterCollectingSystem
measurementDenominator: dcid:Count_Person_PublicSewerage
waterTreatmentStatus: dcid:WasteWaterNotTreated
waterTreatmentSystem: dcid:PublicSewerage
waterTreatmentType: dcid:PublicSewerageWithoutTreatment

Node: dcid:Count_Person_WasteWaterIndependentlyTreated_PerWaterTreatmentSystem
Node: dcid:Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant
typeOf: dcid:StatisticalVariable
name: "Population connected to independent treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentSystem
waterTreatmentSystem: dcid:WasteWaterIndependentlyTreated
waterTreatmentStatus: dcid:WasteWaterTreated
waterTreatmentSystem: dcid:PublicSewerage
waterTreatmentType: dcid:WasteWaterTreatmentPlant

Node: dcid:Count_Person_WasteWaterTreated_PerWaterTreatmentStatus
Node: dcid:Count_Person_WasteWaterTreated_PublicSewerage_WasteWaterTreatmentPlant_AsAFractionOf_Count_Person_PublicSewerage
typeOf: dcid:StatisticalVariable
name: "Total connected to wastewater treatment"
name: "Percentage of population connected to the public total treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentStatus
measurementDenominator: dcid:Count_Person_PublicSewerage
waterTreatmentStatus: dcid:WasteWaterTreated
waterTreatmentSystem: dcid:PublicSewerage
waterTreatmentType: dcid:WasteWaterTreatmentPlant

Node: dcid:Count_Person_WasteWaterTreatmentPlant_PerWaterTreatmentType
Node: dcid:Count_Person_WasteWaterTreatment
typeOf: dcid:StatisticalVariable
name: "Public total treatment (connected to a wastewater treatment plant)"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:waterTreatmentType
waterTreatmentType: dcid:WasteWaterTreatmentPlant
wasteTreatmentType: dcid:WasteWaterTreatment

Node: dcid:Count_Person_WasteWaterTreatment_AsAFractionOf_Count_Person_WasteWaterTreatment
typeOf: dcid:StatisticalVariable
name: "Percentage of population connected to the total wastewater treatment"
populationType: dcid:Person
measuredProperty: dcid:count
statType: dcid:measuredValue
measurementDenominator: dcid:Count_Person_WasteWaterTreatment
wasteTreatmentType: dcid:WasteWaterTreatment

0 comments on commit 81b951e

Please sign in to comment.