Skip to content

Commit

Permalink
Schema changes for the FBI hate crime import.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 414135218
  • Loading branch information
Abilityguy authored and copybara-github committed Dec 6, 2021
1 parent 162d3fc commit 03606ef
Show file tree
Hide file tree
Showing 4 changed files with 272 additions and 3 deletions.
72 changes: 70 additions & 2 deletions core/census_enums.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -1124,12 +1124,12 @@ dcid: "AmericanIndianOrAlaskaNativeAlone"
name: "AmericanIndianOrAlaskaNativeAlone"

Node: HispanicOrLatino
typeOf: dcs:RaceCodeEnum
typeOf: dcs:RaceCodeEnum, dcs:EthnicityEnum
dcid: "HispanicOrLatino"
name: "HispanicOrLatino"

Node: NotHispanicOrLatino
typeOf: dcs:RaceCodeEnum
typeOf: dcs:RaceCodeEnum, dcs:EthnicityEnum
dcid: "NotHispanicOrLatino"
name: "NotHispanicOrLatino"

Expand Down Expand Up @@ -1190,6 +1190,22 @@ Node: dcid:OtherPacificIslander
typeOf: dcs:RaceCodeEnum
name: "OtherPacificIslander"

Node: dcid:AsianOrPacificIslander
typeOf: dcs:RaceCodeEnum
name: "AsianOrPacificIslander"

Node: dcid:Arab
typeOf: dcs:RaceCodeEnum
name: "Arab"

Node: dcid:UCR_OtherRace
typeOf: dcs:RaceCodeEnum
name: "UCR_OtherRace"

Node: dcid:UnknownRace
typeOf: dcs:RaceCodeEnum
name: "UnknownRace"

Node: dcid:USC_RacialMinority
typeOf: dcs:RaceCodeEnum
name: "USC_RacialMinority"
Expand Down Expand Up @@ -1590,6 +1606,18 @@ specializationOf: dcs:WithDisability
dcid: "IndependentLivingDifficulty"
name: "IndependentLivingDifficulty"

Node: dcid:PhysicalDisability
name: "PhysicalDisability"
typeOf: dcs:USC_DisabilityStatusEnum
description: "Any physical impairment; any physiological disorder or condition, cosmetic disfigurement, or anatomical loss affecting one or more of the following body systems: neurological, musculoskeletal, special sense organs, respiratory (including speech organs), cardiovascular, reproductive, digestive, genitourinary, hemic and lymphatic, skin, and endocrine."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:MentalDisability
name: "MentalDisability"
typeOf: dcs:USC_DisabilityStatusEnum
description: "Any mental impairment or psychological disorder such as: organic brain syndrome, emotional or mental illness, and specific learning disabilities."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:USC_MortgageStatusEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
Expand Down Expand Up @@ -1860,3 +1888,43 @@ name: "Other Religion and Persuasions as per Indian Census"
Node: dcid:ReligionNotStated
typeOf: dcs:ReligionEnum
name: "ReligionNotStated"

Node: dcid:Judaism
typeOf: dcs:ReligionEnum
name: "Judaism"

Node: dcid:Protestantism
typeOf: dcs:ReligionEnum
name: "Protestantism"

Node: dcid:Catholicism
typeOf: dcs:ReligionEnum
name: "Catholicism"

Node: dcid:JehovahsWitnesses
typeOf: dcs:ReligionEnum
name: "JehovahsWitnesses"

Node: dcid:Mormonism
typeOf: dcs:ReligionEnum
name: "Mormonism"

Node: dcid:EasternChristianity
typeOf: dcs:ReligionEnum
name: "EasternChristianity"

Node: dcid:AtheismOrAgnosticism
typeOf: dcs:ReligionEnum
name: "AtheismOrAgnosticism"

Node: dcid:UCR_MultipleReligion
typeOf: dcs:ReligionEnum
name: "UCR_MultipleReligion"

Node: dcid:UCR_OtherChristian
typeOf: dcs:ReligionEnum
name: "UCR_OtherChristian"

