From b625b233db106d8557c4da13a0f4f3c20d256488 Mon Sep 17 00:00:00 2001 From: Data Commons Date: Mon, 20 Nov 2023 20:47:25 -0800 Subject: [PATCH] Schema CL and Data Manifest CL for Trade Balance (that is the difference between the revenue from export and amount spent on import) between US and different countries annually for different years. PiperOrigin-RevId: 584202812 --- core/energy.mcf | 8 + core/wto_trade_schema.mcf | 183 +++++++++++++++++ stat_vars/us_ita_tradeBalance.mcf | 321 ++++++++++++++++++++++++++++++ 3 files changed, 512 insertions(+) create mode 100644 stat_vars/us_ita_tradeBalance.mcf diff --git a/core/energy.mcf b/core/energy.mcf index a7ba5b12f..773beabf4 100644 --- a/core/energy.mcf +++ b/core/energy.mcf @@ -151,6 +151,14 @@ rangeIncludes: schema:Quantity domainIncludes: schema:Electricity, schema:Energy, schema:Fuel name: "exports" +###US ITA addition +Node: dcid:tradeBalance +typeOf: schema:Property +rangeIncludes: schema:Quantity +domainIncludes: schema:Coal, schema:Electricity, schema:Energy, schema:Fuel, dcid:EconomicActivity +name: "tradeBalance" +description:”The difference between export and import” + Node: dcid:reserves typeOf: schema:Property rangeIncludes: schema:Quantity diff --git a/core/wto_trade_schema.mcf b/core/wto_trade_schema.mcf index 98a9aaeec..78e216601 100644 --- a/core/wto_trade_schema.mcf +++ b/core/wto_trade_schema.mcf @@ -30,6 +30,13 @@ domainIncludes: dcid:EconomicActivity rangeIncludes: dcid:Country,dcid:Place,dcid:ContinentalUnion isProvisional: dcs:True +###US ITA Additions +Node: dcid:tradePartner +typeOf: dcs:Property +name: "tradePartner" +rangeIncludes: dcid:Country +isProvisional: dcs:True + Node: dcid:RestOfTheWorld typeOf: dcid:Country name: "RestOfTheWorld" @@ -404,3 +411,179 @@ Node: dcid:CerealPreparations typeOf: dcid:ProductEnum name: "Cereal Preparations" isProvisional: dcs:True + +###US ITA Additions +Node: dcid:LiveStockProduct +typeOf: dcid:ProductEnum +name: "Live Stock Products" +isProvisional: dcs:True + +Node: dcid:ForestryProduct +typeOf: dcid:ProductEnum +name: "Forestry Products" +isProvisional: dcs:True + +Node: dcid:FishProduct +typeOf: dcid:ProductEnum +name: "Fish Products" +isProvisional: dcs:True + +Node: dcid:OtherMarineProduct +typeOf: dcid:ProductEnum +name: "Other Marine Product" +isProvisional: dcs:True + +Node: dcid:AgricultureForestrySupportingProduct +typeOf: dcid:ProductEnum +name: "Products Supporting Agriculture And Forestry" +isProvisional: dcs:True + +Node: dcid:Oil +typeOf: dcid:ProductEnum +name: "Oil" +isProvisional: dcs:True + +Node: dcid:Gas +typeOf: dcid:ProductEnum +name: "Gas" +isProvisional: dcs:True + +Node: dcid:Minerals +typeOf: dcid:ProductEnum +name: "Minerals" +isProvisional: dcs:True + +Node: dcid:Ores +typeOf: dcid:ProductEnum +name: "Ores" +isProvisional: dcs:True + +Node: dcid:ProcessedFood +typeOf: dcid:ProductEnum +name: "Processed Food" +isProvisional: dcs:True + +Node: dcid:BeveragesAndTobaccoProduct +typeOf: dcid:ProductEnum +name: "Beverages & Tobacco Products" +isProvisional: dcs:True + +Node: dcid:TextileAndFabric +typeOf: dcid:ProductEnum +name: "Textiles & Fabrics" +isProvisional: dcs:True + +Node: dcid:TextileMillProduct +typeOf: dcid:ProductEnum +name: "Textile Mill Products" +isProvisional: dcs:True + +Node: dcid:ApparelAndAccessories +typeOf: dcid:ProductEnum +name: "Apparel & Accessories" +isProvisional: dcs:True + +Node: dcid:LeatherAndAlliedProduct +typeOf: dcid:ProductEnum +name: "Leather And Allied Product" +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:PetroleumProduct +typeOf: dcid:ProductEnum +name: "Petroleum Products" +isProvisional: dcs:True + +Node: dcid:CoalProduct +typeOf: dcid:ProductEnum +name: "Coal Products" +isProvisional: dcs:True + +Node: dcid:ChemicalProduct +typeOf: dcid:ProductEnum +name: "Chemicals" +isProvisional: dcs:True + +Node: dcid:PlasticProduct +typeOf: dcid:ProductEnum +name: "Plastic Product" +isProvisional: dcs:True + +Node: dcid:RubberProduct +typeOf: dcid:ProductEnum +name: "Rubber Product" +isProvisional: dcs:True + +Node: dcid:FabricatedMetalProduct +typeOf: dcid:ProductEnum +name: "Fabricated Metal Products" +isProvisional: dcs:True + +Node: dcid:MachineryExceptElectricalProduct +typeOf: dcid:ProductEnum +name: "Machinery, Except Electrical" +isProvisional: dcs:True + +Node: dcid:ComputerProduct +typeOf: dcid:ProductEnum +name: "Computer Products" +isProvisional: dcs:True + +Node: dcid:ElectronicProduct +typeOf: dcid:ProductEnum +name: "Electronic Product" +isProvisional: dcs:True + +Node: dcid:ElectricalEquipmentAppliancesComponent +typeOf: dcid:ProductEnum +name: "Electrical Equipment, Appliances & Components" +isProvisional: dcs:True + +Node: dcid:MiscellaneousManufacturedProduct +typeOf: dcid:ProductEnum +name: "Miscellaneous Manufactures" +isProvisional: dcs:True + +Node: dcid:NewspaperAndOtherPublishedMatter +typeOf: dcid:ProductEnum +name: "Newspapers & Other Published Matter" +isProvisional: dcs:True + +Node: dcid:WasteAndScrap +typeOf: dcid:ProductEnum +name: "Waste And Scrap" +isProvisional: dcs:True + +Node: dcid:UsedSecondHandMerchandise +typeOf: dcid:ProductEnum +name: "Used Or Second-Hand Merchandise" +isProvisional: dcs:True + +Node: dcid:ExportReturned +typeOf: dcid:ProductEnum +name: "Exports Returned" +isProvisional: dcs:True + +Node: dcid:OtherSpeciallyClassifiedProvision +typeOf: dcid:ProductEnum +name: "Other Special Classification Provisions" +isProvisional: dcs:True + +Node: dcid:TransportEquipment +typeOf: dcid:ProductEnum +name: "Transport Equipment" +isProvisional: dcs:True + +Node: dcid:FurnitureAndFixture +typeOf: dcid:ProductEnum +name: "Furniture And Fixtures" +isProvisional: dcs:True diff --git a/stat_vars/us_ita_tradeBalance.mcf b/stat_vars/us_ita_tradeBalance.mcf new file mode 100644 index 000000000..d61bc928b --- /dev/null +++ b/stat_vars/us_ita_tradeBalance.mcf @@ -0,0 +1,321 @@ +Node: dcid:Annual_TradeBalance_EconomicActivity_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_AgriculturalProducts_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:AgriculturalProducts +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_LiveStockProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:LiveStockProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_ForestryProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:ForestryProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_FishProductOrOtherMarineProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:FishProduct__OtherMarineProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_AgricultureForestrySupportingProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:AgricultureForestrySupportingProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_OilOrGas_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:Oil__Gas +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_MineralsOrOres_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:Minerals__Ores +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_ProcessedFood_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:ProcessedFood +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_BeveragesAndTobaccoProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:BeveragesAndTobaccoProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_TextileAndFabric_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:TextileAndFabric +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_TextileMillProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:TextileMillProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_ApparelAndAccessories_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:ApparelAndAccessories +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_LeatherAndAlliedProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:LeatherAndAlliedProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_WoodAndWoodProducts_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:WoodAndWoodProducts +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_Paper_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:Paper +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_PrintedMatter_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:PrintedMatter +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_PetroleumProductOrCoalProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:PetroleumProduct__CoalProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_ChemicalProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:ChemicalProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_PlasticProductOrRubberProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:PlasticProduct__RubberProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_NonMetallicMineralProducts_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:NonMetallicMineralProducts +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_MetalProducts_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:MetalProducts +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_FabricatedMetalProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:FabricatedMetalProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_MachineryExceptElectricalProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:MachineryExceptElectricalProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_ComputerProductOrElectronicProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:ComputerProduct__ElectronicProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_ElectricalEquipmentAppliancesComponent_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:ElectricalEquipmentAppliancesComponent +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_TransportEquipment_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:TransportEquipment +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_FurnitureAndFixture_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:FurnitureAndFixture +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_MiscellaneousManufacturedProduct_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:MiscellaneousManufacturedProduct +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_NewspaperAndOtherPublishedMatter_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:NewspaperAndOtherPublishedMatter +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_WasteAndScrap_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:WasteAndScrap +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_UsedSecondHandMerchandise_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:UsedSecondHandMerchandise +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_UsedSecondHandMerchandise_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:UsedSecondHandMerchandise +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_ExportReturned_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:ExportReturned +tradePartner: dcid:country/USA + +Node: dcid:Annual_TradeBalance_EconomicActivity_OtherSpeciallyClassifiedProvision_CountryUSA +typeOf: dcid:StatisticalVariable +populationType: dcid:EconomicActivity +measuredProperty: dcid:tradeBalance +measurementQualifier: dcid:Annual +statType: dcid:measuredValue +product: dcid:OtherSpeciallyClassifiedProvision +tradePartner: dcid:country/USA