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 Mar 26, 2024
1 parent b39202f commit ef4fce9
Show file tree
Hide file tree
Showing 13 changed files with 6,166 additions and 18 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
109 changes: 103 additions & 6 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 @@ -3978,3 +3978,100 @@ domainIncludes: dcs:Provenance
rangeIncludes: dcs:Text
name: "sourceDataUrl"
description: "Location of source data to download."

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

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

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

Node: dcid:teachingExperience
typeOf: dcid:Property
name: "teachingExperience"
domainIncludes: Teacher,dcid:Person
rangeIncludes: dcid:TeachingExperienceEnum

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

Node: dcid:classroomCondition
typeOf: dcid:Property
name: "classroomCondition"
domainIncludes: dcid:ClassRoom
rangeIncludes: dcid:ClassroomConditionEnum

Node: dcid:schoolEnrollment
typeOf: dcid:Property
name: "schoolEnrollment"
domainIncludes: Children,dcid:Student,dcid:Teacher

Node: dcid:typeOfActivity
typeOf: dcid:Property
name: "typeOfActivity"
domainIncludes: dcid:ClassRoom
rangeIncludes: dcid:TypeOfActivityEnum

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

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

Node: dcid:BirthEventEnum
typeOf: schema:Class
subClassOf: dcs:Enumeration
name: "BirthEventEnum"

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

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

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

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

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

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

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

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

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

Loading

0 comments on commit ef4fce9

Please sign in to comment.