Node: dcid:UCR_OtherReligion
typeOf: dcs:ReligionEnum
name: "UCR_OtherReligion"
90 changes: 89 additions & 1 deletion core/dcschema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,14 @@ dcid: "CriminalActivities"
typeOf: schema:Class
name: "CriminalActivities"
subClassOf: schema:Intangible
description: "Refers to an offense which is a breach of the criminal laws."

Node: dcid:CriminalIncidents
typeOf: schema:Class
name: "CriminalIncidents"
subClassOf: schema:Intangible
description: "A criminal incident is defined as one or more offenses committed by the same offender, or group of offenders acting in concert, at the same time and place."
descriptionUrl: "https://ucr.fbi.gov/nibrs/2015/resource-pages/incidents-and-offenses-2015_final.pdf"

Node: location
dcid: "location"
Expand Down Expand Up @@ -431,11 +439,91 @@ rangeIncludes: schema:Text

Node: crimeType
dcid: "crimeType"
domainIncludes: schema:CriminalActivities
domainIncludes: schema:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: schema:CrimeTypeEnum
typeOf: schema:Property
name: "crimeType"

Node: dcid:isHateCrime
name: "isHateCrime"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: schema:Boolean

Node: dcid:biasMotivation
name: "biasMotivation"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: schema:Property, dcs:BiasMotivationEnum

Node: dcid:sexualOrientation
name: "sexualOrientation"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:SexualOrientationEnum
description: "The term for a person's physical, romantic, and/or emotional attraction to members of the same and/or opposite sex, including lesbian, gay, bisexual, and heterosexual (straight) individuals."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:offenderType
name: "offenderType"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:OffenderTypeEnum

Node: dcid:ethnicity
name: "ethnicity"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:EthnicityEnum

Node: dcid:offenderRace
name: "offenderRace"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:RaceCodeEnum

Node: dcid:offenderEthnicity
name: "offenderEthnicity"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:EthnicityEnum

Node: dcid:targetedRace
name: "targetedRace"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:RaceCodeEnum

Node: dcid:targetedGender
name: "targetedGender"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: schema:GenderType

Node: dcid:targetedEthnicity
name: "targetedEthnicity"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:EthnicityEnum

Node: dcid:targetedReligion
name: "targetedReligion"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:ReligionEnum

Node: dcid:targetedDisabilityStatus
name: "targetedDisabilityStatus"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:USC_DisabilityStatusEnum

Node: dcid:targetedSexualOrientation
name: "targetedSexualOrientation"
typeOf: schema:Property
domainIncludes: dcs:CriminalActivities, dcs:CriminalIncidents
rangeIncludes: dcs:SexualOrientationEnum

Node: voterStatus
dcid: "voterStatus"
name: "voterStatus"
Expand Down
21 changes: 21 additions & 0 deletions core/dcschema_enum_classes.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ typeOf: schema:Class
subClassOf: dcs:CrimeTypeEnum
description: "Enumeration class of specific violent crime types."

Node: dcid:BiasMotivationEnum
name: "BiasMotivationEnum"
typeOf: schema:Class
subClassOf: schema:Enumeration
description: "Enumeration class of bias motivation in hate crimes"

Node: dcid:EmploymentStatusEnum
name: "EmploymentStatusEnum"
subClassOf: schema:Enumeration
Expand Down Expand Up @@ -374,3 +380,18 @@ typeOf: schema:Class
subClassOf: schema:Enumeration
name: "EnrollmentStatusEnum"
description: "Identifies a broad type of institution a person might be enrolled in."

Node: dcid:SexualOrientationEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
name: "SexualOrientationEnum"

Node: dcid:OffenderTypeEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
name: "OffenderTypeEnum"

Node: dcid:EthnicityEnum
typeOf: schema:Class
subClassOf: schema:Enumeration
name: "EthnicityEnum"
92 changes: 92 additions & 0 deletions core/dcschema_enum_instances.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -1195,6 +1195,26 @@ typeOf: dcs:CrimeTypeEnum
name: "Combined Crime"
description: "Sum of Property, Violent, and Arson crimes included in the UCR datasets."

