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 Apr 2, 2024
1 parent 298dc63 commit 2aaf4c4
Show file tree
Hide file tree
Showing 13 changed files with 6,252 additions and 19 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
4 changes: 4 additions & 0 deletions core/census_enums.mcf
Original file line number Diff line number Diff line change
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
4 changes: 2 additions & 2 deletions core/currency.mcf
Original file line number Diff line number Diff line change
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
118 changes: 111 additions & 7 deletions core/dcschema.mcf
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Node: dcid:typeOf
name: "typeOf"
typeOf: schema:Property
Expand Down Expand Up @@ -844,7 +843,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 @@ -1380,7 +1379,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 @@ -2936,8 +2935,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 @@ -3449,7 +3448,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 @@ -3487,7 +3487,6 @@ typeOf: schema:Property
domainIncludes: dcs:HealthEstablishment
rangeIncludes: dcs:HealthEstablishmentTypeEnum


Node: dcid:footnote
typeOf: schema:Property
name: "footnote"
Expand Down Expand Up @@ -3817,3 +3816,108 @@ domainIncludes: dcs:StatisticalVariable
rangeIncludes: schema:StatisticalVariable
name: "denominatorForNormalization"
description: "Additional StatisticalVariable that can be used for normalizing this StatisticalVariable. If unspecified and `isNormalizable` is True, then `Count_Person` is the default."

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, 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,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:"Coverage Rates By Level 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: 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: Children,dcid:Student,dcid:Teacher
description:"Enrollment of the School"

Node: dcid:typeOfActivity
typeOf: dcid:Property
name: "typeOfActivity"
domainIncludes: dcid:ClassRoom
rangeIncludes: dcid:TypeOfActivityEnum
description:"Type of the Activity"

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

56 changes: 56 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -586,3 +586,59 @@ typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "LicenseTypeEnum"
description: "Type of data license, for certain common licenses."

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:TypeOfActivityEnum
typeOf: dcid:Class
subClassOf: dcid:Enumeration
name: "TypeOfActivityEnum"
description:"Enumeration for Type of Activity"

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


Loading

0 comments on commit 2aaf4c4

Please sign in to comment.