Skip to content

Commit

Permalink
Schema CL and Data Manifest CL for Two Way Trade (import and export) …
Browse files Browse the repository at this point in the history
…between US and different countries annually for different years.

PiperOrigin-RevId: 584823973
  • Loading branch information
Data Commons authored and copybara-github committed Nov 27, 2023
1 parent 69f6daa commit 1dee2e8
Show file tree
Hide file tree
Showing 3 changed files with 422 additions and 1 deletion.
6 changes: 6 additions & 0 deletions core/energy.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@ rangeIncludes: schema:Quantity
domainIncludes: schema:Electricity, schema:Energy, schema:Fuel
name: "exports"

###US ITA Addition
Node: dcid:tradePartner
typeOf: dcs:Property
name: "tradePartner"
rangeIncludes: dcid:Country

Node: dcid:reserves
typeOf: schema:Property
rangeIncludes: schema:Quantity
Expand Down
104 changes: 103 additions & 1 deletion core/wto_trade_schema.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Node: dcid:product
typeOf: dcs:Property
name: "product"
domainIncludes: dcid:EconomicActivity
rangeIncludes: dcid:ProductEnum,dcid:FarmInventoryTypeEnum
rangeIncludes: dcid:ProductEnum,dcid:FarmInventoryTypeEnum,dcid:EconomicActivity
isProvisional: dcs:True

Node: dcid:ProductEnum
Expand Down Expand Up @@ -30,6 +30,12 @@ domainIncludes: dcid:EconomicActivity
rangeIncludes: dcid:Country,dcid:Place,dcid:ContinentalUnion
isProvisional: dcs:True

###US ITA Addition
Node: dcid:tradePartner
typeOf: dcs:Property
name: "tradePartner"
rangeIncludes: dcid:Country

Node: dcid:RestOfTheWorld
typeOf: dcid:Country
name: "RestOfTheWorld"
Expand Down Expand Up @@ -404,3 +410,99 @@ Node: dcid:CerealPreparations
typeOf: dcid:ProductEnum
name: "Cereal Preparations"
isProvisional: dcs:True

###US ITA Addition
Node: dcid:LiveStockProducts
typeOf: dcid:ProductEnum
name: "Live Stock And Live Stock Products"
isProvisional: dcs:True

Node: dcid:ForestryProducts
typeOf: dcid:ProductEnum
name: "Forestry Products"
isProvisional: dcs:True

Node: dcid:AgricultureForestrySupportingProducts
typeOf: dcid:ProductEnum
name: "Products Supporting Agriculture And Forestry"
isProvisional: dcs:True

Node: dcid:OilAndGas
typeOf: dcid:ProductEnum
name: "Oil And Gas"
isProvisional: dcs:True

Node: dcid:MinerlasAndOres
typeOf: dcid:ProductEnum
name: "Minerlas And Ores"
isProvisional: dcs:True

Node: dcid:ProcessedFood
typeOf: dcid:ProductEnum
name: "Processed Food"
isProvisional: dcs:True

Node: dcid:BeveragesAndTobaccoProducts
typeOf: dcid:ProductEnum
name: "Beverages & Tobacco Products"
isProvisional: dcs:True

Node: dcid:TextilesAndFabrics
typeOf: dcid:ProductEnum
name: "Textiles & Fabrics"
isProvisional: dcs:True

Node: dcid:TextileMillProducts
typeOf: dcid:ProductEnum
name: "Textile Mill Products"
isProvisional: dcs:True

Node: dcid:ApparelAndAccessories
typeOf: dcid:ProductEnum
name: "Apparel & Accessories"
isProvisional: dcs:True

Node: dcid:Paper
typeOf: dcid:ProductEnum
name: "Paper"
isProvisional: dcs:True

Node: dcid:PrintedMatter
typeOf: dcid:ProductEnum
name: "Printed Matter & Related Products"
isProvisional: dcs:True

Node: dcid:PetroleumAndCoalProducts
typeOf: dcid:ProductEnum
name: "Petroleum & Coal Products"
isProvisional: dcs:True

Node: dcid:Chemicals
typeOf: dcid:ProductEnum
name: "Chemicals"
isProvisional: dcs:True

Node: dcid:FabricatedMetalProducts
typeOf: dcid:ProductEnum
name: "Fabricated Metal Products"
isProvisional: dcs:True

Node: dcid:MachineryExceptElectricalProducts
typeOf: dcid:ProductEnum
name: "Machinery, Except Electrical"
isProvisional: dcs:True

Node: dcid:ComputerAndElectronicProducts
typeOf: dcid:ProductEnum
name: "Computer & Electronic Products"
isProvisional: dcs:True

Node: dcid:MiscellaneousManufacturedProducts
typeOf: dcid:ProductEnum
name: "Miscellaneous Manufactures"
isProvisional: dcs:True

Node: dcid:NewspaperAndOtherPublishedMatter
typeOf: dcid:ProductEnum
name: "Newspapers & Other Published Matter"
isProvisional: dcs:True
Loading

0 comments on commit 1dee2e8

Please sign in to comment.