Skip to content

Commit

Permalink
Schema and Data Refresh CL for congo_drc_demographics.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 598621841
  • Loading branch information
Data Commons authored and copybara-github committed Sep 17, 2024
1 parent 8dbf107 commit 42513b2
Show file tree
Hide file tree
Showing 13 changed files with 6,298 additions and 21 deletions.
6 changes: 3 additions & 3 deletions core/WorldDevelopmentIndicators.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ description: "The activity of making, providing, purchasing, or selling goods or
Node: dcid:activitySource
name: "activitySource"
typeOf: schema:Property
domainIncludes: dcs:EconomicActivity
rangeIncludes: dcs:EconomicActivitySourceEnum
domainIncludes: dcs:EconomicActivity, dcid:Person, dcid:Debt
rangeIncludes: dcs:EconomicActivitySourceEnum, dcid:EnergyConsumptionSectorEnum, dcid:Production, dcid:Class
description: "The source of economic activity. For example, GDP & GNI."

Node: dcid:EconomicActivitySourceEnum
Expand Down Expand Up @@ -264,7 +264,7 @@ name: "medicalCondition"
typeOf: schema:Property
description: "A medical condition is a broad term that includes all diseases and disorders."
descriptionUrl: "https://en.wikipedia.org/wiki/Lists_of_diseases"
domainIncludes: schema:Person, dcs:Disease, dcs:WHO/PregnantWomen, dcs:MedicalConditionIncident
domainIncludes: schema:Person, dcs:Disease, dcs:WHO/PregnantWomen, dcs:MedicalConditionIncident, dcid:MortalityEvent
rangeIncludes: dcs:MedicalConditionIncidentTypeEnum, dcs:Disease, dcs:HealthOutcomeEnum, dcs:ICD10_113CausesOfDeath

Node: dcid:Alcohol
Expand Down
8 changes: 6 additions & 2 deletions core/census_enums.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -1358,9 +1358,9 @@ Node: dcid:BlackAfrican
typeOf: dcs:RaceCodeEnum
name: "BlackAfrican"

Node: dcid:SouthAfrica_Coloured
Node: dcid:SouthAfrica_Colored
typeOf: dcs:RaceCodeEnum
name: "SouthAfrica_Coloured"
name: "SouthAfrica_Colored"

Node: dcid:Indian
typeOf: dcs:RaceCodeEnum
Expand Down Expand Up @@ -2439,3 +2439,7 @@ Node: dcid:WorkedFromHome
typeOf: dcid:USC_CommuteModeEnum
description: "The worked from home mode has started from covid period and it is for a short time."
name: "WorkedFromHome"

Node: dcid:FirstBirth
typeOf: dcid:BirthEventStatusEnum
name: "First Birth"
4 changes: 3 additions & 1 deletion core/census_properties.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ Node: typeOfSchool
dcid: "typeOfSchool"
name: "typeOfSchool"
typeOf: schema:Property
domainIncludes: dcid:School, dcid:ClassRoom, dcid:Student, dcid:Children, dcid:Teacher
rangeIncludes: dcid:PublicSchool, dcid:PrivateSchool

Node: veteranStatus
typeOf: schema:Property
Expand Down Expand Up @@ -389,7 +391,7 @@ Node: dcid:residentStatus
typeOf: schema:Property
name: "residentStatus"
description: "The status of a person's residence in a place, e.g. \"lived in the same house 1 year ago.\""
domainIncludes: dcs:Person
domainIncludes: dcs:Person, dcid:EconomicActivity
rangeIncludes: dcs:USC_ResidentStatusEnum, dcs:ResidentStatusEnum

Node: dcid:facilities
Expand Down
2 changes: 1 addition & 1 deletion core/climate.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ typeOf: dcs:LandCoverClassEnum
name: "Shrubland"

Node: dcid:Forest
typeOf: dcs:LandCoverClassEnum
typeOf: dcs:LandCoverClassEnum, dcid:EconomicActivitySourceEnum
name: "Forest"

Node: dcid:SnowIce
Expand Down
6 changes: 3 additions & 3 deletions core/currency.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ description: "Danish Krone."
Node: dcid:AIF
typeOf: dcs:Currency
name: "AIF"
description: "Affars and Issas Franc (historical)."
description: "Affairs and Issas Franc (historical)."

