From 1574a4a68b900a022e5593f6cd153f62d448dab7 Mon Sep 17 00:00:00 2001 From: Data Commons Date: Thu, 23 Nov 2023 02:01:44 -0800 Subject: [PATCH] Ghana education and environment Manifests CL at Regional level. PiperOrigin-RevId: 584831899 --- core/census_properties.mcf | 4 +- core/dcschema.mcf | 11 +++ core/dcschema_enum_classes.mcf | 10 +++ core/dcschema_enum_instances.mcf | 8 ++ core/schema.mcf | 2 +- stat_vars/ghana_education_stat_vars.mcf | 100 ++++++++++++++++++++++ stat_vars/ghana_environment_stat_vars.mcf | 44 ++++++++++ 7 files changed, 176 insertions(+), 3 deletions(-) create mode 100644 stat_vars/ghana_education_stat_vars.mcf create mode 100644 stat_vars/ghana_environment_stat_vars.mcf diff --git a/core/census_properties.mcf b/core/census_properties.mcf index c5330926c..7de0bae5f 100644 --- a/core/census_properties.mcf +++ b/core/census_properties.mcf @@ -63,7 +63,7 @@ Node: educationalAttainment dcid: "educationalAttainment" name: "educationalAttainment" typeOf: schema:Property -domainIncludes: schema:Person +domainIncludes: schema:Person, schema:Student rangeIncludes: dcs:USC_EducationalAttainmentEnum, dcs:WHO_EducationalAttainmentEnum, dcs:SchoolGradeLevelEnum, dcs:SDG_EducationLevEnum Node: dcid:bachelorsDegreeMajor @@ -256,7 +256,7 @@ Node: schoolEnrollment dcid: "schoolEnrollment" name: "schoolEnrollment" rangeIncludes: dcs:USC_SchoolEnrollmentEnum -domainIncludes: schema:Person +domainIncludes: schema:Person, schema:Student typeOf: schema:Property Node: spouseAbsentReason diff --git a/core/dcschema.mcf b/core/dcschema.mcf index 4d7553caa..c337fc9b5 100644 --- a/core/dcschema.mcf +++ b/core/dcschema.mcf @@ -3401,4 +3401,15 @@ domainIncludes: schema:Thing rangeIncludes: schema:Thing description: "Indicates that an entity is included in another entity. For example, a variable (StatisticalVariable) included in an import (Provenance)." +Node: dcid:sanitationFacilityType +typeOf: dcs:Property +name: "sanitationFacilityType" +domainIncludes: dcid:Person +rangeIncludes: dcid:SanitationFacilityTypeEnum + +Node: dcid:drinkingWaterSourceType +typeOf: dcs:Property +name: "drinkingWaterSourceType" +domainIncludes: dcid:Person +rangeIncludes: dcid:DrinkingWaterSourceTypeEnum diff --git a/core/dcschema_enum_classes.mcf b/core/dcschema_enum_classes.mcf index 6cf084935..b38765c59 100644 --- a/core/dcschema_enum_classes.mcf +++ b/core/dcschema_enum_classes.mcf @@ -509,3 +509,13 @@ Node: dcid:WorldBank_CurrencyEnum typeOf: schema:Class subClassOf: dcs:Enumeration name: "WorldBank_CurrencyEnum" + +Node: dcid:SanitationFacilityTypeEnum +typeOf: schema:Class +subClassOf: dcs:Enumeration +name: "SanitationFacilityTypeEnum" + +Node: dcid:DrinkingWaterSourceTypeEnum +typeOf: schema:Class +subClassOf: dcs:Enumeration +name: "DrinkingWaterSourceTypeEnum" diff --git a/core/dcschema_enum_instances.mcf b/core/dcschema_enum_instances.mcf index 0d1cc0dc0..a891d5d36 100644 --- a/core/dcschema_enum_instances.mcf +++ b/core/dcschema_enum_instances.mcf @@ -2792,3 +2792,11 @@ name:"Kilogram Per Hectare" Node: dcid:StudentTeacherRatio typeOf:UnitOfMeasure name:"StudentTeacherRatio" + +Node: dcid:ImprovedSanitationFacility +typeOf: dcid:SanitationFacilityTypeEnum +name: "Improved Sanitation Facility" + +Node: dcid:ImprovedDrinkingWaterSource +typeOf: dcid:DrinkingWaterSourceTypeEnum +name: "Improved Drinking Water Source" diff --git a/core/schema.mcf b/core/schema.mcf index 2b52f6c57..6bce72acc 100644 --- a/core/schema.mcf +++ b/core/schema.mcf @@ -8371,7 +8371,7 @@ name: "lodgingUnitType" Node: gender dcid: "gender" typeOf: schema:Property -domainIncludes: schema:Person, schema:BirthEvent +domainIncludes: schema:Person, schema:BirthEvent, schema:Student name: "gender" rangeIncludes: schema:GenderType, dcs:SDG_SexEnum diff --git a/stat_vars/ghana_education_stat_vars.mcf b/stat_vars/ghana_education_stat_vars.mcf new file mode 100644 index 000000000..92fd5597a --- /dev/null +++ b/stat_vars/ghana_education_stat_vars.mcf @@ -0,0 +1,100 @@ +Node: dcid:Count_Student_EducationalAttainmentPrimaryEducation +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +educationalAttainment: dcid:PrimaryEducation + +Node: dcid:Count_Student_EducationalAttainmentPrimaryEducation_Female +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +educationalAttainment: dcid:PrimaryEducation +gender: dcid:Female + +Node: dcid:Count_Student_EducationalAttainmentPrimaryEducation_Male +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +educationalAttainment: dcid:PrimaryEducation +gender: dcid:Male + +Node: dcid:Count_Student_EnrolledInSchool +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +schoolEnrollment: dcid:EnrolledInSchool + +Node: dcid:Count_Student_Female_EnrolledInSchool +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +gender: dcid:Female +schoolEnrollment: dcid:EnrolledInSchool + +Node: dcid:Count_Student_Male_EnrolledInSchool +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +gender: dcid:Male +schoolEnrollment: dcid:EnrolledInSchool + +Node: dcid:Count_Student_PrimaryEducation_EnrolledInSchool_AsAFractionOf_Count_Student_EnrolledInSchool +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Student_EnrolledInSchool +enrollmentLevel: dcid:PrimaryEducation +schoolEnrollment: dcid:EnrolledInSchool + +Node: dcid:Count_Student_PrimaryEducation_Female_EnrolledInSchool_AsAFractionOf_Count_Student_Female_EnrolledInSchool +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Student_Female_EnrolledInSchool +enrollmentLevel: dcid:PrimaryEducation +gender: dcid:Female +schoolEnrollment: dcid:EnrolledInSchool + +Node: dcid:Count_Student_PrimaryEducation_Male_EnrolledInSchool_AsAFractionOf_Count_Student_Male_EnrolledInSchool +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Student_Male_EnrolledInSchool +enrollmentLevel: dcid:PrimaryEducation +gender: dcid:Male +schoolEnrollment: dcid:EnrolledInSchool + +Node: dcid:Count_Student_SchoolGrade1_AsAFractionOf_Count_Student_SchoolGrade6 +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Student_SchoolGrade6 +enrollmentLevel: dcid:SchoolGrade1 + +Node: dcid:Count_Student_SchoolGrade1_Female_AsAFractionOf_Count_Student_SchoolGrade6_Female +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Student_SchoolGrade6_Female +enrollmentLevel: dcid:SchoolGrade1 +gender: dcid:Female + +Node: dcid:Count_Student_SchoolGrade1_Male_AsAFractionOf_Count_Student_SchoolGrade6_Male +typeOf: dcid:StatisticalVariable +populationType: dcid:Student +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Student_SchoolGrade6_Male +enrollmentLevel: dcid:SchoolGrade1 +gender: dcid:Male diff --git a/stat_vars/ghana_environment_stat_vars.mcf b/stat_vars/ghana_environment_stat_vars.mcf new file mode 100644 index 000000000..696a3952d --- /dev/null +++ b/stat_vars/ghana_environment_stat_vars.mcf @@ -0,0 +1,44 @@ +Node: dcid:Count_Person_ImprovedDrinkingWaterSource_Rural_AsAFractionOf_Count_Person_Rural +typeOf: dcid:StatisticalVariable +populationType: dcid:Person +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Person_Rural +drinkingWaterSourceType: dcid:ImprovedDrinkingWaterSource +placeOfResidenceClassification: dcid:Rural + +Node: dcid:Count_Person_ImprovedDrinkingWaterSource_Urban_AsAFractionOf_Count_Person_Urban +typeOf: dcid:StatisticalVariable +populationType: dcid:Person +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Person_Urban +drinkingWaterSourceType: dcid:ImprovedDrinkingWaterSource +placeOfResidenceClassification: dcid:Urban + +Node: dcid:Count_Person_ImprovedSanitationFacility_AsAFractionOf_Count_Person +typeOf: dcid:StatisticalVariable +populationType: dcid:Person +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Person +sanitationFacilityType: dcid:ImprovedSanitationFacility + +Node: dcid:Count_Person_Rural_ImprovedSanitationFacility_AsAFractionOf_Count_Person_Rural +typeOf: dcid:StatisticalVariable +populationType: dcid:Person +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Person_Rural +placeOfResidenceClassification: dcid:Rural +sanitationFacilityType: dcid:ImprovedSanitationFacility + +Node: dcid:Count_Person_Urban_ImprovedSanitationFacility_AsAFractionOf_Count_Person_Urban +typeOf: dcid:StatisticalVariable +populationType: dcid:Person +measuredProperty: dcid:count +statType: dcid:measuredValue +measurementDenominator: dcid:Count_Person_Urban +placeOfResidenceClassification: dcid:Urban +sanitationFacilityType: dcid:ImprovedSanitationFacility +