Node: dcid:SingleBias
typeOf: dcs:BiasMotivationEnum
name: "SingleBias"

Node: dcid:MultipleBias
typeOf: dcs:BiasMotivationEnum
name: "MultipleBias"

Node: dcid:RaceOrEthnicity
typeOf: dcs:BiasMotivationEnum
name: "RaceOrEthnicity"

Node: dcid:UCR_OtherRaceOrEthnicity
typeOf: dcs:BiasMotivationEnum
name: "UCR_OtherRaceOrEthnicity"

Node: dcid:UnknownBias
typeOf: dcs:BiasMotivationEnum
name: "UnknownBias"

Node: dcid:DataCommonsAggregate
typeOf: dcs:AggregateTypeEnum
name: "DataCommonsAggregate"
Expand Down Expand Up @@ -1505,3 +1525,75 @@ specializationOf: dcs:UnincorporatedBusinessOwnerOrUnpaidFamilyWorker
Node: dcid:EnrolledInEducationOrTraining
typeOf: dcs:EnrollmentStatusEnum
name: "EnrolledInEducationOrTraining"

Node: dcid:Transgender
typeOf: schema:GenderType
name: "Transgender"
description: "Of or relating to a person who identifies as a different gender from their gender as determined at birth."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:GenderNonConforming
typeOf: schema:GenderType
name: "GenderNonConforming"
description: "Describes a person who does not conform to the gender-based expectations of society."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:TransgenderOrGenderNonConforming
typeOf: schema:GenderType
name: "TransgenderOrGenderNonConforming"

Node: dcid:Homosexual
name: "Homosexual"
typeOf: dcs:SexualOrientationEnum
description: "Of or relating to people who are physically, romantically, and/or emotionally attracted to people of the same sex."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:Heterosexual
name: "Heterosexual"
typeOf: dcs:SexualOrientationEnum
description: "Of or relating to people who are physically, romantically, and/or emotionally attracted to people of the opposite sex."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:Lesbian
name: "Lesbian"
typeOf: dcs:SexualOrientationEnum
specializationOf: dcs:Homosexual
description: "Of or relating to women who are physically, romantically, and/or emotionally attracted to other women."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:Gay
name: "Gay"
typeOf: dcs:SexualOrientationEnum
specializationOf: dcs:Homosexual
description: "Of or relating to people who are physically, romantically, and/or emotionally attracted to people of the same sex (used especially for males)."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:Bisexual
name: "Bisexual"
typeOf: dcs:SexualOrientationEnum
description: "Of or relating to people who are physically, romantically, and/or emotionally attracted to both men and women."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:LGBT
name: "LGBT"
typeOf: dcs:SexualOrientationEnum
description: "Common initialism for 'lesbian, gay, bisexual, and transgender,'to refer to community organizations or events that serve lesbian, gay, bisexual, transgender, and allied people."
descriptionUrl: "https://www.fbi.gov/file-repository/ucr/ucr-hate-crime-data-collection-guidelines-training-manual-02272015.pdf/view"

Node: dcid:KnownOffender
name: "KnownOffender"
typeOf: dcs:OffenderTypeEnum
description: "The term known offender does not imply the suspect’s identity is known; rather, the term indicates some aspect of the suspect was identified, thus distinguishing the suspect from an unknown offender."
descriptionUrl: "https://ucr.fbi.gov/hate-crime/2019/resource-pages/methodology"

Node: dcid:UnknownOffender
name: "UnknownOffender"
typeOf: dcs:OffenderTypeEnum

Node: dcid:UCR_UnknownEthnicity
name: "UCR_UnknownEthnicity"
typeOf: dcs:EthnicityEnum

Node: dcid:UCR_MultipleEthnicity
name: "UCR_MultipleEthnicity"
typeOf: dcs:EthnicityEnum

0 comments on commit 03606ef

Please sign in to comment.