Node: dcid:DJF
typeOf: dcs:Currency
Expand Down Expand Up @@ -1448,12 +1448,12 @@ Node: dcid:fromCurrency
typeOf: schema:Property
name: "fromCurrency"
description: "Exchange rate from currency."
domainIncludes: schema:Place
domainIncludes: schema:Place, dcid:Currency
rangeIncludes: dcs:Currency

Node: dcid:toCurrency
typeOf: schema:Property
name: "toCurrency"
description: "Exchange rate to currency."
domainIncludes: schema:Place
domainIncludes: schema:Place, dcid:Currency
rangeIncludes: dcs:Currency
122 changes: 116 additions & 6 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ dcid: "age"
name: "age"
typeOf: schema:Property
rangeIncludes: dcs:QuantityRange, schema:Number, dcs:AgeStatusEnum, dcs:SDG_AgeEnum
domainIncludes: schema:Person, schema:Organization, schema:Household
domainIncludes: schema:Person, schema:Organization, schema:Household, dcid:Student

Node: employmentStatus
dcid: "employmentStatus"
Expand Down Expand Up @@ -883,7 +883,7 @@ Node: dcid:grossDomesticProduct
typeOf: schema:Property
name: "grossDomesticProduct"
rangeIncludes: schema:MonetaryAmount
domainIncludes: schema:AdministrativeArea, dcs:NAICSEnum
domainIncludes: schema:AdministrativeArea, dcs:NAICSEnum, dcid:EconomicActivity
description: "Gross domestic product (GDP) is the monetary value of all the finished goods and services produced within a place in a specific time period"

Node: dcid:growthRate
Expand Down Expand Up @@ -1472,7 +1472,7 @@ Node: dcid:lendingEntity
typeOf: dcs:Property
name: "lendingEntity"
domainIncludes: dcid:Debt
rangeIncludes: dcid:LendingEntityEnum,dcid:Country
rangeIncludes: dcid:LendingEntityEnum,dcid:Country, dcid:DonationSourceEnum

Node: dcid:amountPrincipalRepayment
typeOf: dcs:Property
Expand Down Expand Up @@ -3033,8 +3033,8 @@ rangeIncludes: dcs:MedicalTestResultEnum
Node: dcid:economicSector
name: "economicSector"
typeOf: schema:Property
domainIncludes: schema:Person
rangeIncludes: dcs:NACEEnum, dcs:EconomicSectorEnum
domainIncludes: schema:Person, dcid:EconomicActivity
rangeIncludes: dcs:NACEEnum, dcs:EconomicSectorEnum, dcid:EmissionSourceEnum, dcid:EconomicActivitySourceEnum

Node: dcid:workPeriod
name: "workPeriod"
Expand Down Expand Up @@ -3614,7 +3614,8 @@ description: "Type of income a person received."
Node: dcid:incomeSource
typeOf: dcs:Property
name: "incomeSource"
rangeIncludes: dcs:IncomeSourceEnum
rangeIncludes: dcs:IncomeSourceEnum, dcid:EconomicActivitySourceEnum
domainIncludes: dcid:EconomicActivity
description: "Priority level of the job a person is getting an income from. A Main Job or All Jobs"

Node: dcid:consumerGoodsCategory
Expand Down Expand Up @@ -4183,3 +4184,112 @@ Node: dcid:Per1000Males
typeOf: dcs:UnitOfMeasure
name: "Per 1k males"
description: "Per 1000 male population."

Node: dcid:DRC_CasualPartners
typeOf: dcid:MaritalStatusEnum
name: "DRC_ Casual Partners"

Node: dcid:DRC_FirstUnion
typeOf: dcid:MaritalStatusEnum
name: "DRC_ First Union"

Node: dcid:inflationRate
typeOf: dcid:Property
name: "inflationRate"
domainIncludes: dcid:EconomicActivity

Node: dcid:priceIndex
typeOf: dcid:Property
name: "priceIndex"
domainIncludes: dcid:EconomicActivity, dcid:Household

Node: dcid:donationType
typeOf: dcid:Property
name: "donationType"
domainIncludes: dcid:EconomicActivity
rangeIncludes: dcid:DebtInstrumentEnum

Node: dcid:donationSource
typeOf: dcid:Property
name: "donationSource"
domainIncludes: dcid:EconomicActivity
rangeIncludes: dcid:DonationSourceEnum,dcid:Country
description:"Source of the donation"

Node: dcid:trade
typeOf: dcid:Property
name: "trade"
domainIncludes: dcid:EconomicActivity

Node: dcid:amountDue
typeOf: dcid:Property
name: "amountDue"
domainIncludes: dcid:Debt

Node: dcid:amountService
typeOf: dcid:Property
name: "amountService"
domainIncludes: dcid:Debt

Node: dcid:arrears
typeOf: dcid:Property
name: "arrears"
domainIncludes: dcid:Debt

Node: dcid:coverageRates
typeOf: dcid:Property
name: "coverageRates"
rangeIncludes: dcid:CoverageRatesEnum
domainIncludes: dcid:School
description:"The proportion of students enrolled in school out of the total school-age population, with a focus on different levels of education"

Node: dcid:schoolManagementRegime
typeOf: dcid:Property
name: "schoolManagementRegime"
domainIncludes: School,dcid:ClassRoom,dcid:Establishment,dcid:Person,dcid:Children,dcid:Teacher,dcid:Student
rangeIncludes: dcid:SchoolManagementRegimeEnum
description:"School management regime refers to the way in which schools are run"

Node: dcid:teachingExperience
typeOf: dcid:Property
name: "teachingExperience"
domainIncludes: dcid:Teacher,dcid:Person
rangeIncludes: dcid:TeachingExperienceEnum
description:"Experience in Teaching"

Node: dcid:typeOfClassroom
typeOf: dcid:Property
name: "typeOfClassroom"
domainIncludes: dcid:ClassRoom
rangeIncludes: dcid:TypeOfClassroomEnum
description:"ClassRoom Type"

Node: dcid:classroomCondition
typeOf: dcid:Property
name: "classroomCondition"
domainIncludes: dcid:ClassRoom
rangeIncludes: dcid:ClassroomConditionEnum
description:"Condition of the ClassRoom"

Node: dcid:schoolEnrollment
typeOf: dcid:Property
name: "schoolEnrollment"
domainIncludes: dcs:Child,dcid:Student,dcid:Teacher
description:"Enrollment of the School"

Node: dcid:activityType
typeOf: dcid:Property
name: "activityType"
domainIncludes: dcid:ClassRoom
rangeIncludes: dcid:ActivityTypeEnum

Node: dcid:lethality
typeOf: dcid:Property
name: "lethality"
domainIncludes: dcid:MedicalConditionIncident

Node: dcid:placeOfResidenceClassification
typeOf: dcid:Property
name: "placeOfResidenceClassification"
domainIncludes: dcid:Person
rangeIncludes: dcid:HumanSettlementClassificationEnum
55 changes: 55 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -598,3 +598,58 @@ typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "ImputationTypeEnum"
description: "Provides more information about an imputed measurement."

Node: dcid:DonationSourceEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "DonationSourceEnum"
description:"Enumeration for Source of the donation"

Node: dcid:CoverageRatesEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "CoverageRatesEnum"
description:"Enumeration for Coverage Rates By Level Of Education"

Node: dcid:SchoolManagementRegimeEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "SchoolManagementRegimeEnum"
description:"Enumeration for School Management Regime"

Node: dcid:TeachingExperienceEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "TeachingExperienceEnum"
description:"Enumeration for Teaching Experience"

Node: dcid:MeasurementQualifierEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "MeasurementQualifierEnum"
description: "Enumeration for MeasurementQualifier,Provides additional qualification to an observation. For example, a GDP observation measures the Nominal value."

Node: dcid:TypeOfClassroomEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "TypeOfClassroomEnum"
description:"Enumeration for the Type of ClassRoom"

Node: dcid:ClassroomConditionEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "ClassroomConditionEnum"
description:"Enumeration for the ClassRoom Condition"

Node: dcid:ActivityTypeEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "ActivityTypeEnum"

Node: dcid:SchoolEnrollmentEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "SchoolEnrollmentEnum"
description:"Enumeration for school Enrollment"


Loading

0 comments on commit 42513b2

Please sign in to comment.