diff --git a/ctu-accidents/README.md b/ctu-accidents/README.md index 3fdada7cfff65fe5562933c9573d715da1486ffa..5f10e8941e8151292b9d7ff012eef21ea5de7482 100644 --- a/ctu-accidents/README.md +++ b/ctu-accidents/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-accidents ---- - # ctu-accidents Traffic accident database consists of all accidents that happened in Slovenia's capital city Ljubljana between the years 1995 and 2006. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Traffic accident database consists of all accidents that happened in Slovenia's ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2004-03-01 00:00:00`, test `2005-03-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2004-03-01 00:00:00`, test `2005-03-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-accidents") -task = relbench.load_task("ctu-accidents", "") +ds = relbench.load_dataset("relbench/redelex/ctu-accidents") +task = relbench.load_task("relbench/redelex/ctu-accidents", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-accidents/schema.svg b/ctu-accidents/schema.svg index 5f8d82b2c17025f7e7c11fffedc208dec32f15f8..313941ae38082deadf46c5003775177de72140f9 100644 --- a/ctu-accidents/schema.svg +++ b/ctu-accidents/schema.svg @@ -1,228 +1,228 @@ - - + + schema nesreca:e->upravna_enota:w - + oseba:e->nesreca:w - + oseba:e->upravna_enota:w - + nesreca - -nesreca - -509K rows - -__PK__ - -PK - -FK_upravna_enota_upravna_enota - -FK - -cas_nesreca - -TIME - -x_wgs84 - -float - -y_wgs84 - -float - -x - -int - -y - -int - -klas_nesreca - -str - -upravna_enota - -str - -naselje_ali_izven - -str - -kategorija_cesta - -str - -oznaka_cesta_ali_naselje - -str - -tekst_cesta_ali_naselje - -str - -oznaka_odsek_ali_ulica - -str - -tekst_odsek_ali_ulica - -str - -stacionazna_ali_hisna_st - -str - -opis_prizorisce - -str - -vzrok_nesreca - -str - -tip_nesreca - -str - -vreme_nesreca - -str - -stanje_promet - -str - -stanje_vozisce - -str - -stanje_povrsina_vozisce - -str + +nesreca + +509K rows + +__PK__ + +PK + +FK_upravna_enota_upravna_enota + +FK + +cas_nesreca + +TIME + +x_wgs84 + +float + +y_wgs84 + +float + +x + +int + +y + +int + +klas_nesreca + +str + +upravna_enota + +str + +naselje_ali_izven + +str + +kategorija_cesta + +str + +oznaka_cesta_ali_naselje + +str + +tekst_cesta_ali_naselje + +str + +oznaka_odsek_ali_ulica + +str + +tekst_odsek_ali_ulica + +str + +stacionazna_ali_hisna_st + +str + +opis_prizorisce + +str + +vzrok_nesreca + +str + +tip_nesreca + +str + +vreme_nesreca + +str + +stanje_promet + +str + +stanje_vozisce + +str + +stanje_povrsina_vozisce + +str upravna_enota - -upravna_enota - -64 rows - -__PK__ - -PK - -st_prebivalcev - -int - -povrsina - -int - -ime_upravna_enota - -str + +upravna_enota + +64 rows + +__PK__ + +PK + +st_prebivalcev + +int + +povrsina + +int + +ime_upravna_enota + +str oseba - -oseba - -954K rows - -__PK__ - -PK - -FK_nesreca_id_nesreca - -FK - -FK_upravna_enota_upravna_enota - -FK - -alkotest - -float - -strokovni_pregled - -float - -starost - -int - -vozniski_staz_LL - -int - -vozniski_staz_MM - -int - -id_nesreca - -str - -povzrocitelj_ali_udelezenec - -str - -spol - -str - -upravna_enota - -str - -drzavljanstvo - -str - -poskodba - -str - -vrsta_udelezenca - -str - -varnostni_pas_ali_celada - -str - -starost_d - -str - -vozniski_staz_d - -str - -alkotest_d - -str - -strokovni_pregled_d - -str + +oseba + +954K rows + +__PK__ + +PK + +FK_nesreca_id_nesreca + +FK + +FK_upravna_enota_upravna_enota + +FK + +alkotest + +float + +strokovni_pregled + +float + +starost + +int + +vozniski_staz_LL + +int + +vozniski_staz_MM + +int + +id_nesreca + +str + +povzrocitelj_ali_udelezenec + +str + +spol + +str + +upravna_enota + +str + +drzavljanstvo + +str + +poskodba + +str + +vrsta_udelezenca + +str + +varnostni_pas_ali_celada + +str + +starost_d + +str + +vozniski_staz_d + +str + +alkotest_d + +str + +strokovni_pregled_d + +str diff --git a/ctu-adventureworks/README.md b/ctu-adventureworks/README.md index b3e9156a183cfbb2ad5a6863a90a672bb8f019ca..475a7346e257501e594675d2412a7a0d875d7632 100644 --- a/ctu-adventureworks/README.md +++ b/ctu-adventureworks/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-adventureworks ---- - # ctu-adventureworks Adventure Works 2014 (OLTP version) is a sample database for Microsoft SQL Server, which has replaced Northwind and Pub sample databases that were shipped earlier. The database is about a fictious, multinational bicycle manufacturer called Adventure Works Cycles. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Adventure Works 2014 (OLTP version) is a sample database for Microsoft SQL Serve ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2014-03-01 00:00:00`, test `2014-05-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2014-03-01 00:00:00`, test `2014-05-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-adventureworks") -task = relbench.load_task("ctu-adventureworks", "") +ds = relbench.load_dataset("relbench/redelex/ctu-adventureworks") +task = relbench.load_task("relbench/redelex/ctu-adventureworks", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-adventureworks/schema.svg b/ctu-adventureworks/schema.svg index 3d1418e244e4a71a704416b7d4a17b762741ef6d..955d52c4d092a5b55fab8b060cae7aa7b60eefa4 100644 --- a/ctu-adventureworks/schema.svg +++ b/ctu-adventureworks/schema.svg @@ -1,3160 +1,3160 @@ - - + + schema Customer:e->Person:w - + Customer:e->Store:w - + Customer:e->SalesTerritory:w - + PersonPhone:e->PhoneNumberType:w - + PersonPhone:e->Person:w - + ProductInventory:e->Product:w - + ProductInventory:e->Location:w - + Vendor:e->BusinessEntity:w - + WorkOrderRouting:e->Location:w - + WorkOrderRouting:e->WorkOrder:w - + Product:e->ProductModel:w - + Product:e->UnitMeasure:w - + Product:e->UnitMeasure:w - + Product:e->ProductSubcategory:w - + ProductDocument:e->Product:w - + ProductDocument:e->Document:w - + SalesOrderDetail:e->SalesOrderHeader:w - + SalesOrderDetail:e->SpecialOfferProduct:w - + SalesPersonQuotaHistory:e->SalesPerson:w - + EmployeePayHistory:e->Employee:w - + EmailAddress:e->Person:w - + CountryRegionCurrency:e->CountryRegion:w - + CountryRegionCurrency:e->Currency:w - + ProductListPriceHistory:e->Product:w - + BusinessEntityContact:e->ContactType:w - + BusinessEntityContact:e->Person:w - + BusinessEntityContact:e->BusinessEntity:w - + ProductModelProductDescriptionCulture:e->Culture:w - + ProductModelProductDescriptionCulture:e->ProductModel:w - + ProductModelProductDescriptionCulture:e->ProductDescription:w - + ProductVendor:e->Vendor:w - + ProductVendor:e->Product:w - + ProductVendor:e->UnitMeasure:w - + SalesOrderHeaderSalesReason:e->SalesReason:w - + SalesOrderHeaderSalesReason:e->SalesOrderHeader:w - + JobCandidate:e->Employee:w - + SalesPerson:e->Employee:w - + SalesPerson:e->SalesTerritory:w - + TransactionHistory:e->Product:w - + Document:e->Employee:w - + Person:e->BusinessEntity:w - + Store:e->SalesPerson:w - + Store:e->BusinessEntity:w - + SalesOrderHeader:e->Customer:w - + SalesOrderHeader:e->ShipMethod:w - + SalesOrderHeader:e->CreditCard:w - + SalesOrderHeader:e->SalesPerson:w - + SalesOrderHeader:e->CurrencyRate:w - + SalesOrderHeader:e->Address:w - + SalesOrderHeader:e->Address:w - + SalesOrderHeader:e->SalesTerritory:w - + SalesTaxRate:e->StateProvince:w - + ProductReview:e->Product:w - + BusinessEntityAddress:e->BusinessEntity:w - + BusinessEntityAddress:e->Address:w - + BusinessEntityAddress:e->AddressType:w - + CurrencyRate:e->Currency:w - + CurrencyRate:e->Currency:w - + PersonCreditCard:e->CreditCard:w - + PersonCreditCard:e->Person:w - + WorkOrder:e->Product:w - + WorkOrder:e->ScrapReason:w - + PurchaseOrderHeader:e->Vendor:w - + PurchaseOrderHeader:e->ShipMethod:w - + PurchaseOrderHeader:e->Employee:w - + ProductCostHistory:e->Product:w - + Employee:e->Person:w - + Address:e->StateProvince:w - + Password:e->Person:w - + SalesTerritoryHistory:e->SalesPerson:w - + SalesTerritoryHistory:e->SalesTerritory:w - + BillOfMaterials:e->Product:w - + BillOfMaterials:e->Product:w - + BillOfMaterials:e->UnitMeasure:w - + PurchaseOrderDetail:e->Product:w - + PurchaseOrderDetail:e->PurchaseOrderHeader:w - + SpecialOfferProduct:e->Product:w - + SpecialOfferProduct:e->SpecialOffer:w - + SalesTerritory:e->CountryRegion:w - + ShoppingCartItem:e->Product:w - + StateProvince:e->CountryRegion:w - + StateProvince:e->SalesTerritory:w - + ProductSubcategory:e->ProductCategory:w - + EmployeeDepartmentHistory:e->Employee:w - + EmployeeDepartmentHistory:e->Department:w - + EmployeeDepartmentHistory:e->Shift:w - + ProductProductPhoto:e->Product:w - + ProductProductPhoto:e->ProductPhoto:w - + ProductModelIllustration:e->ProductModel:w - + ProductModelIllustration:e->Illustration:w - + Customer - -Customer - -20K rows - -__PK__ - -PK - -FK_Person_PersonID - -FK - -FK_SalesTerritory_TerritoryID - -FK - -FK_Store_StoreID - -FK - -PersonID - -int - -StoreID - -int - -TerritoryID - -int - -AccountNumber - -str - -rowguid - -str - -ModifiedDate - -datetime + +Customer + +20K rows + +__PK__ + +PK + +FK_Person_PersonID + +FK + +FK_SalesTerritory_TerritoryID + +FK + +FK_Store_StoreID + +FK + +PersonID + +int + +StoreID + +int + +TerritoryID + +int + +AccountNumber + +str + +rowguid + +str + +ModifiedDate + +datetime Person - -Person - -20K rows - -__PK__ - -PK - -FK_BusinessEntity_BusinessEntityID - -FK - -NameStyle - -int - -EmailPromotion - -int - -PersonType - -str - -Title - -str - -FirstName - -str - -MiddleName - -str - -LastName - -str - -Suffix - -str - -AdditionalContactInfo - -str - -Demographics - -str - -rowguid - -str - -ModifiedDate - -datetime + +Person + +20K rows + +__PK__ + +PK + +FK_BusinessEntity_BusinessEntityID + +FK + +NameStyle + +int + +EmailPromotion + +int + +PersonType + +str + +Title + +str + +FirstName + +str + +MiddleName + +str + +LastName + +str + +Suffix + +str + +AdditionalContactInfo + +str + +Demographics + +str + +rowguid + +str + +ModifiedDate + +datetime Store - -Store - -701 rows - -__PK__ - -PK - -FK_BusinessEntity_BusinessEntityID - -FK - -FK_SalesPerson_SalesPersonID - -FK - -SalesPersonID - -int - -Name - -str - -Demographics - -str - -rowguid - -str - -ModifiedDate - -datetime + +Store + +701 rows + +__PK__ + +PK + +FK_BusinessEntity_BusinessEntityID + +FK + +FK_SalesPerson_SalesPersonID + +FK + +SalesPersonID + +int + +Name + +str + +Demographics + +str + +rowguid + +str + +ModifiedDate + +datetime SalesTerritory - -SalesTerritory - -10 rows - -__PK__ - -PK - -FK_CountryRegion_CountryRegionCode - -FK - -SalesYTD - -float - -SalesLastYear - -float - -CostYTD - -float - -CostLastYear - -float - -Name - -str - -CountryRegionCode - -str - -Group - -str - -rowguid - -str - -ModifiedDate - -datetime + +SalesTerritory + +10 rows + +__PK__ + +PK + +FK_CountryRegion_CountryRegionCode + +FK + +SalesYTD + +float + +SalesLastYear + +float + +CostYTD + +float + +CostLastYear + +float + +Name + +str + +CountryRegionCode + +str + +Group + +str + +rowguid + +str + +ModifiedDate + +datetime PersonPhone - -PersonPhone - -20K rows - -__PK__ - -PK - -FK_Person_BusinessEntityID - -FK - -FK_PhoneNumberType_PhoneNumberTypeID - -FK - -BusinessEntityID - -int - -PhoneNumberTypeID - -int - -PhoneNumber - -str - -ModifiedDate - -datetime + +PersonPhone + +20K rows + +__PK__ + +PK + +FK_Person_BusinessEntityID + +FK + +FK_PhoneNumberType_PhoneNumberTypeID + +FK + +BusinessEntityID + +int + +PhoneNumberTypeID + +int + +PhoneNumber + +str + +ModifiedDate + +datetime PhoneNumberType - -PhoneNumberType - -3 rows - -__PK__ - -PK - -Name - -str - -ModifiedDate - -datetime + +PhoneNumberType + +3 rows + +__PK__ + +PK + +Name + +str + +ModifiedDate + +datetime ProductInventory - -ProductInventory - -1K rows - -__PK__ - -PK - -FK_Location_LocationID - -FK - -FK_Product_ProductID - -FK - -ProductID - -int - -LocationID - -int - -Bin - -int - -Quantity - -int - -Shelf - -str - -rowguid - -str - -ModifiedDate - -datetime + +ProductInventory + +1K rows + +__PK__ + +PK + +FK_Location_LocationID + +FK + +FK_Product_ProductID + +FK + +ProductID + +int + +LocationID + +int + +Bin + +int + +Quantity + +int + +Shelf + +str + +rowguid + +str + +ModifiedDate + +datetime Product - -Product - -504 rows - -__PK__ - -PK - -FK_ProductModel_ProductModelID - -FK - -FK_ProductSubcategory_ProductSubcategoryID - -FK - -FK_UnitMeasure_SizeUnitMeasureCode - -FK - -FK_UnitMeasure_WeightUnitMeasureCode - -FK - -StandardCost - -float - -ListPrice - -float - -Weight - -float - -MakeFlag - -int - -FinishedGoodsFlag - -int - -SafetyStockLevel - -int - -ReorderPoint - -int - -DaysToManufacture - -int - -ProductSubcategoryID - -int - -ProductModelID - -int - -Name - -str - -ProductNumber - -str - -Color - -str - -Size - -str - -SizeUnitMeasureCode - -str - -WeightUnitMeasureCode - -str - -ProductLine - -str - -Class - -str - -Style - -str - -rowguid - -str - -SellStartDate - -datetime - -SellEndDate - -datetime - -DiscontinuedDate - -datetime - -ModifiedDate - -datetime + +Product + +504 rows + +__PK__ + +PK + +FK_ProductModel_ProductModelID + +FK + +FK_ProductSubcategory_ProductSubcategoryID + +FK + +FK_UnitMeasure_SizeUnitMeasureCode + +FK + +FK_UnitMeasure_WeightUnitMeasureCode + +FK + +StandardCost + +float + +ListPrice + +float + +Weight + +float + +MakeFlag + +int + +FinishedGoodsFlag + +int + +SafetyStockLevel + +int + +ReorderPoint + +int + +DaysToManufacture + +int + +ProductSubcategoryID + +int + +ProductModelID + +int + +Name + +str + +ProductNumber + +str + +Color + +str + +Size + +str + +SizeUnitMeasureCode + +str + +WeightUnitMeasureCode + +str + +ProductLine + +str + +Class + +str + +Style + +str + +rowguid + +str + +SellStartDate + +datetime + +SellEndDate + +datetime + +DiscontinuedDate + +datetime + +ModifiedDate + +datetime Location - -Location - -14 rows - -__PK__ - -PK - -CostRate - -float - -Availability - -float - -Name - -str - -ModifiedDate - -datetime + +Location + +14 rows + +__PK__ + +PK + +CostRate + +float + +Availability + +float + +Name + +str + +ModifiedDate + +datetime Vendor - -Vendor - -104 rows - -__PK__ - -PK - -FK_BusinessEntity_BusinessEntityID - -FK - -CreditRating - -int - -PreferredVendorStatus - -int - -ActiveFlag - -int - -AccountNumber - -str - -Name - -str - -PurchasingWebServiceURL - -str - -ModifiedDate - -datetime + +Vendor + +104 rows + +__PK__ + +PK + +FK_BusinessEntity_BusinessEntityID + +FK + +CreditRating + +int + +PreferredVendorStatus + +int + +ActiveFlag + +int + +AccountNumber + +str + +Name + +str + +PurchasingWebServiceURL + +str + +ModifiedDate + +datetime BusinessEntity - -BusinessEntity - -21K rows - -__PK__ - -PK - -rowguid - -str - -ModifiedDate - -datetime + +BusinessEntity + +21K rows + +__PK__ + +PK + +rowguid + +str + +ModifiedDate + +datetime WorkOrderRouting - -WorkOrderRouting - -67K rows - -__PK__ - -PK - -FK_Location_LocationID - -FK - -FK_WorkOrder_WorkOrderID - -FK - -ActualResourceHrs - -float - -PlannedCost - -float - -ActualCost - -float - -WorkOrderID - -int - -ProductID - -int - -OperationSequence - -int - -LocationID - -int - -ScheduledStartDate - -datetime - -ScheduledEndDate - -datetime - -ActualStartDate - -datetime - -ActualEndDate - -datetime - -ModifiedDate - -datetime + +WorkOrderRouting + +67K rows + +__PK__ + +PK + +FK_Location_LocationID + +FK + +FK_WorkOrder_WorkOrderID + +FK + +ActualResourceHrs + +float + +PlannedCost + +float + +ActualCost + +float + +WorkOrderID + +int + +ProductID + +int + +OperationSequence + +int + +LocationID + +int + +ScheduledStartDate + +datetime + +ScheduledEndDate + +datetime + +ActualStartDate + +datetime + +ActualEndDate + +datetime + +ModifiedDate + +datetime WorkOrder - -WorkOrder - -73K rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -FK_ScrapReason_ScrapReasonID - -FK - -ProductID - -int - -OrderQty - -int - -StockedQty - -int - -ScrappedQty - -int - -ScrapReasonID - -int - -StartDate - -datetime - -EndDate - -datetime - -DueDate - -datetime - -ModifiedDate - -datetime + +WorkOrder + +73K rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +FK_ScrapReason_ScrapReasonID + +FK + +ProductID + +int + +OrderQty + +int + +StockedQty + +int + +ScrappedQty + +int + +ScrapReasonID + +int + +StartDate + +datetime + +EndDate + +datetime + +DueDate + +datetime + +ModifiedDate + +datetime ProductModel - -ProductModel - -128 rows - -__PK__ - -PK - -Name - -str - -CatalogDescription - -str - -Instructions - -str - -rowguid - -str - -ModifiedDate - -datetime + +ProductModel + +128 rows + +__PK__ + +PK + +Name + +str + +CatalogDescription + +str + +Instructions + +str + +rowguid + +str + +ModifiedDate + +datetime UnitMeasure - -UnitMeasure - -38 rows - -__PK__ - -PK - -Name - -str - -ModifiedDate - -datetime + +UnitMeasure + +38 rows + +__PK__ + +PK + +Name + +str + +ModifiedDate + +datetime ProductSubcategory - -ProductSubcategory - -37 rows - -__PK__ - -PK - -FK_ProductCategory_ProductCategoryID - -FK - -ProductCategoryID - -int - -Name - -str - -rowguid - -str - -ModifiedDate - -datetime + +ProductSubcategory + +37 rows + +__PK__ + +PK + +FK_ProductCategory_ProductCategoryID + +FK + +ProductCategoryID + +int + +Name + +str + +rowguid + +str + +ModifiedDate + +datetime ProductDocument - -ProductDocument - -32 rows - -__PK__ - -PK - -FK_Document_DocumentNode - -FK - -FK_Product_ProductID - -FK - -ProductID - -int - -DocumentNode - -str - -ModifiedDate - -datetime + +ProductDocument + +32 rows + +__PK__ + +PK + +FK_Document_DocumentNode + +FK + +FK_Product_ProductID + +FK + +ProductID + +int + +DocumentNode + +str + +ModifiedDate + +datetime Document - -Document - -13 rows - -__PK__ - -PK - -FK_Employee_Owner - -FK - -DocumentLevel - -int - -Owner - -int - -FolderFlag - -int - -ChangeNumber - -int - -Status - -int - -Title - -str - -FileName - -str - -FileExtension - -str - -Revision - -str - -DocumentSummary - -str - -rowguid - -str - -ModifiedDate - -datetime + +Document + +13 rows + +__PK__ + +PK + +FK_Employee_Owner + +FK + +DocumentLevel + +int + +Owner + +int + +FolderFlag + +int + +ChangeNumber + +int + +Status + +int + +Title + +str + +FileName + +str + +FileExtension + +str + +Revision + +str + +DocumentSummary + +str + +rowguid + +str + +ModifiedDate + +datetime SalesOrderDetail - -SalesOrderDetail - -121K rows - -__PK__ - -PK - -FK_SalesOrderHeader_SalesOrderID - -FK - -FK_SpecialOfferProduct_SpecialOfferID_ProductID - -FK - -UnitPrice - -float - -UnitPriceDiscount - -float - -LineTotal - -float - -SalesOrderID - -int - -SalesOrderDetailID - -int - -OrderQty - -int - -ProductID - -int - -SpecialOfferID - -int - -CarrierTrackingNumber - -str - -rowguid - -str - -ModifiedDate - -datetime + +SalesOrderDetail + +121K rows + +__PK__ + +PK + +FK_SalesOrderHeader_SalesOrderID + +FK + +FK_SpecialOfferProduct_SpecialOfferID_ProductID + +FK + +UnitPrice + +float + +UnitPriceDiscount + +float + +LineTotal + +float + +SalesOrderID + +int + +SalesOrderDetailID + +int + +OrderQty + +int + +ProductID + +int + +SpecialOfferID + +int + +CarrierTrackingNumber + +str + +rowguid + +str + +ModifiedDate + +datetime SalesOrderHeader - -SalesOrderHeader - -31K rows - -__PK__ - -PK - -FK_Address_BillToAddressID - -FK - -FK_Address_ShipToAddressID - -FK - -FK_CreditCard_CreditCardID - -FK - -FK_CurrencyRate_CurrencyRateID - -FK - -FK_Customer_CustomerID - -FK - -FK_SalesPerson_SalesPersonID - -FK - -FK_SalesTerritory_TerritoryID - -FK - -FK_ShipMethod_ShipMethodID - -FK - -OrderDate - -TIME - -SubTotal - -float - -TaxAmt - -float - -Freight - -float - -TotalDue - -float - -RevisionNumber - -int - -Status - -int - -OnlineOrderFlag - -int - -CustomerID - -int - -SalesPersonID - -int - -TerritoryID - -int - -BillToAddressID - -int - -ShipToAddressID - -int - -ShipMethodID - -int - -CreditCardID - -int - -CurrencyRateID - -int - -SalesOrderNumber - -str - -PurchaseOrderNumber - -str - -AccountNumber - -str - -CreditCardApprovalCode - -str - -Comment - -str - -rowguid - -str - -DueDate - -datetime - -ShipDate - -datetime - -ModifiedDate - -datetime + +SalesOrderHeader + +31K rows + +__PK__ + +PK + +FK_Address_BillToAddressID + +FK + +FK_Address_ShipToAddressID + +FK + +FK_CreditCard_CreditCardID + +FK + +FK_CurrencyRate_CurrencyRateID + +FK + +FK_Customer_CustomerID + +FK + +FK_SalesPerson_SalesPersonID + +FK + +FK_SalesTerritory_TerritoryID + +FK + +FK_ShipMethod_ShipMethodID + +FK + +OrderDate + +TIME + +SubTotal + +float + +TaxAmt + +float + +Freight + +float + +TotalDue + +float + +RevisionNumber + +int + +Status + +int + +OnlineOrderFlag + +int + +CustomerID + +int + +SalesPersonID + +int + +TerritoryID + +int + +BillToAddressID + +int + +ShipToAddressID + +int + +ShipMethodID + +int + +CreditCardID + +int + +CurrencyRateID + +int + +SalesOrderNumber + +str + +PurchaseOrderNumber + +str + +AccountNumber + +str + +CreditCardApprovalCode + +str + +Comment + +str + +rowguid + +str + +DueDate + +datetime + +ShipDate + +datetime + +ModifiedDate + +datetime SpecialOfferProduct - -SpecialOfferProduct - -538 rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -FK_SpecialOffer_SpecialOfferID - -FK - -SpecialOfferID - -int - -ProductID - -int - -rowguid - -str - -ModifiedDate - -datetime + +SpecialOfferProduct + +538 rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +FK_SpecialOffer_SpecialOfferID + +FK + +SpecialOfferID + +int + +ProductID + +int + +rowguid + +str + +ModifiedDate + +datetime SalesPersonQuotaHistory - -SalesPersonQuotaHistory - -163 rows - -__PK__ - -PK - -FK_SalesPerson_BusinessEntityID - -FK - -SalesQuota - -float - -BusinessEntityID - -int - -rowguid - -str - -QuotaDate - -datetime - -ModifiedDate - -datetime + +SalesPersonQuotaHistory + +163 rows + +__PK__ + +PK + +FK_SalesPerson_BusinessEntityID + +FK + +SalesQuota + +float + +BusinessEntityID + +int + +rowguid + +str + +QuotaDate + +datetime + +ModifiedDate + +datetime SalesPerson - -SalesPerson - -17 rows - -__PK__ - -PK - -FK_Employee_BusinessEntityID - -FK - -FK_SalesTerritory_TerritoryID - -FK - -SalesQuota - -float - -Bonus - -float - -CommissionPct - -float - -SalesYTD - -float - -SalesLastYear - -float - -TerritoryID - -int - -rowguid - -str - -ModifiedDate - -datetime + +SalesPerson + +17 rows + +__PK__ + +PK + +FK_Employee_BusinessEntityID + +FK + +FK_SalesTerritory_TerritoryID + +FK + +SalesQuota + +float + +Bonus + +float + +CommissionPct + +float + +SalesYTD + +float + +SalesLastYear + +float + +TerritoryID + +int + +rowguid + +str + +ModifiedDate + +datetime CountryRegion - -CountryRegion - -238 rows - -__PK__ - -PK - -Name - -str - -ModifiedDate - -datetime + +CountryRegion + +238 rows + +__PK__ + +PK + +Name + +str + +ModifiedDate + +datetime ShipMethod - -ShipMethod - -5 rows - -__PK__ - -PK - -ShipBase - -float - -ShipRate - -float - -Name - -str - -rowguid - -str - -ModifiedDate - -datetime + +ShipMethod + +5 rows + +__PK__ + +PK + +ShipBase + +float + +ShipRate + +float + +Name + +str + +rowguid + +str + +ModifiedDate + +datetime Culture - -Culture - -8 rows - -__PK__ - -PK - -Name - -str - -ModifiedDate - -datetime + +Culture + +8 rows + +__PK__ + +PK + +Name + +str + +ModifiedDate + +datetime EmployeePayHistory - -EmployeePayHistory - -316 rows - -__PK__ - -PK - -FK_Employee_BusinessEntityID - -FK - -Rate - -float - -BusinessEntityID - -int - -PayFrequency - -int - -RateChangeDate - -datetime - -ModifiedDate - -datetime + +EmployeePayHistory + +316 rows + +__PK__ + +PK + +FK_Employee_BusinessEntityID + +FK + +Rate + +float + +BusinessEntityID + +int + +PayFrequency + +int + +RateChangeDate + +datetime + +ModifiedDate + +datetime Employee - -Employee - -290 rows - -__PK__ - -PK - -FK_Person_BusinessEntityID - -FK - -OrganizationLevel - -int - -SalariedFlag - -int - -VacationHours - -int - -SickLeaveHours - -int - -CurrentFlag - -int - -NationalIDNumber - -str - -LoginID - -str - -OrganizationNode - -str - -JobTitle - -str - -MaritalStatus - -str - -Gender - -str - -rowguid - -str - -BirthDate - -datetime - -HireDate - -datetime - -ModifiedDate - -datetime + +Employee + +290 rows + +__PK__ + +PK + +FK_Person_BusinessEntityID + +FK + +OrganizationLevel + +int + +SalariedFlag + +int + +VacationHours + +int + +SickLeaveHours + +int + +CurrentFlag + +int + +NationalIDNumber + +str + +LoginID + +str + +OrganizationNode + +str + +JobTitle + +str + +MaritalStatus + +str + +Gender + +str + +rowguid + +str + +BirthDate + +datetime + +HireDate + +datetime + +ModifiedDate + +datetime EmailAddress - -EmailAddress - -20K rows - -__PK__ - -PK - -FK_Person_BusinessEntityID - -FK - -BusinessEntityID - -int - -EmailAddressID - -int - -EmailAddress - -str - -rowguid - -str - -ModifiedDate - -datetime + +EmailAddress + +20K rows + +__PK__ + +PK + +FK_Person_BusinessEntityID + +FK + +BusinessEntityID + +int + +EmailAddressID + +int + +EmailAddress + +str + +rowguid + +str + +ModifiedDate + +datetime CountryRegionCurrency - -CountryRegionCurrency - -109 rows - -__PK__ - -PK - -FK_CountryRegion_CountryRegionCode - -FK - -FK_Currency_CurrencyCode - -FK - -CountryRegionCode - -str - -CurrencyCode - -str - -ModifiedDate - -datetime + +CountryRegionCurrency + +109 rows + +__PK__ + +PK + +FK_CountryRegion_CountryRegionCode + +FK + +FK_Currency_CurrencyCode + +FK + +CountryRegionCode + +str + +CurrencyCode + +str + +ModifiedDate + +datetime Currency - -Currency - -105 rows - -__PK__ - -PK - -Name - -str - -ModifiedDate - -datetime + +Currency + +105 rows + +__PK__ + +PK + +Name + +str + +ModifiedDate + +datetime ProductListPriceHistory - -ProductListPriceHistory - -395 rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -ListPrice - -float - -ProductID - -int - -StartDate - -datetime - -EndDate - -datetime - -ModifiedDate - -datetime + +ProductListPriceHistory + +395 rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +ListPrice + +float + +ProductID + +int + +StartDate + +datetime + +EndDate + +datetime + +ModifiedDate + +datetime BusinessEntityContact - -BusinessEntityContact - -909 rows - -__PK__ - -PK - -FK_BusinessEntity_BusinessEntityID - -FK - -FK_ContactType_ContactTypeID - -FK - -FK_Person_PersonID - -FK - -BusinessEntityID - -int - -PersonID - -int - -ContactTypeID - -int - -rowguid - -str - -ModifiedDate - -datetime + +BusinessEntityContact + +909 rows + +__PK__ + +PK + +FK_BusinessEntity_BusinessEntityID + +FK + +FK_ContactType_ContactTypeID + +FK + +FK_Person_PersonID + +FK + +BusinessEntityID + +int + +PersonID + +int + +ContactTypeID + +int + +rowguid + +str + +ModifiedDate + +datetime ContactType - -ContactType - -20 rows - -__PK__ - -PK - -Name - -str - -ModifiedDate - -datetime + +ContactType + +20 rows + +__PK__ + +PK + +Name + +str + +ModifiedDate + +datetime ProductModelProductDescriptionCulture - -ProductModelProductDescriptionCulture - -762 rows - -__PK__ - -PK - -FK_Culture_CultureID - -FK - -FK_ProductDescription_ProductDescriptionID - -FK - -FK_ProductModel_ProductModelID - -FK - -ProductModelID - -int - -ProductDescriptionID - -int - -CultureID - -str - -ModifiedDate - -datetime + +ProductModelProductDescriptionCulture + +762 rows + +__PK__ + +PK + +FK_Culture_CultureID + +FK + +FK_ProductDescription_ProductDescriptionID + +FK + +FK_ProductModel_ProductModelID + +FK + +ProductModelID + +int + +ProductDescriptionID + +int + +CultureID + +str + +ModifiedDate + +datetime ProductDescription - -ProductDescription - -762 rows - -__PK__ - -PK - -Description - -str - -rowguid - -str - -ModifiedDate - -datetime + +ProductDescription + +762 rows + +__PK__ + +PK + +Description + +str + +rowguid + +str + +ModifiedDate + +datetime ProductVendor - -ProductVendor - -460 rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -FK_UnitMeasure_UnitMeasureCode - -FK - -FK_Vendor_BusinessEntityID - -FK - -StandardPrice - -float - -LastReceiptCost - -float - -ProductID - -int - -BusinessEntityID - -int - -AverageLeadTime - -int - -MinOrderQty - -int - -MaxOrderQty - -int - -OnOrderQty - -int - -UnitMeasureCode - -str - -LastReceiptDate - -datetime - -ModifiedDate - -datetime + +ProductVendor + +460 rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +FK_UnitMeasure_UnitMeasureCode + +FK + +FK_Vendor_BusinessEntityID + +FK + +StandardPrice + +float + +LastReceiptCost + +float + +ProductID + +int + +BusinessEntityID + +int + +AverageLeadTime + +int + +MinOrderQty + +int + +MaxOrderQty + +int + +OnOrderQty + +int + +UnitMeasureCode + +str + +LastReceiptDate + +datetime + +ModifiedDate + +datetime CreditCard - -CreditCard - -19K rows - -__PK__ - -PK - -ExpMonth - -int - -ExpYear - -int - -CardType - -str - -CardNumber - -str - -ModifiedDate - -datetime + +CreditCard + +19K rows + +__PK__ + +PK + +ExpMonth + +int + +ExpYear + +int + +CardType + +str + +CardNumber + +str + +ModifiedDate + +datetime SalesReason - -SalesReason - -10 rows - -__PK__ - -PK - -Name - -str - -ReasonType - -str - -ModifiedDate - -datetime + +SalesReason + +10 rows + +__PK__ + +PK + +Name + +str + +ReasonType + +str + +ModifiedDate + +datetime SalesOrderHeaderSalesReason - -SalesOrderHeaderSalesReason - -28K rows - -__PK__ - -PK - -FK_SalesOrderHeader_SalesOrderID - -FK - -FK_SalesReason_SalesReasonID - -FK - -SalesOrderID - -int - -SalesReasonID - -int - -ModifiedDate - -datetime + +SalesOrderHeaderSalesReason + +28K rows + +__PK__ + +PK + +FK_SalesOrderHeader_SalesOrderID + +FK + +FK_SalesReason_SalesReasonID + +FK + +SalesOrderID + +int + +SalesReasonID + +int + +ModifiedDate + +datetime JobCandidate - -JobCandidate - -13 rows - -__PK__ - -PK - -FK_Employee_BusinessEntityID - -FK - -BusinessEntityID - -int - -Resume - -str - -ModifiedDate - -datetime + +JobCandidate + +13 rows + +__PK__ + +PK + +FK_Employee_BusinessEntityID + +FK + +BusinessEntityID + +int + +Resume + +str + +ModifiedDate + +datetime TransactionHistory - -TransactionHistory - -113K rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -ActualCost - -float - -ProductID - -int - -ReferenceOrderID - -int - -ReferenceOrderLineID - -int - -Quantity - -int - -TransactionType - -str - -TransactionDate - -datetime - -ModifiedDate - -datetime + +TransactionHistory + +113K rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +ActualCost + +float + +ProductID + +int + +ReferenceOrderID + +int + +ReferenceOrderLineID + +int + +Quantity + +int + +TransactionType + +str + +TransactionDate + +datetime + +ModifiedDate + +datetime CurrencyRate - -CurrencyRate - -14K rows - -__PK__ - -PK - -FK_Currency_FromCurrencyCode - -FK - -FK_Currency_ToCurrencyCode - -FK - -AverageRate - -float - -EndOfDayRate - -float - -FromCurrencyCode - -str - -ToCurrencyCode - -str - -CurrencyRateDate - -datetime - -ModifiedDate - -datetime + +CurrencyRate + +14K rows + +__PK__ + +PK + +FK_Currency_FromCurrencyCode + +FK + +FK_Currency_ToCurrencyCode + +FK + +AverageRate + +float + +EndOfDayRate + +float + +FromCurrencyCode + +str + +ToCurrencyCode + +str + +CurrencyRateDate + +datetime + +ModifiedDate + +datetime Address - -Address - -20K rows - -__PK__ - -PK - -FK_StateProvince_StateProvinceID - -FK - -StateProvinceID - -int - -AddressLine1 - -str - -AddressLine2 - -str - -City - -str - -PostalCode - -str - -rowguid - -str - -ModifiedDate - -datetime + +Address + +20K rows + +__PK__ + +PK + +FK_StateProvince_StateProvinceID + +FK + +StateProvinceID + +int + +AddressLine1 + +str + +AddressLine2 + +str + +City + +str + +PostalCode + +str + +rowguid + +str + +ModifiedDate + +datetime SalesTaxRate - -SalesTaxRate - -29 rows - -__PK__ - -PK - -FK_StateProvince_StateProvinceID - -FK - -TaxRate - -float - -StateProvinceID - -int - -TaxType - -int - -Name - -str - -rowguid - -str - -ModifiedDate - -datetime + +SalesTaxRate + +29 rows + +__PK__ + +PK + +FK_StateProvince_StateProvinceID + +FK + +TaxRate + +float + +StateProvinceID + +int + +TaxType + +int + +Name + +str + +rowguid + +str + +ModifiedDate + +datetime StateProvince - -StateProvince - -181 rows - -__PK__ - -PK - -FK_CountryRegion_CountryRegionCode - -FK - -FK_SalesTerritory_TerritoryID - -FK - -IsOnlyStateProvinceFlag - -int - -TerritoryID - -int - -StateProvinceCode - -str - -CountryRegionCode - -str - -Name - -str - -rowguid - -str - -ModifiedDate - -datetime + +StateProvince + +181 rows + +__PK__ + +PK + +FK_CountryRegion_CountryRegionCode + +FK + +FK_SalesTerritory_TerritoryID + +FK + +IsOnlyStateProvinceFlag + +int + +TerritoryID + +int + +StateProvinceCode + +str + +CountryRegionCode + +str + +Name + +str + +rowguid + +str + +ModifiedDate + +datetime Illustration - -Illustration - -5 rows - -__PK__ - -PK - -Diagram - -str - -ModifiedDate - -datetime + +Illustration + +5 rows + +__PK__ + +PK + +Diagram + +str + +ModifiedDate + +datetime ProductReview - -ProductReview - -4 rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -ProductID - -int - -Rating - -int - -ReviewerName - -str - -EmailAddress - -str - -Comments - -str - -ReviewDate - -datetime - -ModifiedDate - -datetime + +ProductReview + +4 rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +ProductID + +int + +Rating + +int + +ReviewerName + +str + +EmailAddress + +str + +Comments + +str + +ReviewDate + +datetime + +ModifiedDate + +datetime BusinessEntityAddress - -BusinessEntityAddress - -20K rows - -__PK__ - -PK - -FK_AddressType_AddressTypeID - -FK - -FK_Address_AddressID - -FK - -FK_BusinessEntity_BusinessEntityID - -FK - -BusinessEntityID - -int - -AddressID - -int - -AddressTypeID - -int - -rowguid - -str - -ModifiedDate - -datetime + +BusinessEntityAddress + +20K rows + +__PK__ + +PK + +FK_AddressType_AddressTypeID + +FK + +FK_Address_AddressID + +FK + +FK_BusinessEntity_BusinessEntityID + +FK + +BusinessEntityID + +int + +AddressID + +int + +AddressTypeID + +int + +rowguid + +str + +ModifiedDate + +datetime AddressType - -AddressType - -6 rows - -__PK__ - -PK - -Name - -str - -rowguid - -str - -ModifiedDate - -datetime + +AddressType + +6 rows + +__PK__ + +PK + +Name + +str + +rowguid + +str + +ModifiedDate + +datetime PersonCreditCard - -PersonCreditCard - -19K rows - -__PK__ - -PK - -FK_CreditCard_CreditCardID - -FK - -FK_Person_BusinessEntityID - -FK - -BusinessEntityID - -int - -CreditCardID - -int - -ModifiedDate - -datetime + +PersonCreditCard + +19K rows + +__PK__ + +PK + +FK_CreditCard_CreditCardID + +FK + +FK_Person_BusinessEntityID + +FK + +BusinessEntityID + +int + +CreditCardID + +int + +ModifiedDate + +datetime ScrapReason - -ScrapReason - -16 rows - -__PK__ - -PK - -Name - -str - -ModifiedDate - -datetime + +ScrapReason + +16 rows + +__PK__ + +PK + +Name + +str + +ModifiedDate + +datetime PurchaseOrderHeader - -PurchaseOrderHeader - -4K rows - -__PK__ - -PK - -FK_Employee_EmployeeID - -FK - -FK_ShipMethod_ShipMethodID - -FK - -FK_Vendor_VendorID - -FK - -SubTotal - -float - -TaxAmt - -float - -Freight - -float - -TotalDue - -float - -RevisionNumber - -int - -Status - -int - -EmployeeID - -int - -VendorID - -int - -ShipMethodID - -int - -OrderDate - -datetime - -ShipDate - -datetime - -ModifiedDate - -datetime + +PurchaseOrderHeader + +4K rows + +__PK__ + +PK + +FK_Employee_EmployeeID + +FK + +FK_ShipMethod_ShipMethodID + +FK + +FK_Vendor_VendorID + +FK + +SubTotal + +float + +TaxAmt + +float + +Freight + +float + +TotalDue + +float + +RevisionNumber + +int + +Status + +int + +EmployeeID + +int + +VendorID + +int + +ShipMethodID + +int + +OrderDate + +datetime + +ShipDate + +datetime + +ModifiedDate + +datetime ProductPhoto - -ProductPhoto - -101 rows - -__PK__ - -PK - -ThumbnailPhotoFileName - -str - -LargePhotoFileName - -str - -ModifiedDate - -datetime + +ProductPhoto + +101 rows + +__PK__ + +PK + +ThumbnailPhotoFileName + +str + +LargePhotoFileName + +str + +ModifiedDate + +datetime ProductCostHistory - -ProductCostHistory - -395 rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -StandardCost - -float - -ProductID - -int - -StartDate - -datetime - -EndDate - -datetime - -ModifiedDate - -datetime + +ProductCostHistory + +395 rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +StandardCost + +float + +ProductID + +int + +StartDate + +datetime + +EndDate + +datetime + +ModifiedDate + +datetime Department - -Department - -16 rows - -__PK__ - -PK - -Name - -str - -GroupName - -str - -ModifiedDate - -datetime + +Department + +16 rows + +__PK__ + +PK + +Name + +str + +GroupName + +str + +ModifiedDate + +datetime Password - -Password - -20K rows - -__PK__ - -PK - -FK_Person_BusinessEntityID - -FK - -PasswordHash - -str - -PasswordSalt - -str - -rowguid - -str - -ModifiedDate - -datetime + +Password + +20K rows + +__PK__ + +PK + +FK_Person_BusinessEntityID + +FK + +PasswordHash + +str + +PasswordSalt + +str + +rowguid + +str + +ModifiedDate + +datetime SalesTerritoryHistory - -SalesTerritoryHistory - -17 rows - -__PK__ - -PK - -FK_SalesPerson_BusinessEntityID - -FK - -FK_SalesTerritory_TerritoryID - -FK - -BusinessEntityID - -int - -TerritoryID - -int - -rowguid - -str - -StartDate - -datetime - -EndDate - -datetime - -ModifiedDate - -datetime + +SalesTerritoryHistory + +17 rows + +__PK__ + +PK + +FK_SalesPerson_BusinessEntityID + +FK + +FK_SalesTerritory_TerritoryID + +FK + +BusinessEntityID + +int + +TerritoryID + +int + +rowguid + +str + +StartDate + +datetime + +EndDate + +datetime + +ModifiedDate + +datetime BillOfMaterials - -BillOfMaterials - -3K rows - -__PK__ - -PK - -FK_Product_ComponentID - -FK - -FK_Product_ProductAssemblyID - -FK - -FK_UnitMeasure_UnitMeasureCode - -FK - -PerAssemblyQty - -float - -ProductAssemblyID - -int - -ComponentID - -int - -BOMLevel - -int - -UnitMeasureCode - -str - -StartDate - -datetime - -EndDate - -datetime - -ModifiedDate - -datetime + +BillOfMaterials + +3K rows + +__PK__ + +PK + +FK_Product_ComponentID + +FK + +FK_Product_ProductAssemblyID + +FK + +FK_UnitMeasure_UnitMeasureCode + +FK + +PerAssemblyQty + +float + +ProductAssemblyID + +int + +ComponentID + +int + +BOMLevel + +int + +UnitMeasureCode + +str + +StartDate + +datetime + +EndDate + +datetime + +ModifiedDate + +datetime PurchaseOrderDetail - -PurchaseOrderDetail - -9K rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -FK_PurchaseOrderHeader_PurchaseOrderID - -FK - -UnitPrice - -float - -LineTotal - -float - -ReceivedQty - -float - -RejectedQty - -float - -StockedQty - -float - -PurchaseOrderID - -int - -PurchaseOrderDetailID - -int - -OrderQty - -int - -ProductID - -int - -DueDate - -datetime - -ModifiedDate - -datetime + +PurchaseOrderDetail + +9K rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +FK_PurchaseOrderHeader_PurchaseOrderID + +FK + +UnitPrice + +float + +LineTotal + +float + +ReceivedQty + +float + +RejectedQty + +float + +StockedQty + +float + +PurchaseOrderID + +int + +PurchaseOrderDetailID + +int + +OrderQty + +int + +ProductID + +int + +DueDate + +datetime + +ModifiedDate + +datetime SpecialOffer - -SpecialOffer - -16 rows - -__PK__ - -PK - -DiscountPct - -float - -MinQty - -int - -MaxQty - -int - -Description - -str - -Type - -str - -Category - -str - -rowguid - -str - -StartDate - -datetime - -EndDate - -datetime - -ModifiedDate - -datetime + +SpecialOffer + +16 rows + +__PK__ + +PK + +DiscountPct + +float + +MinQty + +int + +MaxQty + +int + +Description + +str + +Type + +str + +Category + +str + +rowguid + +str + +StartDate + +datetime + +EndDate + +datetime + +ModifiedDate + +datetime ProductCategory - -ProductCategory - -4 rows - -__PK__ - -PK - -Name - -str - -rowguid - -str - -ModifiedDate - -datetime + +ProductCategory + +4 rows + +__PK__ + +PK + +Name + +str + +rowguid + +str + +ModifiedDate + +datetime Shift - -Shift - -3 rows - -__PK__ - -PK - -Name - -str - -StartTime - -duration[us] - -EndTime - -duration[us] - -ModifiedDate - -datetime + +Shift + +3 rows + +__PK__ + +PK + +Name + +str + +StartTime + +duration[us] + +EndTime + +duration[us] + +ModifiedDate + +datetime ShoppingCartItem - -ShoppingCartItem - -3 rows - -__PK__ - -PK - -FK_Product_ProductID - -FK - -Quantity - -int - -ProductID - -int - -ShoppingCartID - -str - -DateCreated - -datetime - -ModifiedDate - -datetime + +ShoppingCartItem + +3 rows + +__PK__ + +PK + +FK_Product_ProductID + +FK + +Quantity + +int + +ProductID + +int + +ShoppingCartID + +str + +DateCreated + +datetime + +ModifiedDate + +datetime EmployeeDepartmentHistory - -EmployeeDepartmentHistory - -296 rows - -__PK__ - -PK - -FK_Department_DepartmentID - -FK - -FK_Employee_BusinessEntityID - -FK - -FK_Shift_ShiftID - -FK - -BusinessEntityID - -int - -DepartmentID - -int - -ShiftID - -int - -StartDate - -datetime - -EndDate - -datetime - -ModifiedDate - -datetime + +EmployeeDepartmentHistory + +296 rows + +__PK__ + +PK + +FK_Department_DepartmentID + +FK + +FK_Employee_BusinessEntityID + +FK + +FK_Shift_ShiftID + +FK + +BusinessEntityID + +int + +DepartmentID + +int + +ShiftID + +int + +StartDate + +datetime + +EndDate + +datetime + +ModifiedDate + +datetime ProductProductPhoto - -ProductProductPhoto - -504 rows - -__PK__ - -PK - -FK_ProductPhoto_ProductPhotoID - -FK - -FK_Product_ProductID - -FK - -ProductID - -int - -ProductPhotoID - -int - -Primary - -int - -ModifiedDate - -datetime + +ProductProductPhoto + +504 rows + +__PK__ + +PK + +FK_ProductPhoto_ProductPhotoID + +FK + +FK_Product_ProductID + +FK + +ProductID + +int + +ProductPhotoID + +int + +Primary + +int + +ModifiedDate + +datetime ProductModelIllustration - -ProductModelIllustration - -7 rows - -__PK__ - -PK - -FK_Illustration_IllustrationID - -FK - -FK_ProductModel_ProductModelID - -FK - -ProductModelID - -int - -IllustrationID - -int - -ModifiedDate - -datetime + +ProductModelIllustration + +7 rows + +__PK__ + +PK + +FK_Illustration_IllustrationID + +FK + +FK_ProductModel_ProductModelID + +FK + +ProductModelID + +int + +IllustrationID + +int + +ModifiedDate + +datetime diff --git a/ctu-airline/README.md b/ctu-airline/README.md index 01efbe9b1ec27378ac1e6137388f92b6a585ada9..b3b55b450e8a64b09804d75d2cc6d85905c38447 100644 --- a/ctu-airline/README.md +++ b/ctu-airline/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-airline ---- - # ctu-airline Airline on-time data are reported each month to the U.S. Department of Transportation (DOT), Bureau of Transportation Statistics (BTS) by the 16 U.S. air carriers that have at least 1 percent of total domestic scheduled-service passenger revenues, plus two other carriers that report voluntarily. The data cover nonstop scheduled-service flights between points within the United States (including territories) as described in 14 CFR Part 234 of DOT's regulations. Data are available since January 1995. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Airline on-time data are reported each month to the U.S. Department of Transport ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2016-01-18 00:00:00`, test `2016-01-25 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2016-01-18 00:00:00`, test `2016-01-25 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-airline") -task = relbench.load_task("ctu-airline", "") +ds = relbench.load_dataset("relbench/redelex/ctu-airline") +task = relbench.load_task("relbench/redelex/ctu-airline", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-airline/schema.svg b/ctu-airline/schema.svg index 72d6ab2667e6caafaac83ace7d2f21726610b9b5..37ed60fd4131ce086ba722afc752afa91265e8c9 100644 --- a/ctu-airline/schema.svg +++ b/ctu-airline/schema.svg @@ -1,900 +1,900 @@ - - + + schema On_Time_On_Time_Performance_2016_1:e->L_ONTIME_DELAY_GROUPS:w - + On_Time_On_Time_Performance_2016_1:e->L_ONTIME_DELAY_GROUPS:w - + On_Time_On_Time_Performance_2016_1:e->L_CANCELLATION:w - + On_Time_On_Time_Performance_2016_1:e->L_WEEKDAYS:w - + On_Time_On_Time_Performance_2016_1:e->L_DEPARRBLK:w - + On_Time_On_Time_Performance_2016_1:e->L_STATE_ABR_AVIATION:w - + On_Time_On_Time_Performance_2016_1:e->L_STATE_ABR_AVIATION:w - + On_Time_On_Time_Performance_2016_1:e->L_MONTHS:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_STATE_FIPS:w - + On_Time_On_Time_Performance_2016_1:e->L_STATE_FIPS:w - + On_Time_On_Time_Performance_2016_1:e->L_WORLD_AREA_CODES:w - + On_Time_On_Time_Performance_2016_1:e->L_WORLD_AREA_CODES:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRLINE_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_UNIQUE_CARRIERS:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT:w - + On_Time_On_Time_Performance_2016_1:e->L_DISTANCE_GROUP_250:w - + On_Time_On_Time_Performance_2016_1:e->L_QUARTERS:w - + On_Time_On_Time_Performance_2016_1:e->L_YESNO_RESP:w - + On_Time_On_Time_Performance_2016_1:e->L_YESNO_RESP:w - + On_Time_On_Time_Performance_2016_1:e->L_YESNO_RESP:w - + On_Time_On_Time_Performance_2016_1:e->L_YESNO_RESP:w - + On_Time_On_Time_Performance_2016_1:e->L_CITY_MARKET_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_CITY_MARKET_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_DIVERSIONS:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT_SEQ_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT_SEQ_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT_SEQ_ID:w - + On_Time_On_Time_Performance_2016_1:e->L_AIRPORT_SEQ_ID:w - + L_ONTIME_DELAY_GROUPS - -L_ONTIME_DELAY_GROUPS - -15 rows - -__PK__ - -PK - -Description - -str + +L_ONTIME_DELAY_GROUPS + +15 rows + +__PK__ + +PK + +Description + +str L_CANCELLATION - -L_CANCELLATION - -4 rows - -__PK__ - -PK - -Description - -str + +L_CANCELLATION + +4 rows + +__PK__ + +PK + +Description + +str L_WEEKDAYS - -L_WEEKDAYS - -8 rows - -__PK__ - -PK - -Description - -str + +L_WEEKDAYS + +8 rows + +__PK__ + +PK + +Description + +str L_DEPARRBLK - -L_DEPARRBLK - -19 rows - -__PK__ - -PK - -Description - -str + +L_DEPARRBLK + +19 rows + +__PK__ + +PK + +Description + +str L_STATE_ABR_AVIATION - -L_STATE_ABR_AVIATION - -67 rows - -__PK__ - -PK - -Description - -str + +L_STATE_ABR_AVIATION + +67 rows + +__PK__ + +PK + +Description + +str L_MONTHS - -L_MONTHS - -12 rows - -__PK__ - -PK - -Description - -str + +L_MONTHS + +12 rows + +__PK__ + +PK + +Description + +str L_AIRPORT_ID - -L_AIRPORT_ID - -6K rows - -__PK__ - -PK - -Description - -str + +L_AIRPORT_ID + +6K rows + +__PK__ + +PK + +Description + +str L_STATE_FIPS - -L_STATE_FIPS - -74 rows - -__PK__ - -PK - -Description - -str + +L_STATE_FIPS + +74 rows + +__PK__ + +PK + +Description + +str L_WORLD_AREA_CODES - -L_WORLD_AREA_CODES - -333 rows - -__PK__ - -PK - -Description - -str + +L_WORLD_AREA_CODES + +333 rows + +__PK__ + +PK + +Description + +str L_AIRLINE_ID - -L_AIRLINE_ID - -2K rows - -__PK__ - -PK - -Description - -str + +L_AIRLINE_ID + +2K rows + +__PK__ + +PK + +Description + +str L_UNIQUE_CARRIERS - -L_UNIQUE_CARRIERS - -2K rows - -__PK__ - -PK - -Description - -str + +L_UNIQUE_CARRIERS + +2K rows + +__PK__ + +PK + +Description + +str L_AIRPORT - -L_AIRPORT - -6K rows - -__PK__ - -PK - -Description - -str + +L_AIRPORT + +6K rows + +__PK__ + +PK + +Description + +str L_DISTANCE_GROUP_250 - -L_DISTANCE_GROUP_250 - -11 rows - -__PK__ - -PK - -Description - -str + +L_DISTANCE_GROUP_250 + +11 rows + +__PK__ + +PK + +Description + +str L_QUARTERS - -L_QUARTERS - -4 rows - -__PK__ - -PK - -Description - -str + +L_QUARTERS + +4 rows + +__PK__ + +PK + +Description + +str L_YESNO_RESP - -L_YESNO_RESP - -2 rows - -__PK__ - -PK - -Description - -str + +L_YESNO_RESP + +2 rows + +__PK__ + +PK + +Description + +str L_CITY_MARKET_ID - -L_CITY_MARKET_ID - -6K rows - -__PK__ - -PK - -Description - -str + +L_CITY_MARKET_ID + +6K rows + +__PK__ + +PK + +Description + +str On_Time_On_Time_Performance_2016_1 - -On_Time_On_Time_Performance_2016_1 - -446K rows - -__PK__ - -PK - -FK_L_AIRLINE_ID_AirlineID - -FK - -FK_L_YESNO_RESP_ArrDel15 - -FK - -FK_L_ONTIME_DELAY_GROUPS_ArrivalDelayGroups - -FK - -FK_L_CANCELLATION_CancellationCode - -FK - -FK_L_YESNO_RESP_Cancelled - -FK - -FK_L_WEEKDAYS_DayOfWeek - -FK - -FK_L_YESNO_RESP_DepDel15 - -FK - -FK_L_DEPARRBLK_DepTimeBlk - -FK - -FK_L_ONTIME_DELAY_GROUPS_DepartureDelayGroups - -FK - -FK_L_AIRPORT_ID_DestAirportID - -FK - -FK_L_AIRPORT_SEQ_ID_DestAirportSeqID - -FK - -FK_L_CITY_MARKET_ID_DestCityMarketID - -FK - -FK_L_STATE_FIPS_DestStateFips - -FK - -FK_L_STATE_ABR_AVIATION_DestState - -FK - -FK_L_WORLD_AREA_CODES_DestWac - -FK - -FK_L_AIRPORT_Dest - -FK - -FK_L_DISTANCE_GROUP_250_DistanceGroup - -FK - -FK_L_AIRPORT_ID_Div1AirportID - -FK - -FK_L_AIRPORT_SEQ_ID_Div1AirportSeqID - -FK - -FK_L_AIRPORT_ID_Div2AirportID - -FK - -FK_L_AIRPORT_SEQ_ID_Div2AirportSeqID - -FK - -FK_L_DIVERSIONS_DivAirportLandings - -FK - -FK_L_YESNO_RESP_Diverted - -FK - -FK_L_MONTHS_Month - -FK - -FK_L_AIRPORT_ID_OriginAirportID - -FK - -FK_L_AIRPORT_SEQ_ID_OriginAirportSeqID - -FK - -FK_L_CITY_MARKET_ID_OriginCityMarketID - -FK - -FK_L_STATE_FIPS_OriginStateFips - -FK - -FK_L_STATE_ABR_AVIATION_OriginState - -FK - -FK_L_WORLD_AREA_CODES_OriginWac - -FK - -FK_L_AIRPORT_Origin - -FK - -FK_L_QUARTERS_Quarter - -FK - -FK_L_UNIQUE_CARRIERS_UniqueCarrier - -FK - -FlightDate - -TIME - -DepDelay - -float - -DepDelayMinutes - -float - -TaxiOut - -float - -TaxiIn - -float - -ArrDelay - -float - -ArrDelayMinutes - -float - -CRSElapsedTime - -float - -ActualElapsedTime - -float - -AirTime - -float - -Flights - -float - -Distance - -float - -CarrierDelay - -float - -WeatherDelay - -float - -NASDelay - -float - -SecurityDelay - -float - -LateAircraftDelay - -float - -FirstDepTime - -float - -TotalAddGTime - -float - -LongestAddGTime - -float - -DivReachedDest - -float - -DivActualElapsedTime - -float - -DivArrDelay - -float - -DivDistance - -float - -Div1WheelsOn - -float - -Div1TotalGTime - -float - -Div1LongestGTime - -float - -Div1WheelsOff - -float - -Div2WheelsOn - -float - -Div2TotalGTime - -float - -Div2LongestGTime - -float - -Year - -int - -Quarter - -int - -Month - -int - -DayofMonth - -int - -DayOfWeek - -int - -AirlineID - -int - -FlightNum - -int - -OriginAirportID - -int - -OriginAirportSeqID - -int - -OriginCityMarketID - -int - -OriginStateFips - -int - -OriginWac - -int - -DestAirportID - -int - -DestAirportSeqID - -int - -DestCityMarketID - -int - -DestStateFips - -int - -DestWac - -int - -CRSDepTime - -int - -DepTime - -int - -DepDel15 - -int - -DepartureDelayGroups - -int - -WheelsOff - -int - -WheelsOn - -int - -CRSArrTime - -int - -ArrTime - -int - -ArrDel15 - -int - -ArrivalDelayGroups - -int - -Cancelled - -int - -Diverted - -int - -DistanceGroup - -int - -DivAirportLandings - -int - -Div1AirportID - -int - -Div1AirportSeqID - -int - -Div2AirportID - -int - -Div2AirportSeqID - -int - -UniqueCarrier - -str - -Carrier - -str - -TailNum - -str - -Origin - -str - -OriginCityName - -str - -OriginState - -str - -OriginStateName - -str - -Dest - -str - -DestCityName - -str - -DestState - -str - -DestStateName - -str - -DepTimeBlk - -str - -ArrTimeBlk - -str - -CancellationCode - -str - -Div1Airport - -str - -Div1TailNum - -str - -Div2Airport - -str + +On_Time_On_Time_Performance_2016_1 + +446K rows + +__PK__ + +PK + +FK_L_AIRLINE_ID_AirlineID + +FK + +FK_L_YESNO_RESP_ArrDel15 + +FK + +FK_L_ONTIME_DELAY_GROUPS_ArrivalDelayGroups + +FK + +FK_L_CANCELLATION_CancellationCode + +FK + +FK_L_YESNO_RESP_Cancelled + +FK + +FK_L_WEEKDAYS_DayOfWeek + +FK + +FK_L_YESNO_RESP_DepDel15 + +FK + +FK_L_DEPARRBLK_DepTimeBlk + +FK + +FK_L_ONTIME_DELAY_GROUPS_DepartureDelayGroups + +FK + +FK_L_AIRPORT_ID_DestAirportID + +FK + +FK_L_AIRPORT_SEQ_ID_DestAirportSeqID + +FK + +FK_L_CITY_MARKET_ID_DestCityMarketID + +FK + +FK_L_STATE_FIPS_DestStateFips + +FK + +FK_L_STATE_ABR_AVIATION_DestState + +FK + +FK_L_WORLD_AREA_CODES_DestWac + +FK + +FK_L_AIRPORT_Dest + +FK + +FK_L_DISTANCE_GROUP_250_DistanceGroup + +FK + +FK_L_AIRPORT_ID_Div1AirportID + +FK + +FK_L_AIRPORT_SEQ_ID_Div1AirportSeqID + +FK + +FK_L_AIRPORT_ID_Div2AirportID + +FK + +FK_L_AIRPORT_SEQ_ID_Div2AirportSeqID + +FK + +FK_L_DIVERSIONS_DivAirportLandings + +FK + +FK_L_YESNO_RESP_Diverted + +FK + +FK_L_MONTHS_Month + +FK + +FK_L_AIRPORT_ID_OriginAirportID + +FK + +FK_L_AIRPORT_SEQ_ID_OriginAirportSeqID + +FK + +FK_L_CITY_MARKET_ID_OriginCityMarketID + +FK + +FK_L_STATE_FIPS_OriginStateFips + +FK + +FK_L_STATE_ABR_AVIATION_OriginState + +FK + +FK_L_WORLD_AREA_CODES_OriginWac + +FK + +FK_L_AIRPORT_Origin + +FK + +FK_L_QUARTERS_Quarter + +FK + +FK_L_UNIQUE_CARRIERS_UniqueCarrier + +FK + +FlightDate + +TIME + +DepDelay + +float + +DepDelayMinutes + +float + +TaxiOut + +float + +TaxiIn + +float + +ArrDelay + +float + +ArrDelayMinutes + +float + +CRSElapsedTime + +float + +ActualElapsedTime + +float + +AirTime + +float + +Flights + +float + +Distance + +float + +CarrierDelay + +float + +WeatherDelay + +float + +NASDelay + +float + +SecurityDelay + +float + +LateAircraftDelay + +float + +FirstDepTime + +float + +TotalAddGTime + +float + +LongestAddGTime + +float + +DivReachedDest + +float + +DivActualElapsedTime + +float + +DivArrDelay + +float + +DivDistance + +float + +Div1WheelsOn + +float + +Div1TotalGTime + +float + +Div1LongestGTime + +float + +Div1WheelsOff + +float + +Div2WheelsOn + +float + +Div2TotalGTime + +float + +Div2LongestGTime + +float + +Year + +int + +Quarter + +int + +Month + +int + +DayofMonth + +int + +DayOfWeek + +int + +AirlineID + +int + +FlightNum + +int + +OriginAirportID + +int + +OriginAirportSeqID + +int + +OriginCityMarketID + +int + +OriginStateFips + +int + +OriginWac + +int + +DestAirportID + +int + +DestAirportSeqID + +int + +DestCityMarketID + +int + +DestStateFips + +int + +DestWac + +int + +CRSDepTime + +int + +DepTime + +int + +DepDel15 + +int + +DepartureDelayGroups + +int + +WheelsOff + +int + +WheelsOn + +int + +CRSArrTime + +int + +ArrTime + +int + +ArrDel15 + +int + +ArrivalDelayGroups + +int + +Cancelled + +int + +Diverted + +int + +DistanceGroup + +int + +DivAirportLandings + +int + +Div1AirportID + +int + +Div1AirportSeqID + +int + +Div2AirportID + +int + +Div2AirportSeqID + +int + +UniqueCarrier + +str + +Carrier + +str + +TailNum + +str + +Origin + +str + +OriginCityName + +str + +OriginState + +str + +OriginStateName + +str + +Dest + +str + +DestCityName + +str + +DestState + +str + +DestStateName + +str + +DepTimeBlk + +str + +ArrTimeBlk + +str + +CancellationCode + +str + +Div1Airport + +str + +Div1TailNum + +str + +Div2Airport + +str L_DIVERSIONS - -L_DIVERSIONS - -7 rows - -__PK__ - -PK - -Description - -str + +L_DIVERSIONS + +7 rows + +__PK__ + +PK + +Description + +str L_AIRPORT_SEQ_ID - -L_AIRPORT_SEQ_ID - -13K rows - -__PK__ - -PK - -Description - -str + +L_AIRPORT_SEQ_ID + +13K rows + +__PK__ + +PK + +Description + +str diff --git a/ctu-atherosclerosis/README.md b/ctu-atherosclerosis/README.md index 47f4b9e0ebd777c79030df309488238be2c03b37..f920e14d2c4689ff177b2ca424020da21da9b263 100644 --- a/ctu-atherosclerosis/README.md +++ b/ctu-atherosclerosis/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-atherosclerosis ---- - # ctu-atherosclerosis The study STULONG is a longitudinal 20 years lasting primary preventive study of middle-aged men. The study aims to identify prevalence of atherosclerosis RFs in a population generally considered to be the most endangered by possible atherosclerosis complications, i.e., middle-aged men. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The study STULONG is a longitudinal 20 years lasting primary preventive study of ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-atherosclerosis") -task = relbench.load_task("ctu-atherosclerosis", "") +ds = relbench.load_dataset("relbench/redelex/ctu-atherosclerosis") +task = relbench.load_task("relbench/redelex/ctu-atherosclerosis", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-atherosclerosis/schema.svg b/ctu-atherosclerosis/schema.svg index f8e7df8265fd1864524bfee250e4086012b59d5e..7fae0db66e0f434995d8dedf3a98e99d85d1f2da 100644 --- a/ctu-atherosclerosis/schema.svg +++ b/ctu-atherosclerosis/schema.svg @@ -1,844 +1,844 @@ - - + + schema Contr:e->Entry:w - + Death:e->Entry:w - + Letter:e->Entry:w - + Entry - -Entry - -1K rows - -__PK__ - -PK - -KONSKUP - -int - -ROKNAR - -int - -ROKVSTUP - -int - -MESVSTUP - -int - -STAV - -int - -VZDELANI - -int - -ZODPOV - -int - -TELAKTZA - -int - -AKTPOZAM - -int - -DOPRAVA - -int - -DOPRATRV - -int - -KOURENI - -int - -ALKOHOL - -int - -PIVO10 - -int - -VINO - -int - -LIHOV - -int - -PIVOMN - -int - -VINOMN - -int - -LIHMN - -int - -KAVA - -int - -CAJ - -int - -CUKR - -int - -IM - -int - -HT - -int - -ICT - -int - -DIABET - -int - -DIABD - -int - -DIABL - -int - -HYPLIP - -int - -DIABTRV - -int - -BOLHR - -int - -BOLDK - -int - -DUSNOST - -int - -VYSKA - -int - -VAHA - -int - -SYST1 - -int - -DIAST1 - -int - -TRIC - -int - -SUBSC - -int - -CHLST - -int - -TRIGL - -int - -MOC - -int - -RARISK - -int - -OBEZRISK - -int - -KOURRISK - -int - -HTRISK - -int - -CHOLRISK - -int - -DOBAKOUR - -str - -BYVKURAK - -str - -PIVO7 - -str - -PIVO12 - -str - -IML - -str - -HTD - -str - -HTL - -str - -ICTL - -str - -HYPLD - -str - -HYPLL - -str - -IMTRV - -str - -HTTRV - -str - -ICTTRV - -str - -HYPLTRV - -str - -SYST2 - -str - -DIAST2 - -str + +Entry + +1K rows + +__PK__ + +PK + +KONSKUP + +int + +ROKNAR + +int + +ROKVSTUP + +int + +MESVSTUP + +int + +STAV + +int + +VZDELANI + +int + +ZODPOV + +int + +TELAKTZA + +int + +AKTPOZAM + +int + +DOPRAVA + +int + +DOPRATRV + +int + +KOURENI + +int + +ALKOHOL + +int + +PIVO10 + +int + +VINO + +int + +LIHOV + +int + +PIVOMN + +int + +VINOMN + +int + +LIHMN + +int + +KAVA + +int + +CAJ + +int + +CUKR + +int + +IM + +int + +HT + +int + +ICT + +int + +DIABET + +int + +DIABD + +int + +DIABL + +int + +HYPLIP + +int + +DIABTRV + +int + +BOLHR + +int + +BOLDK + +int + +DUSNOST + +int + +VYSKA + +int + +VAHA + +int + +SYST1 + +int + +DIAST1 + +int + +TRIC + +int + +SUBSC + +int + +CHLST + +int + +TRIGL + +int + +MOC + +int + +RARISK + +int + +OBEZRISK + +int + +KOURRISK + +int + +HTRISK + +int + +CHOLRISK + +int + +DOBAKOUR + +str + +BYVKURAK + +str + +PIVO7 + +str + +PIVO12 + +str + +IML + +str + +HTD + +str + +HTL + +str + +ICTL + +str + +HYPLD + +str + +HYPLL + +str + +IMTRV + +str + +HTTRV + +str + +ICTTRV + +str + +HYPLTRV + +str + +SYST2 + +str + +DIAST2 + +str Contr - -Contr - -11K rows - -__PK__ - -PK - -FK_Entry_ICO - -FK - -CHLST - -float - -TRIGL - -float - -ICO - -int - -ROKVYS - -int - -MESVYS - -int - -PORADK - -int - -ZMCHARZA - -int - -ZMTELAKT - -int - -AKTPOZAM - -int - -ZMDIET - -int - -LEKTLAK - -int - -ZMKOUR - -int - -POCCIG - -int - -PRACNES - -int - -JINAONE - -int - -BOLHR - -int - -BOLDK - -int - -DUSN - -int - -HODNSK - -int - -HODN0 - -int - -ROK0 - -int - -HMOT - -int - -SYST - -int - -DIAST - -int - -TRIC - -int - -SUBSC - -int - -HYPERSD - -int - -HYPERS - -int - -HYPERD - -int - -HYPCHL - -int - -HYPTGL - -int - -CHLSTMG - -int - -TRIGLMG - -int - -MOC - -int - -LEKCHOL - -str - -SRDCE - -str - -HYPERT - -str - -CEVMOZ - -str - -DIAB - -str - -HODN1 - -str - -ROK1 - -str - -HODN2 - -str - -ROK2 - -str - -HODN3 - -str - -ROK3 - -str - -HODN4 - -str - -ROK4 - -str - -HODN11 - -str - -ROK11 - -str - -HODN12 - -str - -ROK12 - -str - -HODN13 - -str - -ROK13 - -str - -HODN14 - -str - -ROK14 - -str - -HODN15 - -str - -ROK15 - -str - -HODN21 - -str - -ROK21 - -str - -HODN23 - -str - -ROK23 - -str - -HDL - -str - -HDLMG - -str - -GLYKEMIE - -str - -KYSMOC - -str - -LDL - -str + +Contr + +11K rows + +__PK__ + +PK + +FK_Entry_ICO + +FK + +CHLST + +float + +TRIGL + +float + +ICO + +int + +ROKVYS + +int + +MESVYS + +int + +PORADK + +int + +ZMCHARZA + +int + +ZMTELAKT + +int + +AKTPOZAM + +int + +ZMDIET + +int + +LEKTLAK + +int + +ZMKOUR + +int + +POCCIG + +int + +PRACNES + +int + +JINAONE + +int + +BOLHR + +int + +BOLDK + +int + +DUSN + +int + +HODNSK + +int + +HODN0 + +int + +ROK0 + +int + +HMOT + +int + +SYST + +int + +DIAST + +int + +TRIC + +int + +SUBSC + +int + +HYPERSD + +int + +HYPERS + +int + +HYPERD + +int + +HYPCHL + +int + +HYPTGL + +int + +CHLSTMG + +int + +TRIGLMG + +int + +MOC + +int + +LEKCHOL + +str + +SRDCE + +str + +HYPERT + +str + +CEVMOZ + +str + +DIAB + +str + +HODN1 + +str + +ROK1 + +str + +HODN2 + +str + +ROK2 + +str + +HODN3 + +str + +ROK3 + +str + +HODN4 + +str + +ROK4 + +str + +HODN11 + +str + +ROK11 + +str + +HODN12 + +str + +ROK12 + +str + +HODN13 + +str + +ROK13 + +str + +HODN14 + +str + +ROK14 + +str + +HODN15 + +str + +ROK15 + +str + +HODN21 + +str + +ROK21 + +str + +HODN23 + +str + +ROK23 + +str + +HDL + +str + +HDLMG + +str + +GLYKEMIE + +str + +KYSMOC + +str + +LDL + +str Death - -Death - -389 rows - -__PK__ - -PK - -FK_Entry_ICO - -FK - -ROKUMR - -int - -PRICUMR - -int - -DENUMR - -str - -MESUMR - -str + +Death + +389 rows + +__PK__ + +PK + +FK_Entry_ICO + +FK + +ROKUMR + +int + +PRICUMR + +int + +DENUMR + +str + +MESUMR + +str Letter - -Letter - -403 rows - -__PK__ - -PK - -FK_Entry_ICO - -FK - -ROKDOT - -int - -LEKCHOL - -int - -LEKTK - -int - -NEMOC1 - -int - -ROK1 - -int - -HYPTK - -int - -HYPLP - -int - -CUKROVKA - -int - -AP - -int - -SI - -int - -BDK - -int - -MESDOT - -str - -NEMOC2 - -str - -ROK2 - -str - -NEMOC3 - -str - -ROK3 - -str - -NEMOC4 - -str - -ROK4 - -str - -NEMOC5 - -str - -ROK5 - -str - -ROKHYPTK - -str - -ROKHYPLP - -str - -ROKCUKR - -str - -CUKRTAB - -str - -ODCUTAB - -str - -DOCUTAB - -str - -CUKRINS - -str - -ODCUINS - -str - -DOCUINS - -str - -ROKSI - -str - -MM - -str - -ROKMM - -str - -ROKBDK1 - -str - -DUSNOST - -str - -ROKDUS - -str - -DUSCHUZE - -str - -DUSBEH - -str - -DUSROVIN - -str - -DUKLID - -str - -DUSNOC - -str - -KURAK - -str - -KURAKBYV - -str - -ROKPRKOUR - -str - -KOURLET - -str - -CIGDENMIN - -str - -CIGDEN - -str - -KOURODLET - -str - -DYMKA - -str - -PASED - -str - -PAMIRNA - -str - -PAVELKA - -str - -PAPRED10 - -str - -DIETA - -str - -DIECUOD - -str - -DIETUKOD - -str - -JINADIE - -str - -JINADIEOD - -str - -VAHA - -str - -VAHAPRED10 - -str + +Letter + +403 rows + +__PK__ + +PK + +FK_Entry_ICO + +FK + +ROKDOT + +int + +LEKCHOL + +int + +LEKTK + +int + +NEMOC1 + +int + +ROK1 + +int + +HYPTK + +int + +HYPLP + +int + +CUKROVKA + +int + +AP + +int + +SI + +int + +BDK + +int + +MESDOT + +str + +NEMOC2 + +str + +ROK2 + +str + +NEMOC3 + +str + +ROK3 + +str + +NEMOC4 + +str + +ROK4 + +str + +NEMOC5 + +str + +ROK5 + +str + +ROKHYPTK + +str + +ROKHYPLP + +str + +ROKCUKR + +str + +CUKRTAB + +str + +ODCUTAB + +str + +DOCUTAB + +str + +CUKRINS + +str + +ODCUINS + +str + +DOCUINS + +str + +ROKSI + +str + +MM + +str + +ROKMM + +str + +ROKBDK1 + +str + +DUSNOST + +str + +ROKDUS + +str + +DUSCHUZE + +str + +DUSBEH + +str + +DUSROVIN + +str + +DUKLID + +str + +DUSNOC + +str + +KURAK + +str + +KURAKBYV + +str + +ROKPRKOUR + +str + +KOURLET + +str + +CIGDENMIN + +str + +CIGDEN + +str + +KOURODLET + +str + +DYMKA + +str + +PASED + +str + +PAMIRNA + +str + +PAVELKA + +str + +PAPRED10 + +str + +DIETA + +str + +DIECUOD + +str + +DIETUKOD + +str + +JINADIE + +str + +JINADIEOD + +str + +VAHA + +str + +VAHAPRED10 + +str diff --git a/ctu-basketballmen/README.md b/ctu-basketballmen/README.md index e7562eb0b56376fc84ff890069c94b481e10b2b9..714014bcdf7a06acee92a98893ea39ac44c0b619 100644 --- a/ctu-basketballmen/README.md +++ b/ctu-basketballmen/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-basketballmen ---- - # ctu-basketballmen CTU relational dataset 'basketballmen' from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ CTU relational dataset 'basketballmen' from the CTU Prague Relational Learning R ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-basketballmen") -task = relbench.load_task("ctu-basketballmen", "") +ds = relbench.load_dataset("relbench/redelex/ctu-basketballmen") +task = relbench.load_task("relbench/redelex/ctu-basketballmen", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-basketballmen/schema.svg b/ctu-basketballmen/schema.svg index 4d00080d7ca3b34938e7c9cb8dab6f27f207515d..3fa39eb923306602abb5abb5291312b96f43aced 100644 --- a/ctu-basketballmen/schema.svg +++ b/ctu-basketballmen/schema.svg @@ -1,944 +1,944 @@ - - + + schema draft:e->teams:w - + awards_coaches:e->coaches:w - + awards_players:e->players:w - + players_teams:e->teams:w - + players_teams:e->players:w - + series_post:e->teams:w - + series_post:e->teams:w - + coaches:e->teams:w - + player_allstar:e->players:w - + draft - -draft - -9K rows - -__PK__ - -PK - -FK_teams_tmID_draftYear - -FK - -draftYear - -int - -draftRound - -int - -draftSelection - -int - -draftOverall - -int - -tmID - -str - -firstName - -str - -lastName - -str - -suffixName - -str - -playerID - -str - -draftFrom - -str - -lgID - -str + +draft + +9K rows + +__PK__ + +PK + +FK_teams_tmID_draftYear + +FK + +draftYear + +int + +draftRound + +int + +draftSelection + +int + +draftOverall + +int + +tmID + +str + +firstName + +str + +lastName + +str + +suffixName + +str + +playerID + +str + +draftFrom + +str + +lgID + +str teams - -teams - -2K rows - -__PK__ - -PK - -year - -int - -rank - -int - -confRank - -int - -o_fgm - -int - -o_fga - -int - -o_ftm - -int - -o_fta - -int - -o_3pm - -int - -o_3pa - -int - -o_oreb - -int - -o_dreb - -int - -o_reb - -int - -o_asts - -int - -o_pf - -int - -o_stl - -int - -o_to - -int - -o_blk - -int - -o_pts - -int - -d_fgm - -int - -d_fga - -int - -d_ftm - -int - -d_fta - -int - -d_3pm - -int - -d_3pa - -int - -d_oreb - -int - -d_dreb - -int - -d_reb - -int - -d_asts - -int - -d_pf - -int - -d_stl - -int - -d_to - -int - -d_blk - -int - -d_pts - -int - -o_tmRebound - -int - -d_tmRebound - -int - -homeWon - -int - -homeLost - -int - -awayWon - -int - -awayLost - -int - -neutWon - -int - -neutLoss - -int - -confWon - -int - -confLoss - -int - -divWon - -int - -divLoss - -int - -pace - -int - -won - -int - -lost - -int - -games - -int - -min - -int - -attendance - -int - -lgID - -str - -tmID - -str - -franchID - -str - -confID - -str - -divID - -str - -playoff - -str - -name - -str - -arena - -str - -bbtmID - -str + +teams + +2K rows + +__PK__ + +PK + +year + +int + +rank + +int + +confRank + +int + +o_fgm + +int + +o_fga + +int + +o_ftm + +int + +o_fta + +int + +o_3pm + +int + +o_3pa + +int + +o_oreb + +int + +o_dreb + +int + +o_reb + +int + +o_asts + +int + +o_pf + +int + +o_stl + +int + +o_to + +int + +o_blk + +int + +o_pts + +int + +d_fgm + +int + +d_fga + +int + +d_ftm + +int + +d_fta + +int + +d_3pm + +int + +d_3pa + +int + +d_oreb + +int + +d_dreb + +int + +d_reb + +int + +d_asts + +int + +d_pf + +int + +d_stl + +int + +d_to + +int + +d_blk + +int + +d_pts + +int + +o_tmRebound + +int + +d_tmRebound + +int + +homeWon + +int + +homeLost + +int + +awayWon + +int + +awayLost + +int + +neutWon + +int + +neutLoss + +int + +confWon + +int + +confLoss + +int + +divWon + +int + +divLoss + +int + +pace + +int + +won + +int + +lost + +int + +games + +int + +min + +int + +attendance + +int + +lgID + +str + +tmID + +str + +franchID + +str + +confID + +str + +divID + +str + +playoff + +str + +name + +str + +arena + +str + +bbtmID + +str awards_coaches - -awards_coaches - -61 rows - -__PK__ - -PK - -FK_coaches_coachID_year - -FK - -year - -int - -coachID - -str - -award - -str - -lgID - -str - -note - -str + +awards_coaches + +61 rows + +__PK__ + +PK + +FK_coaches_coachID_year + +FK + +year + +int + +coachID + +str + +award + +str + +lgID + +str + +note + +str coaches - -coaches - -2K rows - -__PK__ - -PK - -FK_teams_tmID_year - -FK - -year - -int - -stint - -int - -won - -int - -lost - -int - -post_wins - -int - -post_losses - -int - -coachID - -str - -tmID - -str - -lgID - -str + +coaches + +2K rows + +__PK__ + +PK + +FK_teams_tmID_year + +FK + +year + +int + +stint + +int + +won + +int + +lost + +int + +post_wins + +int + +post_losses + +int + +coachID + +str + +tmID + +str + +lgID + +str awards_players - -awards_players - -2K rows - -__PK__ - -PK - -FK_players_playerID - -FK - -year - -int - -playerID - -str - -award - -str - -lgID - -str - -note - -str - -pos - -str + +awards_players + +2K rows + +__PK__ + +PK + +FK_players_playerID + +FK + +year + +int + +playerID + +str + +award + +str + +lgID + +str + +note + +str + +pos + +str players - -players - -5K rows - -__PK__ - -PK - -height - -float - -firstseason - -int - -lastseason - -int - -weight - -int - -useFirst - -str - -firstName - -str - -middleName - -str - -lastName - -str - -nameGiven - -str - -fullGivenName - -str - -nameSuffix - -str - -nameNick - -str - -pos - -str - -college - -str - -collegeOther - -str - -birthCity - -str - -birthState - -str - -birthCountry - -str - -highSchool - -str - -hsCity - -str - -hsState - -str - -hsCountry - -str - -race - -str - -birthDate - -datetime - -deathDate - -datetime + +players + +5K rows + +__PK__ + +PK + +height + +float + +firstseason + +int + +lastseason + +int + +weight + +int + +useFirst + +str + +firstName + +str + +middleName + +str + +lastName + +str + +nameGiven + +str + +fullGivenName + +str + +nameSuffix + +str + +nameNick + +str + +pos + +str + +college + +str + +collegeOther + +str + +birthCity + +str + +birthState + +str + +birthCountry + +str + +highSchool + +str + +hsCity + +str + +hsState + +str + +hsCountry + +str + +race + +str + +birthDate + +datetime + +deathDate + +datetime players_teams - -players_teams - -24K rows - -__PK__ - -PK - -FK_players_playerID - -FK - -FK_teams_tmID_year - -FK - -year - -int - -stint - -int - -GP - -int - -GS - -int - -minutes - -int - -points - -int - -oRebounds - -int - -dRebounds - -int - -rebounds - -int - -assists - -int - -steals - -int - -blocks - -int - -turnovers - -int - -PF - -int - -fgAttempted - -int - -fgMade - -int - -ftAttempted - -int - -ftMade - -int - -threeAttempted - -int - -threeMade - -int - -PostGP - -int - -PostGS - -int - -PostMinutes - -int - -PostPoints - -int - -PostoRebounds - -int - -PostdRebounds - -int - -PostRebounds - -int - -PostAssists - -int - -PostSteals - -int - -PostBlocks - -int - -PostTurnovers - -int - -PostPF - -int - -PostfgAttempted - -int - -PostfgMade - -int - -PostftAttempted - -int - -PostftMade - -int - -PostthreeAttempted - -int - -PostthreeMade - -int - -playerID - -str - -tmID - -str - -lgID - -str - -note - -str + +players_teams + +24K rows + +__PK__ + +PK + +FK_players_playerID + +FK + +FK_teams_tmID_year + +FK + +year + +int + +stint + +int + +GP + +int + +GS + +int + +minutes + +int + +points + +int + +oRebounds + +int + +dRebounds + +int + +rebounds + +int + +assists + +int + +steals + +int + +blocks + +int + +turnovers + +int + +PF + +int + +fgAttempted + +int + +fgMade + +int + +ftAttempted + +int + +ftMade + +int + +threeAttempted + +int + +threeMade + +int + +PostGP + +int + +PostGS + +int + +PostMinutes + +int + +PostPoints + +int + +PostoRebounds + +int + +PostdRebounds + +int + +PostRebounds + +int + +PostAssists + +int + +PostSteals + +int + +PostBlocks + +int + +PostTurnovers + +int + +PostPF + +int + +PostfgAttempted + +int + +PostfgMade + +int + +PostftAttempted + +int + +PostftMade + +int + +PostthreeAttempted + +int + +PostthreeMade + +int + +playerID + +str + +tmID + +str + +lgID + +str + +note + +str series_post - -series_post - -775 rows - -__PK__ - -PK - -FK_teams_tmIDWinner_year - -FK - -FK_teams_tmIDLoser_year - -FK - -year - -int - -W - -int - -L - -int - -round - -str - -series - -str - -tmIDWinner - -str - -lgIDWinner - -str - -tmIDLoser - -str - -lgIDLoser - -str + +series_post + +775 rows + +__PK__ + +PK + +FK_teams_tmIDWinner_year + +FK + +FK_teams_tmIDLoser_year + +FK + +year + +int + +W + +int + +L + +int + +round + +str + +series + +str + +tmIDWinner + +str + +lgIDWinner + +str + +tmIDLoser + +str + +lgIDLoser + +str player_allstar - -player_allstar - -2K rows - -__PK__ - -PK - -FK_players_playerID - -FK - -season_id - -int - -games_played - -int - -minutes - -int - -points - -int - -o_rebounds - -int - -d_rebounds - -int - -rebounds - -int - -assists - -int - -steals - -int - -blocks - -int - -turnovers - -int - -personal_fouls - -int - -fg_attempted - -int - -fg_made - -int - -ft_attempted - -int - -ft_made - -int - -three_attempted - -int - -three_made - -int - -playerID - -str - -last_name - -str - -first_name - -str - -conference - -str - -league_id - -str + +player_allstar + +2K rows + +__PK__ + +PK + +FK_players_playerID + +FK + +season_id + +int + +games_played + +int + +minutes + +int + +points + +int + +o_rebounds + +int + +d_rebounds + +int + +rebounds + +int + +assists + +int + +steals + +int + +blocks + +int + +turnovers + +int + +personal_fouls + +int + +fg_attempted + +int + +fg_made + +int + +ft_attempted + +int + +ft_made + +int + +three_attempted + +int + +three_made + +int + +playerID + +str + +last_name + +str + +first_name + +str + +conference + +str + +league_id + +str diff --git a/ctu-basketballwomen/README.md b/ctu-basketballwomen/README.md index d104c1be40d7530f5e9a0353aa6da33de7bd9b88..461a5022aa9c48b00319f9a7018cdf8c797a1cbc 100644 --- a/ctu-basketballwomen/README.md +++ b/ctu-basketballwomen/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-basketballwomen ---- - # ctu-basketballwomen CTU relational dataset 'basketballwomen' from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ CTU relational dataset 'basketballwomen' from the CTU Prague Relational Learning ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-basketballwomen") -task = relbench.load_task("ctu-basketballwomen", "") +ds = relbench.load_dataset("relbench/redelex/ctu-basketballwomen") +task = relbench.load_task("relbench/redelex/ctu-basketballwomen", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-basketballwomen/schema.svg b/ctu-basketballwomen/schema.svg index 0d689d00e1ff8be4240cd4e77bff4195f676693c..313d4ad79c75869764e023e8ceddcd9ee416dd8f 100644 --- a/ctu-basketballwomen/schema.svg +++ b/ctu-basketballwomen/schema.svg @@ -1,864 +1,864 @@ - - + + schema draft:e->teams:w - + series_post:e->teams:w - + series_post:e->teams:w - + coaches:e->teams:w - + teams_post:e->teams:w - + players_teams:e->teams:w - + players_teams:e->players:w - + awards_players:e->players:w - + teams - -teams - -234 rows - -__PK__ - -PK - -year - -int - -rank - -int - -seeded - -int - -o_fgm - -int - -o_fga - -int - -o_ftm - -int - -o_fta - -int - -o_3pm - -int - -o_3pa - -int - -o_oreb - -int - -o_dreb - -int - -o_reb - -int - -o_asts - -int - -o_pf - -int - -o_stl - -int - -o_to - -int - -o_blk - -int - -o_pts - -int - -d_fgm - -int - -d_fga - -int - -d_ftm - -int - -d_fta - -int - -d_3pm - -int - -d_3pa - -int - -d_oreb - -int - -d_dreb - -int - -d_reb - -int - -d_asts - -int - -d_pf - -int - -d_stl - -int - -d_to - -int - -d_blk - -int - -d_pts - -int - -tmORB - -int - -tmDRB - -int - -tmTRB - -int - -opptmORB - -int - -opptmDRB - -int - -opptmTRB - -int - -won - -int - -lost - -int - -GP - -int - -homeW - -int - -homeL - -int - -awayW - -int - -awayL - -int - -confW - -int - -confL - -int - -min - -int - -attend - -int - -lgID - -str - -tmID - -str - -franchID - -str - -confID - -str - -divID - -str - -playoff - -str - -firstRound - -str - -semis - -str - -finals - -str - -name - -str - -arena - -str + +teams + +234 rows + +__PK__ + +PK + +year + +int + +rank + +int + +seeded + +int + +o_fgm + +int + +o_fga + +int + +o_ftm + +int + +o_fta + +int + +o_3pm + +int + +o_3pa + +int + +o_oreb + +int + +o_dreb + +int + +o_reb + +int + +o_asts + +int + +o_pf + +int + +o_stl + +int + +o_to + +int + +o_blk + +int + +o_pts + +int + +d_fgm + +int + +d_fga + +int + +d_ftm + +int + +d_fta + +int + +d_3pm + +int + +d_3pa + +int + +d_oreb + +int + +d_dreb + +int + +d_reb + +int + +d_asts + +int + +d_pf + +int + +d_stl + +int + +d_to + +int + +d_blk + +int + +d_pts + +int + +tmORB + +int + +tmDRB + +int + +tmTRB + +int + +opptmORB + +int + +opptmDRB + +int + +opptmTRB + +int + +won + +int + +lost + +int + +GP + +int + +homeW + +int + +homeL + +int + +awayW + +int + +awayL + +int + +confW + +int + +confL + +int + +min + +int + +attend + +int + +lgID + +str + +tmID + +str + +franchID + +str + +confID + +str + +divID + +str + +playoff + +str + +firstRound + +str + +semis + +str + +finals + +str + +name + +str + +arena + +str draft - -draft - -774 rows - -__PK__ - -PK - -FK_teams_tmID_draftYear - -FK - -draftYear - -int - -draftRound - -int - -draftSelection - -int - -draftOverall - -int - -tmID - -str - -firstName - -str - -lastName - -str - -fullName - -str - -suffixName - -str - -playerID - -str - -draftFrom - -str - -lgID - -str - -playedPro - -str - -notes - -str - -pickRoute - -str + +draft + +774 rows + +__PK__ + +PK + +FK_teams_tmID_draftYear + +FK + +draftYear + +int + +draftRound + +int + +draftSelection + +int + +draftOverall + +int + +tmID + +str + +firstName + +str + +lastName + +str + +fullName + +str + +suffixName + +str + +playerID + +str + +draftFrom + +str + +lgID + +str + +playedPro + +str + +notes + +str + +pickRoute + +str series_post - -series_post - -104 rows - -__PK__ - -PK - -FK_teams_tmIDWinner_year - -FK - -FK_teams_tmIDLoser_year - -FK - -year - -int - -W - -int - -L - -int - -round - -str - -series - -str - -tmIDWinner - -str - -lgIDWinner - -str - -tmIDLoser - -str - -lgIDLoser - -str + +series_post + +104 rows + +__PK__ + +PK + +FK_teams_tmIDWinner_year + +FK + +FK_teams_tmIDLoser_year + +FK + +year + +int + +W + +int + +L + +int + +round + +str + +series + +str + +tmIDWinner + +str + +lgIDWinner + +str + +tmIDLoser + +str + +lgIDLoser + +str coaches - -coaches - -267 rows - -__PK__ - -PK - -FK_teams_tmID_year - -FK - -year - -int - -stint - -int - -won - -int - -lost - -int - -post_wins - -int - -post_losses - -int - -coachID - -str - -fullName - -str - -tmID - -str - -lgID - -str - -playerCoach - -str + +coaches + +267 rows + +__PK__ + +PK + +FK_teams_tmID_year + +FK + +year + +int + +stint + +int + +won + +int + +lost + +int + +post_wins + +int + +post_losses + +int + +coachID + +str + +fullName + +str + +tmID + +str + +lgID + +str + +playerCoach + +str players - -players - -893 rows - -__PK__ - -PK - -height - -float - -firstseason - -int - -lastseason - -int - -weight - -int - -firstName - -str - -middleName - -str - -lastName - -str - -nameGiven - -str - -fullGivenName - -str - -marriedName - -str - -nameNick - -str - -pos - -str - -college - -str - -collegeOther - -str - -birthDate - -str - -birthCity - -str - -birthState - -str - -birthCountry - -str - -highSchool - -str - -hsCity - -str - -hsState - -str - -hsCountry - -str - -deathDate - -str + +players + +893 rows + +__PK__ + +PK + +height + +float + +firstseason + +int + +lastseason + +int + +weight + +int + +firstName + +str + +middleName + +str + +lastName + +str + +nameGiven + +str + +fullGivenName + +str + +marriedName + +str + +nameNick + +str + +pos + +str + +college + +str + +collegeOther + +str + +birthDate + +str + +birthCity + +str + +birthState + +str + +birthCountry + +str + +highSchool + +str + +hsCity + +str + +hsState + +str + +hsCountry + +str + +deathDate + +str teams_post - -teams_post - -123 rows - -__PK__ - -PK - -FK_teams_tmID_year - -FK - -year - -int - -W - -int - -L - -int - -tmID - -str - -lgID - -str + +teams_post + +123 rows + +__PK__ + +PK + +FK_teams_tmID_year + +FK + +year + +int + +W + +int + +L + +int + +tmID + +str + +lgID + +str players_teams - -players_teams - -3K rows - -__PK__ - -PK - -FK_players_playerID - -FK - -FK_teams_tmID_year - -FK - -year - -int - -stint - -int - -GP - -int - -GS - -int - -minutes - -int - -points - -int - -oRebounds - -int - -dRebounds - -int - -rebounds - -int - -assists - -int - -steals - -int - -blocks - -int - -turnovers - -int - -PF - -int - -fgAttempted - -int - -fgMade - -int - -ftAttempted - -int - -ftMade - -int - -threeAttempted - -int - -threeMade - -int - -dq - -int - -PostGP - -int - -PostGS - -int - -PostMinutes - -int - -PostPoints - -int - -PostoRebounds - -int - -PostdRebounds - -int - -PostRebounds - -int - -PostAssists - -int - -PostSteals - -int - -PostBlocks - -int - -PostTurnovers - -int - -PostPF - -int - -PostfgAttempted - -int - -PostfgMade - -int - -PostftAttempted - -int - -PostftMade - -int - -PostthreeAttempted - -int - -PostthreeMade - -int - -PostDQ - -int - -playerID - -str - -playerName - -str - -tmID - -str - -lgID - -str + +players_teams + +3K rows + +__PK__ + +PK + +FK_players_playerID + +FK + +FK_teams_tmID_year + +FK + +year + +int + +stint + +int + +GP + +int + +GS + +int + +minutes + +int + +points + +int + +oRebounds + +int + +dRebounds + +int + +rebounds + +int + +assists + +int + +steals + +int + +blocks + +int + +turnovers + +int + +PF + +int + +fgAttempted + +int + +fgMade + +int + +ftAttempted + +int + +ftMade + +int + +threeAttempted + +int + +threeMade + +int + +dq + +int + +PostGP + +int + +PostGS + +int + +PostMinutes + +int + +PostPoints + +int + +PostoRebounds + +int + +PostdRebounds + +int + +PostRebounds + +int + +PostAssists + +int + +PostSteals + +int + +PostBlocks + +int + +PostTurnovers + +int + +PostPF + +int + +PostfgAttempted + +int + +PostfgMade + +int + +PostftAttempted + +int + +PostftMade + +int + +PostthreeAttempted + +int + +PostthreeMade + +int + +PostDQ + +int + +playerID + +str + +playerName + +str + +tmID + +str + +lgID + +str awards_players - -awards_players - -159 rows - -__PK__ - -PK - -FK_players_playerID - -FK - -year - -int - -playerID - -str - -award - -str - -lgID - -str - -note - -str - -pos - -str - -name - -str + +awards_players + +159 rows + +__PK__ + +PK + +FK_players_playerID + +FK + +year + +int + +playerID + +str + +award + +str + +lgID + +str + +note + +str + +pos + +str + +name + +str diff --git a/ctu-biodegradability/README.md b/ctu-biodegradability/README.md index a8f680fea44570e3c6a74b004fb6ad43c116de56..dac0fa3d6a41a9c4ab2413fe5d7c235d3fc1d2eb 100644 --- a/ctu-biodegradability/README.md +++ b/ctu-biodegradability/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-biodegradability ---- - # ctu-biodegradability This is an older data set of chemical structures containing 328 compounds labeled by their half-life for aerobic aqueous biodegradation. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ This is an older data set of chemical structures containing 328 compounds labele ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-biodegradability") -task = relbench.load_task("ctu-biodegradability", "") +ds = relbench.load_dataset("relbench/redelex/ctu-biodegradability") +task = relbench.load_task("relbench/redelex/ctu-biodegradability", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-biodegradability/schema.svg b/ctu-biodegradability/schema.svg index 0fd120c779f85b8c3ccdb2b24ca0510667b4750b..548ef9d103dcbb68d7d98b7f011d641c018f8c56 100644 --- a/ctu-biodegradability/schema.svg +++ b/ctu-biodegradability/schema.svg @@ -1,148 +1,148 @@ - - + + schema gmember:e->atom:w - + gmember:e->group:w - + bond:e->atom:w - + bond:e->atom:w - + atom:e->molecule:w - + gmember - -gmember - -7K rows - -__PK__ - -PK - -FK_atom_atom_id - -FK - -FK_group_group_id - -FK - -atom_id - -str - -group_id - -str + +gmember + +7K rows + +__PK__ + +PK + +FK_atom_atom_id + +FK + +FK_group_group_id + +FK + +atom_id + +str + +group_id + +str atom - -atom - -7K rows - -__PK__ - -PK - -FK_molecule_molecule_id - -FK - -molecule_id - -str - -type - -str + +atom + +7K rows + +__PK__ + +PK + +FK_molecule_molecule_id + +FK + +molecule_id + +str + +type + +str group - -group - -2K rows - -__PK__ - -PK - -type - -str + +group + +2K rows + +__PK__ + +PK + +type + +str bond - -bond - -7K rows - -__PK__ - -PK - -FK_atom_atom_id - -FK - -FK_atom_atom_id2 - -FK - -atom_id - -str - -atom_id2 - -str - -type - -str + +bond + +7K rows + +__PK__ + +PK + +FK_atom_atom_id + +FK + +FK_atom_atom_id2 + +FK + +atom_id + +str + +atom_id2 + +str + +type + +str molecule - -molecule - -328 rows - -__PK__ - -PK - -activity - -float - -logp - -float - -mweight - -float + +molecule + +328 rows + +__PK__ + +PK + +activity + +float + +logp + +float + +mweight + +float diff --git a/ctu-bupa/README.md b/ctu-bupa/README.md index 508de9258336f09a08191a6dabf9deaabd132d93..4f8510334d0f295c8675f9548d17d1097003ea97 100644 --- a/ctu-bupa/README.md +++ b/ctu-bupa/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-bupa ---- - # ctu-bupa Evaluation of patients on liver disorder. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Evaluation of patients on liver disorder. Sourced from the CTU Prague Relational ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-bupa") -task = relbench.load_task("ctu-bupa", "") +ds = relbench.load_dataset("relbench/redelex/ctu-bupa") +task = relbench.load_task("relbench/redelex/ctu-bupa", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-bupa/schema.svg b/ctu-bupa/schema.svg index 03b3d05221d3d386f49e668f2fd37038923d5aab..1ac3c740b7630ad8c988cf5e6c3c69d3ed9e61d1 100644 --- a/ctu-bupa/schema.svg +++ b/ctu-bupa/schema.svg @@ -1,240 +1,240 @@ - - + + schema mcv:e->bupa_name:w - + sgot:e->bupa_name:w - + bupa:e->bupa_type:w - + bupa:e->bupa_name:w - + drinks:e->bupa_name:w - + sgpt:e->bupa_name:w - + gammagt:e->bupa_name:w - + alkphos:e->bupa_name:w - + mcv - -mcv - -345 rows - -__PK__ - -PK - -FK_bupa_name_arg1 - -FK - -arg2 - -int - -arg1 - -str + +mcv + +345 rows + +__PK__ + +PK + +FK_bupa_name_arg1 + +FK + +arg2 + +int + +arg1 + +str bupa_name - -bupa_name - -345 rows - -__PK__ - -PK - -arg1 - -str + +bupa_name + +345 rows + +__PK__ + +PK + +arg1 + +str bupa_type - -bupa_type - -2 rows - -__PK__ - -PK - -arg1 - -str + +bupa_type + +2 rows + +__PK__ + +PK + +arg1 + +str sgot - -sgot - -345 rows - -__PK__ - -PK - -FK_bupa_name_arg1 - -FK - -arg2 - -int - -arg1 - -str + +sgot + +345 rows + +__PK__ + +PK + +FK_bupa_name_arg1 + +FK + +arg2 + +int + +arg1 + +str bupa - -bupa - -345 rows - -__PK__ - -PK - -FK_bupa_name_arg1 - -FK - -FK_bupa_type_arg2 - -FK - -arg1 - -str - -arg2 - -str + +bupa + +345 rows + +__PK__ + +PK + +FK_bupa_name_arg1 + +FK + +FK_bupa_type_arg2 + +FK + +arg1 + +str + +arg2 + +str drinks - -drinks - -345 rows - -__PK__ - -PK - -FK_bupa_name_arg1 - -FK - -arg2 - -float - -arg1 - -str + +drinks + +345 rows + +__PK__ + +PK + +FK_bupa_name_arg1 + +FK + +arg2 + +float + +arg1 + +str sgpt - -sgpt - -345 rows - -__PK__ - -PK - -FK_bupa_name_arg1 - -FK - -arg2 - -int - -arg1 - -str + +sgpt + +345 rows + +__PK__ + +PK + +FK_bupa_name_arg1 + +FK + +arg2 + +int + +arg1 + +str gammagt - -gammagt - -345 rows - -__PK__ - -PK - -FK_bupa_name_arg1 - -FK - -arg2 - -int - -arg1 - -str + +gammagt + +345 rows + +__PK__ + +PK + +FK_bupa_name_arg1 + +FK + +arg2 + +int + +arg1 + +str alkphos - -alkphos - -345 rows - -__PK__ - -PK - -FK_bupa_name_arg1 - -FK - -arg2 - -int - -arg1 - -str + +alkphos + +345 rows + +__PK__ + +PK + +FK_bupa_name_arg1 + +FK + +arg2 + +int + +arg1 + +str diff --git a/ctu-carcinogenesis/README.md b/ctu-carcinogenesis/README.md index 6b9df263354430e3fd16fd3596180a0dee1d6e1d..e6dea6c98b824b02404691d9e12f18ed44f7453a 100644 --- a/ctu-carcinogenesis/README.md +++ b/ctu-carcinogenesis/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-carcinogenesis ---- - # ctu-carcinogenesis For prediction of whether a given molecule is carcinogenic or not. The dataset contains 182 positive carcinogenicity tests and 148 negative tests. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ For prediction of whether a given molecule is carcinogenic or not. The dataset c ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-carcinogenesis") -task = relbench.load_task("ctu-carcinogenesis", "") +ds = relbench.load_dataset("relbench/redelex/ctu-carcinogenesis") +task = relbench.load_task("relbench/redelex/ctu-carcinogenesis", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-carcinogenesis/schema.svg b/ctu-carcinogenesis/schema.svg index 492c1e0ee58f9f8b890c35845a9b775d2d7556a9..f5112be4fdf635155761b2b8245482d652103aa3 100644 --- a/ctu-carcinogenesis/schema.svg +++ b/ctu-carcinogenesis/schema.svg @@ -1,248 +1,248 @@ - - + + schema sbond_7:e->atom:w - + sbond_7:e->atom:w - + sbond_7:e->canc:w - + atom:e->canc:w - + sbond_2:e->atom:w - + sbond_2:e->atom:w - + sbond_2:e->canc:w - + sbond_1:e->atom:w - + sbond_1:e->atom:w - + sbond_1:e->canc:w - + sbond_3:e->atom:w - + sbond_3:e->atom:w - + sbond_3:e->canc:w - + sbond_7 - -sbond_7 - -4K rows - -__PK__ - -PK - -FK_canc_drug - -FK - -FK_atom_atomid - -FK - -FK_atom_atomid_2 - -FK - -drug - -str - -atomid - -str - -atomid_2 - -str + +sbond_7 + +4K rows + +__PK__ + +PK + +FK_canc_drug + +FK + +FK_atom_atomid + +FK + +FK_atom_atomid_2 + +FK + +drug + +str + +atomid + +str + +atomid_2 + +str atom - -atom - -9K rows - -__PK__ - -PK - -FK_canc_drug - -FK - -drug - -str - -atomtype - -str - -charge - -str - -name - -str + +atom + +9K rows + +__PK__ + +PK + +FK_canc_drug + +FK + +drug + +str + +atomtype + +str + +charge + +str + +name + +str canc - -canc - -329 rows - -__PK__ - -PK - -class - -str + +canc + +329 rows + +__PK__ + +PK + +class + +str sbond_2 - -sbond_2 - -926 rows - -__PK__ - -PK - -FK_canc_drug - -FK - -FK_atom_atomid - -FK - -FK_atom_atomid_2 - -FK - -drug - -str - -atomid - -str - -atomid_2 - -str + +sbond_2 + +926 rows + +__PK__ + +PK + +FK_canc_drug + +FK + +FK_atom_atomid + +FK + +FK_atom_atomid_2 + +FK + +drug + +str + +atomid + +str + +atomid_2 + +str sbond_1 - -sbond_1 - -14K rows - -__PK__ - -PK - -FK_canc_drug - -FK - -FK_atom_atomid - -FK - -FK_atom_atomid_2 - -FK - -drug - -str - -atomid - -str - -atomid_2 - -str + +sbond_1 + +14K rows + +__PK__ + +PK + +FK_canc_drug + +FK + +FK_atom_atomid + +FK + +FK_atom_atomid_2 + +FK + +drug + +str + +atomid + +str + +atomid_2 + +str sbond_3 - -sbond_3 - -12 rows - -__PK__ - -PK - -FK_canc_drug - -FK - -FK_atom_atomid - -FK - -FK_atom_atomid_2 - -FK - -drug - -str - -atomid - -str - -atomid_2 - -str + +sbond_3 + +12 rows + +__PK__ + +PK + +FK_canc_drug + +FK + +FK_atom_atomid + +FK + +FK_atom_atomid_2 + +FK + +drug + +str + +atomid + +str + +atomid_2 + +str diff --git a/ctu-cde/README.md b/ctu-cde/README.md index d154473594190e29553d3ac8a83ba69b1a249e63..06047832dfc37078ed397c7ff0795a4b17ef8ea5 100644 --- a/ctu-cde/README.md +++ b/ctu-cde/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-cde ---- - # ctu-cde A database containing geospatial information, as well as SAT average scores and Free-or-Reduced-Price Meal eligibility data, for California schools. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ A database containing geospatial information, as well as SAT average scores and ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-cde") -task = relbench.load_task("ctu-cde", "") +ds = relbench.load_dataset("relbench/redelex/ctu-cde") +task = relbench.load_task("relbench/redelex/ctu-cde", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-cde/schema.svg b/ctu-cde/schema.svg index 95792a0e9451dc311f61b6ba5bc9b887156a37d7..b9192bafdec884657011c8f66633c301456d6408 100644 --- a/ctu-cde/schema.svg +++ b/ctu-cde/schema.svg @@ -1,404 +1,404 @@ - - + + schema frpm:e->schools:w - + satscores:e->schools:w - + schools - -schools - -18K rows - -__PK__ - -PK - -Latitude - -float - -Longitude - -float - -Charter - -int - -Magnet - -int - -NCESDist - -str - -NCESSchool - -str - -StatusType - -str - -County - -str - -District - -str - -School - -str - -Street - -str - -StreetAbr - -str - -City - -str - -Zip - -str - -State - -str - -MailStreet - -str - -MailStrAbr - -str - -MailCity - -str - -MailZip - -str - -MailState - -str - -Phone - -str - -Ext - -str - -Website - -str - -CharterNum - -str - -FundingType - -str - -DOC - -str - -DOCType - -str - -SOC - -str - -SOCType - -str - -EdOpsCode - -str - -EdOpsName - -str - -EILCode - -str - -EILName - -str - -GSoffered - -str - -GSserved - -str - -Virtual - -str - -AdmFName1 - -str - -AdmLName1 - -str - -AdmEmail1 - -str - -AdmFName2 - -str - -AdmLName2 - -str - -AdmEmail2 - -str - -AdmFName3 - -str - -AdmLName3 - -str - -AdmEmail3 - -str - -OpenDate - -datetime - -ClosedDate - -datetime - -LastUpdate - -datetime + +schools + +18K rows + +__PK__ + +PK + +Latitude + +float + +Longitude + +float + +Charter + +int + +Magnet + +int + +NCESDist + +str + +NCESSchool + +str + +StatusType + +str + +County + +str + +District + +str + +School + +str + +Street + +str + +StreetAbr + +str + +City + +str + +Zip + +str + +State + +str + +MailStreet + +str + +MailStrAbr + +str + +MailCity + +str + +MailZip + +str + +MailState + +str + +Phone + +str + +Ext + +str + +Website + +str + +CharterNum + +str + +FundingType + +str + +DOC + +str + +DOCType + +str + +SOC + +str + +SOCType + +str + +EdOpsCode + +str + +EdOpsName + +str + +EILCode + +str + +EILName + +str + +GSoffered + +str + +GSserved + +str + +Virtual + +str + +AdmFName1 + +str + +AdmLName1 + +str + +AdmEmail1 + +str + +AdmFName2 + +str + +AdmLName2 + +str + +AdmEmail2 + +str + +AdmFName3 + +str + +AdmLName3 + +str + +AdmEmail3 + +str + +OpenDate + +datetime + +ClosedDate + +datetime + +LastUpdate + +datetime frpm - -frpm - -10K rows - -__PK__ - -PK - -FK_schools_CDSCode - -FK - -Enrollment (K-12) - -float - -Free Meal Count (K-12) - -float - -Percent (%) Eligible Free (K-12) - -float - -FRPM Count (K-12) - -float - -Percent (%) Eligible FRPM (K-12) - -float - -Enrollment (Ages 5-17) - -float - -Free Meal Count (Ages 5-17) - -float - -Percent (%) Eligible Free (Ages 5-17) - -float - -FRPM Count (Ages 5-17) - -float - -Percent (%) Eligible FRPM (Ages 5-17) - -float - -District Code - -int - -Charter School (Y/N) - -int - -IRC - -int - -2013-14 CALPADS Fall 1 Certification Status - -int - -Academic Year - -str - -County Code - -str - -School Code - -str - -County Name - -str - -District Name - -str - -School Name - -str - -District Type - -str - -School Type - -str - -Educational Option Type - -str - -NSLP Provision Status - -str - -Charter School Number - -str - -Charter Funding Type - -str - -Low Grade - -str - -High Grade - -str + +frpm + +10K rows + +__PK__ + +PK + +FK_schools_CDSCode + +FK + +Enrollment (K-12) + +float + +Free Meal Count (K-12) + +float + +Percent (%) Eligible Free (K-12) + +float + +FRPM Count (K-12) + +float + +Percent (%) Eligible FRPM (K-12) + +float + +Enrollment (Ages 5-17) + +float + +Free Meal Count (Ages 5-17) + +float + +Percent (%) Eligible Free (Ages 5-17) + +float + +FRPM Count (Ages 5-17) + +float + +Percent (%) Eligible FRPM (Ages 5-17) + +float + +District Code + +int + +Charter School (Y/N) + +int + +IRC + +int + +2013-14 CALPADS Fall 1 Certification Status + +int + +Academic Year + +str + +County Code + +str + +School Code + +str + +County Name + +str + +District Name + +str + +School Name + +str + +District Type + +str + +School Type + +str + +Educational Option Type + +str + +NSLP Provision Status + +str + +Charter School Number + +str + +Charter Funding Type + +str + +Low Grade + +str + +High Grade + +str satscores - -satscores - -2K rows - -__PK__ - -PK - -FK_schools_cds - -FK - -PctGE1500 - -float - -enroll12 - -int - -NumTstTakr - -int - -AvgScrRead - -int - -AvgScrMath - -int - -AvgScrWrite - -int - -NumGE1500 - -int - -rtype - -str - -sname - -str - -dname - -str - -cname - -str + +satscores + +2K rows + +__PK__ + +PK + +FK_schools_cds + +FK + +PctGE1500 + +float + +enroll12 + +int + +NumTstTakr + +int + +AvgScrRead + +int + +AvgScrMath + +int + +AvgScrWrite + +int + +NumGE1500 + +int + +rtype + +str + +sname + +str + +dname + +str + +cname + +str diff --git a/ctu-chess/README.md b/ctu-chess/README.md index 9260cb631ab3c5b07c6cb328bd0cbf6fcd0e5fbb..58773728bc4712afbb464e4a913a64eed699d867 100644 --- a/ctu-chess/README.md +++ b/ctu-chess/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-chess ---- - # ctu-chess CTU relational dataset 'chess' from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ CTU relational dataset 'chess' from the CTU Prague Relational Learning Repositor ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-chess") -task = relbench.load_task("ctu-chess", "") +ds = relbench.load_dataset("relbench/redelex/ctu-chess") +task = relbench.load_task("relbench/redelex/ctu-chess", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-chess/schema.svg b/ctu-chess/schema.svg index 957691dcfb7942b34b390fa4a4fb2956079920d0..fe43e91f966be9b52c3302856011bd3efecaa59f 100644 --- a/ctu-chess/schema.svg +++ b/ctu-chess/schema.svg @@ -1,208 +1,208 @@ - - + + schema game:e->opening:w - + opening - -opening - -2K rows - -__PK__ - -PK - -name - -str - -code - -str - -w1 - -str - -b1 - -str - -w2 - -str - -b2 - -str - -w3 - -str - -b3 - -str - -w4 - -str - -b4 - -str - -variation - -str + +opening + +2K rows + +__PK__ + +PK + +name + +str + +code + +str + +w1 + +str + +b1 + +str + +w2 + +str + +b2 + +str + +w3 + +str + +b3 + +str + +w4 + +str + +b4 + +str + +variation + +str game - -game - -295 rows - -__PK__ - -PK - -FK_opening_opening_id - -FK - -event_date - -TIME - -opening_id - -int - -whiteElo - -int - -BlackElo - -int - -event - -str - -site - -str - -round - -str - -white - -str - -black - -str - -game_result - -str - -ECO - -str - -opening - -str - -w1 - -str - -b1 - -str - -w2 - -str - -b2 - -str - -w3 - -str - -b3 - -str - -w4 - -str - -b4 - -str - -w5 - -str - -b5 - -str - -w6 - -str - -b6 - -str - -w7 - -str - -b7 - -str - -w8 - -str - -b8 - -str - -w9 - -str - -b9 - -str - -w10 - -str - -b10 - -str + +game + +295 rows + +__PK__ + +PK + +FK_opening_opening_id + +FK + +event_date + +TIME + +opening_id + +int + +whiteElo + +int + +BlackElo + +int + +event + +str + +site + +str + +round + +str + +white + +str + +black + +str + +game_result + +str + +ECO + +str + +opening + +str + +w1 + +str + +b1 + +str + +w2 + +str + +b2 + +str + +w3 + +str + +b3 + +str + +w4 + +str + +b4 + +str + +w5 + +str + +b5 + +str + +w6 + +str + +b6 + +str + +w7 + +str + +b7 + +str + +w8 + +str + +b8 + +str + +w9 + +str + +b9 + +str + +w10 + +str + +b10 + +str diff --git a/ctu-classicmodels/README.md b/ctu-classicmodels/README.md index effa12fdc52a63b7b7e6806444b77236a46c07cc..8deec84884486b8d4eaa69b4b2bc8815f7a930a9 100644 --- a/ctu-classicmodels/README.md +++ b/ctu-classicmodels/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-classicmodels ---- - # ctu-classicmodels The schema is for Classic Models, a retailer of scale models of classic cars. The database contains typical business data such as customers, orders, order line items, products and so on. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The schema is for Classic Models, a retailer of scale models of classic cars. Th ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2004-11-01 00:00:00`, test `2005-02-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2004-11-01 00:00:00`, test `2005-02-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-classicmodels") -task = relbench.load_task("ctu-classicmodels", "") +ds = relbench.load_dataset("relbench/redelex/ctu-classicmodels") +task = relbench.load_task("relbench/redelex/ctu-classicmodels", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-classicmodels/schema.svg b/ctu-classicmodels/schema.svg index 269846b225b3936fcd45f7ac6b65d4b57a4d68a4..2e37f43af2e82e86d4d4863ba65003644a977c82 100644 --- a/ctu-classicmodels/schema.svg +++ b/ctu-classicmodels/schema.svg @@ -1,376 +1,376 @@ - - + + schema orderdetails:e->products:w - + orderdetails:e->orders:w - + products:e->productlines:w - + payments:e->customers:w - + orders:e->customers:w - + customers:e->employees:w - + employees:e->offices:w - + employees:e->employees:w - + orderdetails - -orderdetails - -3K rows - -__PK__ - -PK - -FK_orders_orderNumber - -FK - -FK_products_productCode - -FK - -priceEach - -float - -orderNumber - -int - -quantityOrdered - -int - -orderLineNumber - -int - -productCode - -str + +orderdetails + +3K rows + +__PK__ + +PK + +FK_orders_orderNumber + +FK + +FK_products_productCode + +FK + +priceEach + +float + +orderNumber + +int + +quantityOrdered + +int + +orderLineNumber + +int + +productCode + +str products - -products - -110 rows - -__PK__ - -PK - -FK_productlines_productLine - -FK - -buyPrice - -float - -MSRP - -float - -quantityInStock - -int - -productName - -str - -productLine - -str - -productScale - -str - -productVendor - -str - -productDescription - -str + +products + +110 rows + +__PK__ + +PK + +FK_productlines_productLine + +FK + +buyPrice + +float + +MSRP + +float + +quantityInStock + +int + +productName + +str + +productLine + +str + +productScale + +str + +productVendor + +str + +productDescription + +str orders - -orders - -326 rows - -__PK__ - -PK - -FK_customers_customerNumber - -FK - -orderDate - -TIME - -customerNumber - -int - -status - -str - -comments - -str - -requiredDate - -datetime - -shippedDate - -datetime + +orders + +326 rows + +__PK__ + +PK + +FK_customers_customerNumber + +FK + +orderDate + +TIME + +customerNumber + +int + +status + +str + +comments + +str + +requiredDate + +datetime + +shippedDate + +datetime productlines - -productlines - -7 rows - -__PK__ - -PK - -textDescription - -str - -htmlDescription - -str - -image - -null + +productlines + +7 rows + +__PK__ + +PK + +textDescription + +str + +htmlDescription + +str + +image + +null offices - -offices - -7 rows - -__PK__ - -PK - -city - -str - -phone - -str - -addressLine1 - -str - -addressLine2 - -str - -state - -str - -country - -str - -postalCode - -str - -territory - -str + +offices + +7 rows + +__PK__ + +PK + +city + +str + +phone + +str + +addressLine1 + +str + +addressLine2 + +str + +state + +str + +country + +str + +postalCode + +str + +territory + +str payments - -payments - -273 rows - -__PK__ - -PK - -FK_customers_customerNumber - -FK - -paymentDate - -TIME - -amount - -float - -customerNumber - -int - -checkNumber - -str + +payments + +273 rows + +__PK__ + +PK + +FK_customers_customerNumber + +FK + +paymentDate + +TIME + +amount + +float + +customerNumber + +int + +checkNumber + +str customers - -customers - -122 rows - -__PK__ - -PK - -FK_employees_salesRepEmployeeNumber - -FK - -creditLimit - -float - -salesRepEmployeeNumber - -int - -customerName - -str - -contactLastName - -str - -contactFirstName - -str - -phone - -str - -addressLine1 - -str - -addressLine2 - -str - -city - -str - -state - -str - -postalCode - -str - -country - -str + +customers + +122 rows + +__PK__ + +PK + +FK_employees_salesRepEmployeeNumber + +FK + +creditLimit + +float + +salesRepEmployeeNumber + +int + +customerName + +str + +contactLastName + +str + +contactFirstName + +str + +phone + +str + +addressLine1 + +str + +addressLine2 + +str + +city + +str + +state + +str + +postalCode + +str + +country + +str employees - -employees - -23 rows - -__PK__ - -PK - -FK_employees_reportsTo - -FK - -FK_offices_officeCode - -FK - -reportsTo - -int - -lastName - -str - -firstName - -str - -extension - -str - -email - -str - -officeCode - -str - -jobTitle - -str + +employees + +23 rows + +__PK__ + +PK + +FK_employees_reportsTo + +FK + +FK_offices_officeCode + +FK + +reportsTo + +int + +lastName + +str + +firstName + +str + +extension + +str + +email + +str + +officeCode + +str + +jobTitle + +str diff --git a/ctu-cora/README.md b/ctu-cora/README.md index f90988d33136f2f8d9810fb9026f96245c7a3e8e..61b287cb09decf8c5a7e4ee5847142972d17e8cb 100644 --- a/ctu-cora/README.md +++ b/ctu-cora/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-cora ---- - # ctu-cora The Cora dataset consists of 2708 scientific publications classified into one of seven classes. The citation network consists of 5429 links. Each publication in the dataset is described by a 0/1-valued word vector indicating the absence/presence of the corresponding word from the dictionary. The dictionary consists of 1433 unique words. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The Cora dataset consists of 2708 scientific publications classified into one of ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-cora") -task = relbench.load_task("ctu-cora", "") +ds = relbench.load_dataset("relbench/redelex/ctu-cora") +task = relbench.load_task("relbench/redelex/ctu-cora", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-cora/schema.svg b/ctu-cora/schema.svg index 5e11ba9c8eb9ccb2fa0214ea3cd83d5dac9b33c5..7f81f20514a9ae1105c2e08f9d45b9cda92ec28a 100644 --- a/ctu-cora/schema.svg +++ b/ctu-cora/schema.svg @@ -1,84 +1,84 @@ - - + + schema content:e->paper:w - + cites:e->paper:w - + cites:e->paper:w - + paper - -paper - -3K rows - -__PK__ - -PK - -class_label - -str + +paper + +3K rows + +__PK__ + +PK + +class_label + +str content - -content - -49K rows - -__PK__ - -PK - -FK_paper_paper_id - -FK - -paper_id - -int - -word_cited_id - -str + +content + +49K rows + +__PK__ + +PK + +FK_paper_paper_id + +FK + +paper_id + +int + +word_cited_id + +str cites - -cites - -5K rows - -__PK__ - -PK - -FK_paper_cited_paper_id - -FK - -FK_paper_citing_paper_id - -FK - -cited_paper_id - -int - -citing_paper_id - -int + +cites + +5K rows + +__PK__ + +PK + +FK_paper_cited_paper_id + +FK + +FK_paper_citing_paper_id + +FK + +cited_paper_id + +int + +citing_paper_id + +int diff --git a/ctu-countries/README.md b/ctu-countries/README.md index 6694587e3ed796bb415285eaf029271ed7abade9..b35902a0f8cfb4be01c6d3aec75828ba95894254 100644 --- a/ctu-countries/README.md +++ b/ctu-countries/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-countries ---- - # ctu-countries Data of forest area for 247 countries. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Data of forest area for 247 countries. Sourced from the CTU Prague Relational Le ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-countries") -task = relbench.load_task("ctu-countries", "") +ds = relbench.load_dataset("relbench/redelex/ctu-countries") +task = relbench.load_task("relbench/redelex/ctu-countries", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-countries/schema.svg b/ctu-countries/schema.svg index f8e2a139fefcd36f2e81f6fab84f7de64683a33a..82699921f3d3ce12060c1ee9339871d745aad7bb 100644 --- a/ctu-countries/schema.svg +++ b/ctu-countries/schema.svg @@ -1,332 +1,332 @@ - - + + schema target:e->Metadata - Countries:w - + Data:e->Metadata - Indicators:w - + Data:e->Metadata - Countries:w - + Metadata - Indicators - -Metadata - Indicators - -88 rows - -__PK__ - -PK - -INDICATOR_NAME - -str - -SOURCE_NOTE - -str - -SOURCE_ORGANIZATION - -str + +Metadata - Indicators + +88 rows + +__PK__ + +PK + +INDICATOR_NAME + +str + +SOURCE_NOTE + +str + +SOURCE_ORGANIZATION + +str Metadata - Countries - -Metadata - Countries - -247 rows - -__PK__ - -PK - -Country Name - -str - -Region - -str - -IncomeGroup - -str - -SpecialNotes - -str + +Metadata - Countries + +247 rows + +__PK__ + +PK + +Country Name + +str + +Region + +str + +IncomeGroup + +str + +SpecialNotes + +str target - -target - -247 rows - -__PK__ - -PK - -FK_Metadata - Countries_Country Code - -FK - -2012 - -float + +target + +247 rows + +__PK__ + +PK + +FK_Metadata - Countries_Country Code + +FK + +2012 + +float Data - -Data - -22K rows - -__PK__ - -PK - -FK_Metadata - Indicators_Indicator Code - -FK - -FK_Metadata - Countries_Country Code - -FK - -1960 - -float - -1961 - -float - -1962 - -float - -1963 - -float - -1964 - -float - -1965 - -float - -1966 - -float - -1967 - -float - -1968 - -float - -1969 - -float - -1970 - -float - -1971 - -float - -1972 - -float - -1973 - -float - -1974 - -float - -1975 - -float - -1976 - -float - -1977 - -float - -1978 - -float - -1979 - -float - -1980 - -float - -1981 - -float - -1982 - -float - -1983 - -float - -1984 - -float - -1985 - -float - -1986 - -float - -1987 - -float - -1988 - -float - -1989 - -float - -1990 - -float - -1991 - -float - -1992 - -float - -1993 - -float - -1994 - -float - -1995 - -float - -1996 - -float - -1997 - -float - -1998 - -float - -1999 - -float - -2000 - -float - -2001 - -float - -2002 - -float - -2003 - -float - -2004 - -float - -2005 - -float - -2006 - -float - -2007 - -float - -2008 - -float - -2009 - -float - -2010 - -float - -2011 - -float - -Country Name - -str - -Country Code - -str - -Indicator Name - -str - -Indicator Code - -str + +Data + +22K rows + +__PK__ + +PK + +FK_Metadata - Indicators_Indicator Code + +FK + +FK_Metadata - Countries_Country Code + +FK + +1960 + +float + +1961 + +float + +1962 + +float + +1963 + +float + +1964 + +float + +1965 + +float + +1966 + +float + +1967 + +float + +1968 + +float + +1969 + +float + +1970 + +float + +1971 + +float + +1972 + +float + +1973 + +float + +1974 + +float + +1975 + +float + +1976 + +float + +1977 + +float + +1978 + +float + +1979 + +float + +1980 + +float + +1981 + +float + +1982 + +float + +1983 + +float + +1984 + +float + +1985 + +float + +1986 + +float + +1987 + +float + +1988 + +float + +1989 + +float + +1990 + +float + +1991 + +float + +1992 + +float + +1993 + +float + +1994 + +float + +1995 + +float + +1996 + +float + +1997 + +float + +1998 + +float + +1999 + +float + +2000 + +float + +2001 + +float + +2002 + +float + +2003 + +float + +2004 + +float + +2005 + +float + +2006 + +float + +2007 + +float + +2008 + +float + +2009 + +float + +2010 + +float + +2011 + +float + +Country Name + +str + +Country Code + +str + +Indicator Name + +str + +Indicator Code + +str diff --git a/ctu-craftbeer/README.md b/ctu-craftbeer/README.md index dc8a4388d5886a9d2f677b0172dec8435e5b14dc..a0ef6724a0ca5d055bf0a56e3267a13af8780160 100644 --- a/ctu-craftbeer/README.md +++ b/ctu-craftbeer/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-craftbeer ---- - # ctu-craftbeer Craft beers labeled by styles and composition. A separate dataset lists breweries by state. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Craft beers labeled by styles and composition. A separate dataset lists brewerie ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-craftbeer") -task = relbench.load_task("ctu-craftbeer", "") +ds = relbench.load_dataset("relbench/redelex/ctu-craftbeer") +task = relbench.load_task("relbench/redelex/ctu-craftbeer", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-craftbeer/schema.svg b/ctu-craftbeer/schema.svg index d35eabdfa83c161000bdfd772d5868a850c44eae..9b7378d65cec6c37bcddda562b751a8a7fede67c 100644 --- a/ctu-craftbeer/schema.svg +++ b/ctu-craftbeer/schema.svg @@ -1,72 +1,72 @@ - - + + schema beers:e->breweries:w - + breweries - -breweries - -558 rows - -__PK__ - -PK - -name - -str - -city - -str - -state - -str + +breweries + +558 rows + +__PK__ + +PK + +name + +str + +city + +str + +state + +str beers - -beers - -2K rows - -__PK__ - -PK - -FK_breweries_brewery_id - -FK - -abv - -float - -ibu - -float - -ounces - -float - -brewery_id - -int - -name - -str - -style - -str + +beers + +2K rows + +__PK__ + +PK + +FK_breweries_brewery_id + +FK + +abv + +float + +ibu + +float + +ounces + +float + +brewery_id + +int + +name + +str + +style + +str diff --git a/ctu-credit/README.md b/ctu-credit/README.md index 1ea0140e76baf9dd54d802fc8fd3eb42b62b9f4d..c7955dad70a7f68f8250dc03b7fc6ea60f8f30e9 100644 --- a/ctu-credit/README.md +++ b/ctu-credit/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-credit ---- - # ctu-credit A bit more complex artificial database with loops. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,16 +6,10 @@ A bit more complex artificial database with loops. Sourced from the CTU Prague R ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `1999-09-01 00:00:00`, test `1999-10-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Loading ```python import relbench -ds = relbench.load_dataset("ctu-credit") -task = relbench.load_task("ctu-credit", "") +ds = relbench.load_dataset("relbench/redelex/ctu-credit") +task = relbench.load_task("relbench/redelex/ctu-credit", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-credit/schema.svg b/ctu-credit/schema.svg index ec57100e10c400c437d128f3bf9cb2af5ac16d56..1db957810129ba615c7dcecf590236f0e5f90867 100644 --- a/ctu-credit/schema.svg +++ b/ctu-credit/schema.svg @@ -1,428 +1,428 @@ - - + + schema statement:e->member:w - + corporation:e->region:w - + provider:e->region:w - + payment:e->member:w - + charge:e->category:w - + charge:e->provider:w - + charge:e->member:w - + member:e->corporation:w - + member:e->region:w - + category - -category - -10 rows - -__PK__ - -PK - -category_desc - -str - -category_code - -str + +category + +10 rows + +__PK__ + +PK + +category_desc + +str + +category_code + +str statement - -statement - -20K rows - -__PK__ - -PK - -FK_member_member_no - -FK - -statement_amt - -float - -member_no - -int - -statement_code - -str - -statement_dt - -datetime - -due_dt - -datetime + +statement + +20K rows + +__PK__ + +PK + +FK_member_member_no + +FK + +statement_amt + +float + +member_no + +int + +statement_code + +str + +statement_dt + +datetime + +due_dt + +datetime member - -member - -10K rows - -__PK__ - -PK - -FK_region_region_no - -FK - -FK_corporation_corp_no - -FK - -prev_balance - -float - -curr_balance - -float - -region_no - -int - -corp_no - -int - -lastname - -str - -firstname - -str - -middleinitial - -str - -street - -str - -city - -str - -state_prov - -str - -country - -str - -mail_code - -str - -phone_no - -str - -member_code - -str - -issue_dt - -datetime - -expr_dt - -datetime + +member + +10K rows + +__PK__ + +PK + +FK_region_region_no + +FK + +FK_corporation_corp_no + +FK + +prev_balance + +float + +curr_balance + +float + +region_no + +int + +corp_no + +int + +lastname + +str + +firstname + +str + +middleinitial + +str + +street + +str + +city + +str + +state_prov + +str + +country + +str + +mail_code + +str + +phone_no + +str + +member_code + +str + +issue_dt + +datetime + +expr_dt + +datetime corporation - -corporation - -500 rows - -__PK__ - -PK - -FK_region_region_no - -FK - -region_no - -int - -corp_name - -str - -street - -str - -city - -str - -state_prov - -str - -country - -str - -mail_code - -str - -phone_no - -str - -corp_code - -str - -expr_dt - -datetime + +corporation + +500 rows + +__PK__ + +PK + +FK_region_region_no + +FK + +region_no + +int + +corp_name + +str + +street + +str + +city + +str + +state_prov + +str + +country + +str + +mail_code + +str + +phone_no + +str + +corp_code + +str + +expr_dt + +datetime region - -region - -9 rows - -__PK__ - -PK - -region_name - -str - -street - -str - -city - -str - -state_prov - -str - -country - -str - -mail_code - -str - -phone_no - -str - -region_code - -str + +region + +9 rows + +__PK__ + +PK + +region_name + +str + +street + +str + +city + +str + +state_prov + +str + +country + +str + +mail_code + +str + +phone_no + +str + +region_code + +str provider - -provider - -500 rows - -__PK__ - -PK - -FK_region_region_no - -FK - -region_no - -int - -provider_name - -str - -street - -str - -city - -str - -state_prov - -str - -mail_code - -str - -country - -str - -phone_no - -str - -provider_code - -str - -issue_dt - -datetime - -expr_dt - -datetime + +provider + +500 rows + +__PK__ + +PK + +FK_region_region_no + +FK + +region_no + +int + +provider_name + +str + +street + +str + +city + +str + +state_prov + +str + +mail_code + +str + +country + +str + +phone_no + +str + +provider_code + +str + +issue_dt + +datetime + +expr_dt + +datetime payment - -payment - -16K rows - -__PK__ - -PK - -FK_member_member_no - -FK - -payment_dt - -TIME - -payment_amt - -float - -member_no - -int - -statement_no - -int - -payment_code - -str + +payment + +16K rows + +__PK__ + +PK + +FK_member_member_no + +FK + +payment_dt + +TIME + +payment_amt + +float + +member_no + +int + +statement_no + +int + +payment_code + +str charge - -charge - -2M rows - -__PK__ - -PK - -FK_category_category_no - -FK - -FK_member_member_no - -FK - -FK_provider_provider_no - -FK - -charge_dt - -TIME - -charge_amt - -float - -member_no - -int - -provider_no - -int - -category_no - -int - -statement_no - -int - -charge_code - -str + +charge + +2M rows + +__PK__ + +PK + +FK_category_category_no + +FK + +FK_member_member_no + +FK + +FK_provider_provider_no + +FK + +charge_dt + +TIME + +charge_amt + +float + +member_no + +int + +provider_no + +int + +category_no + +int + +statement_no + +int + +charge_code + +str diff --git a/ctu-dallas/README.md b/ctu-dallas/README.md index e649259320959054608e7090f9665b8bc5915d9d..91b13bba3c42d6c24e8b12613de2febcf2be2ab9 100644 --- a/ctu-dallas/README.md +++ b/ctu-dallas/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-dallas ---- - # ctu-dallas Officer-involved shootings as disclosed by the Dallas Police Department. Includes separate tables for officer and subject/suspect information. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Officer-involved shootings as disclosed by the Dallas Police Department. Include ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2014-01-01 00:00:00`, test `2015-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2014-01-01 00:00:00`, test `2015-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-dallas") -task = relbench.load_task("ctu-dallas", "") +ds = relbench.load_dataset("relbench/redelex/ctu-dallas") +task = relbench.load_task("relbench/redelex/ctu-dallas", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-dallas/schema.svg b/ctu-dallas/schema.svg index 7604b1513d081d1539da77f18fcb8757816a3f41..adb36962f04bdf5ef320800cd37e4b6ac96c4fe7 100644 --- a/ctu-dallas/schema.svg +++ b/ctu-dallas/schema.svg @@ -1,160 +1,160 @@ - - + + schema officers:e->incidents:w - + subjects:e->incidents:w - + officers - -officers - -370 rows - -__PK__ - -PK - -FK_incidents_case_number - -FK - -case_number - -str - -race - -str - -gender - -str - -last_name - -str - -first_name - -str - -full_name - -str + +officers + +370 rows + +__PK__ + +PK + +FK_incidents_case_number + +FK + +case_number + +str + +race + +str + +gender + +str + +last_name + +str + +first_name + +str + +full_name + +str incidents - -incidents - -219 rows - -__PK__ - -PK - -date - -TIME - -latitude - -float - -longitude - -float - -subject_count - -int - -officer_count - -int - -location - -str - -subject_statuses - -str - -subject_weapon - -str - -subjects - -str - -officers - -str - -grand_jury_disposition - -str - -attorney_general_forms_url - -str - -summary_url - -str - -summary_text - -str + +incidents + +219 rows + +__PK__ + +PK + +date + +TIME + +latitude + +float + +longitude + +float + +subject_count + +int + +officer_count + +int + +location + +str + +subject_statuses + +str + +subject_weapon + +str + +subjects + +str + +officers + +str + +grand_jury_disposition + +str + +attorney_general_forms_url + +str + +summary_url + +str + +summary_text + +str subjects - -subjects - -223 rows - -__PK__ - -PK - -FK_incidents_case_number - -FK - -case_number - -str - -race - -str - -gender - -str - -last_name - -str - -first_name - -str - -full_name - -str + +subjects + +223 rows + +__PK__ + +PK + +FK_incidents_case_number + +FK + +case_number + +str + +race + +str + +gender + +str + +last_name + +str + +first_name + +str + +full_name + +str diff --git a/ctu-dcg/README.md b/ctu-dcg/README.md index 0c5d7765ea184dec9a550d0e1f094760813d1644..71a5064aaba7eb5cec3f9c050b749d02d02c3bc3 100644 --- a/ctu-dcg/README.md +++ b/ctu-dcg/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-dcg ---- - # ctu-dcg The set of positive examples consists of all sentences of up to seven words that can be generated by the DCG in Bratko's book (565 positive examples). The set of negative examples was generated by randomly selecting one word in each positive example and replacing it by a randomly selected word the leads to an incorrect sentence, according to the grammar (565 negative examples). Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The set of positive examples consists of all sentences of up to seven words that ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-dcg") -task = relbench.load_task("ctu-dcg", "") +ds = relbench.load_dataset("relbench/redelex/ctu-dcg") +task = relbench.load_task("relbench/redelex/ctu-dcg", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-dcg/schema.svg b/ctu-dcg/schema.svg index 6fa91f64cd6595854fbb7f55e8000c32b0c5eda7..752cab0770f3f9de63793ce30471e30275c6afbc 100644 --- a/ctu-dcg/schema.svg +++ b/ctu-dcg/schema.svg @@ -1,52 +1,52 @@ - - + + schema terms:e->sentences:w - + sentences - -sentences - -1K rows - -__PK__ - -PK - -class - -str + +sentences + +1K rows + +__PK__ + +PK + +class + +str terms - -terms - -7K rows - -__PK__ - -PK - -FK_sentences_id_sentence - -FK - -id_sentence - -int - -id_term - -int - -term - -str + +terms + +7K rows + +__PK__ + +PK + +FK_sentences_id_sentence + +FK + +id_sentence + +int + +id_term + +int + +term + +str diff --git a/ctu-diabetes/README.md b/ctu-diabetes/README.md index 3800881912507b6c11696bd6ac801df1685f140f..3f4da46248bf51c599448ce953a74286c8c3bd6c 100644 --- a/ctu-diabetes/README.md +++ b/ctu-diabetes/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-diabetes ---- - # ctu-diabetes The Diabetes dataset consists of 19717 scientific publications from PubMed database pertaining to diabetes classified into one of three classes. The citation network consists of 44338 links. Each publication in the dataset is described by a TF/IDF weighted word vector from a dictionary which consists of 500 unique words. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The Diabetes dataset consists of 19717 scientific publications from PubMed datab ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-diabetes") -task = relbench.load_task("ctu-diabetes", "") +ds = relbench.load_dataset("relbench/redelex/ctu-diabetes") +task = relbench.load_task("relbench/redelex/ctu-diabetes", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-diabetes/schema.svg b/ctu-diabetes/schema.svg index b6d041e86ca4d8fb5866b76b4c6e0ec9592bf357..f368442c44ace1286b99738e163a7870324bc886 100644 --- a/ctu-diabetes/schema.svg +++ b/ctu-diabetes/schema.svg @@ -1,80 +1,80 @@ - - + + schema cites:e->paper:w - + content:e->paper:w - + cites - -cites - -44K rows - -__PK__ - -PK - -FK_paper_cites_paper_id - -FK - -citing_paper_id - -int - -cites_paper_id - -int + +cites + +44K rows + +__PK__ + +PK + +FK_paper_cites_paper_id + +FK + +citing_paper_id + +int + +cites_paper_id + +int paper - -paper - -20K rows - -__PK__ - -PK - -class_label - -int + +paper + +20K rows + +__PK__ + +PK + +class_label + +int content - -content - -988K rows - -__PK__ - -PK - -FK_paper_paper_id - -FK - -tf_idf - -float - -paper_id - -int - -word - -str + +content + +988K rows + +__PK__ + +PK + +FK_paper_paper_id + +FK + +tf_idf + +float + +paper_id + +int + +word + +str diff --git a/ctu-dunur/README.md b/ctu-dunur/README.md index 44b997e8f31921ee6eee49aff8c6fe09db46123b..5ae78e3122e667fb41f2519517d322f28ada528b 100644 --- a/ctu-dunur/README.md +++ b/ctu-dunur/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-dunur ---- - # ctu-dunur Dunur is a relatedness of two people due to marriage such that A is dunur of B if a child of A is married to a child of B. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,16 +6,10 @@ Dunur is a relatedness of two people due to marriage such that A is dunur of B i ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Loading ```python import relbench -ds = relbench.load_dataset("ctu-dunur") -task = relbench.load_task("ctu-dunur", "") +ds = relbench.load_dataset("relbench/redelex/ctu-dunur") +task = relbench.load_task("relbench/redelex/ctu-dunur", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-dunur/schema.svg b/ctu-dunur/schema.svg index 07196e5a7d02846414f0cf7b7ab018c620d9dbc4..da81d4cafdae3614776c56005c047d852a0b6f4b 100644 --- a/ctu-dunur/schema.svg +++ b/ctu-dunur/schema.svg @@ -1,596 +1,596 @@ - - + + schema nephew:e->person:w - + nephew:e->person:w - + husband:e->person:w - + husband:e->person:w - + mother:e->person:w - + mother:e->person:w - + wife2:e->person:w - + wife2:e->person:w - + son:e->person:w - + son:e->person:w - + brother:e->person:w - + brother:e->person:w - + sister:e->person:w - + sister:e->person:w - + dunur:e->person:w - + dunur:e->person:w - + target:e->person:w - + target:e->person:w - + father:e->person:w - + father:e->person:w - + aunt:e->person:w - + aunt:e->person:w - + niece:e->person:w - + niece:e->person:w - + daughter:e->person:w - + daughter:e->person:w - + husband2:e->person:w - + husband2:e->person:w - + uncle:e->person:w - + uncle:e->person:w - + wife:e->person:w - + wife:e->person:w - + nephew - -nephew - -8 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +nephew + +8 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str person - -person - -24 rows - -__PK__ - -PK + +person + +24 rows + +__PK__ + +PK husband - -husband - -10 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband + +10 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str mother - -mother - -12 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +mother + +12 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str wife2 - -wife2 - -6 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +wife2 + +6 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str son - -son - -12 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +son + +12 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str brother - -brother - -6 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +brother + +6 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str sister - -sister - -6 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +sister + +6 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str dunur - -dunur - -16 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +dunur + +16 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str target - -target - -276 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -is_dunur - -int - -name1 - -str - -name2 - -str + +target + +276 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +is_dunur + +int + +name1 + +str + +name2 + +str father - -father - -12 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +father + +12 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str aunt - -aunt - -8 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +aunt + +8 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str niece - -niece - -8 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +niece + +8 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str daughter - -daughter - -12 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +daughter + +12 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str husband2 - -husband2 - -6 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband2 + +6 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str uncle - -uncle - -8 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +uncle + +8 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str wife - -wife - -10 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +wife + +10 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str diff --git a/ctu-elti/README.md b/ctu-elti/README.md index d4e07fe25a85aa038f2c1255002bec16ecf34ac1..ab492fe166ebdd1caa675ceb646a5e1df7eda344 100644 --- a/ctu-elti/README.md +++ b/ctu-elti/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-elti ---- - # ctu-elti Elti is a relatedness of two people due to marriage such that A is elti of B if A's husband is a brother of B's husband. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,16 +6,10 @@ Elti is a relatedness of two people due to marriage such that A is elti of B if ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Loading ```python import relbench -ds = relbench.load_dataset("ctu-elti") -task = relbench.load_task("ctu-elti", "") +ds = relbench.load_dataset("relbench/redelex/ctu-elti") +task = relbench.load_task("relbench/redelex/ctu-elti", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-elti/schema.svg b/ctu-elti/schema.svg index a31e478e73968372fa3bd2ef0d8ffc9e205fe800..a77f9be80c0325cf97c20ce919ca9d87ce536aa6 100644 --- a/ctu-elti/schema.svg +++ b/ctu-elti/schema.svg @@ -1,380 +1,380 @@ - - + + schema target:e->person:w - + target:e->person:w - + father:e->person:w - + father:e->person:w - + son:e->person:w - + son:e->person:w - + brother:e->person:w - + brother:e->person:w - + husband:e->person:w - + husband:e->person:w - + sister:e->person:w - + sister:e->person:w - + daughter:e->person:w - + daughter:e->person:w - + mother:e->person:w - + mother:e->person:w - + elti:e->person:w - + elti:e->person:w - + wife:e->person:w - + wife:e->person:w - + target - -target - -1K rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -is_elti - -int - -name1 - -str - -name2 - -str + +target + +1K rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +is_elti + +int + +name1 + +str + +name2 + +str person - -person - -47 rows - -__PK__ - -PK + +person + +47 rows + +__PK__ + +PK father - -father - -32 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +father + +32 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str son - -son - -36 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +son + +36 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str brother - -brother - -33 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +brother + +33 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str husband - -husband - -14 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband + +14 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str sister - -sister - -27 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +sister + +27 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str daughter - -daughter - -28 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +daughter + +28 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str mother - -mother - -32 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +mother + +32 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str elti - -elti - -8 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +elti + +8 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str wife - -wife - -14 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +wife + +14 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str diff --git a/ctu-employee/README.md b/ctu-employee/README.md index 665d403f0f176373a6eb781125847d029b5bed01..f17b68fbd534db8016a3f7321513d71b325aa7a0 100644 --- a/ctu-employee/README.md +++ b/ctu-employee/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-employee ---- - # ctu-employee CTU relational dataset 'employee' from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ CTU relational dataset 'employee' from the CTU Prague Relational Learning Reposi ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2000-01-01 00:00:00`, test `2001-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2000-01-01 00:00:00`, test `2001-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-employee") -task = relbench.load_task("ctu-employee", "") +ds = relbench.load_dataset("relbench/redelex/ctu-employee") +task = relbench.load_task("relbench/redelex/ctu-employee", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-employee/schema.svg b/ctu-employee/schema.svg index cfcc5f07d144eccbb11cd34a07c9f12018cf8221..64788bd6a7c02ef0353a1972259af09c5ab6f574 100644 --- a/ctu-employee/schema.svg +++ b/ctu-employee/schema.svg @@ -1,188 +1,188 @@ - - + + schema dept_manager:e->departments:w - + dept_manager:e->employees:w - + titles:e->employees:w - + dept_emp:e->departments:w - + dept_emp:e->employees:w - + salaries:e->employees:w - + departments - -departments - -9 rows - -__PK__ - -PK - -dept_name - -str + +departments + +9 rows + +__PK__ + +PK + +dept_name + +str dept_manager - -dept_manager - -24 rows - -__PK__ - -PK - -FK_employees_emp_no - -FK - -FK_departments_dept_no - -FK - -from_date - -TIME - -to_date - -datetime + +dept_manager + +24 rows + +__PK__ + +PK + +FK_employees_emp_no + +FK + +FK_departments_dept_no + +FK + +from_date + +TIME + +to_date + +datetime employees - -employees - -300K rows - -__PK__ - -PK - -hire_date - -TIME - -first_name - -str - -last_name - -str - -birth_date - -datetime - -gender - -dictionary<values=string, indices=int8, ordered=0> + +employees + +300K rows + +__PK__ + +PK + +hire_date + +TIME + +first_name + +str + +last_name + +str + +birth_date + +datetime + +gender + +dictionary<values=string, indices=int8, ordered=0> titles - -titles - -443K rows - -__PK__ - -PK - -FK_employees_emp_no - -FK - -from_date - -TIME - -title - -str - -to_date - -datetime + +titles + +443K rows + +__PK__ + +PK + +FK_employees_emp_no + +FK + +from_date + +TIME + +title + +str + +to_date + +datetime dept_emp - -dept_emp - -332K rows - -__PK__ - -PK - -FK_employees_emp_no - -FK - -FK_departments_dept_no - -FK - -from_date - -TIME - -to_date - -datetime + +dept_emp + +332K rows + +__PK__ + +PK + +FK_employees_emp_no + +FK + +FK_departments_dept_no + +FK + +from_date + +TIME + +to_date + +datetime salaries - -salaries - -3M rows - -__PK__ - -PK - -FK_employees_emp_no - -FK - -from_date - -TIME - -salary - -int - -to_date - -datetime + +salaries + +3M rows + +__PK__ + +PK + +FK_employees_emp_no + +FK + +from_date + +TIME + +salary + +int + +to_date + +datetime diff --git a/ctu-ergastf1/README.md b/ctu-ergastf1/README.md index d531c7b2a16beffeb3a3c20c135fa6f992cf92c2..a059e35ff8ab63ff2321c1d8889a8820e1e54ec1 100644 --- a/ctu-ergastf1/README.md +++ b/ctu-ergastf1/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-ergastf1 ---- - # ctu-ergastf1 Ergast.com is a webservice that provides a database of Formula 1 races, starting from the 1950 season until today. The dataset includes information such as the time taken in each lap, the time taken for pit stops, the performance in the qualifying rounds etc. of all Formula 1 races from 1950 to 2017. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Ergast.com is a webservice that provides a database of Formula 1 races, starting ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2014-01-01 00:00:00`, test `2016-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2014-01-01 00:00:00`, test `2016-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-ergastf1") -task = relbench.load_task("ctu-ergastf1", "") +ds = relbench.load_dataset("relbench/redelex/ctu-ergastf1") +task = relbench.load_task("relbench/redelex/ctu-ergastf1", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-ergastf1/schema.svg b/ctu-ergastf1/schema.svg index 20a368828da719712c262821f0f10682eca526b1..f446ff7f8122685435b2a09f2c2f14a578364f5f 100644 --- a/ctu-ergastf1/schema.svg +++ b/ctu-ergastf1/schema.svg @@ -1,676 +1,676 @@ - - + + schema races:e->circuits:w - + races:e->seasons:w - + constructorStandings:e->races:w - + constructorStandings:e->constructors:w - + target:e->drivers:w - + target:e->races:w - + lapTimes:e->drivers:w - + lapTimes:e->races:w - + qualifying:e->drivers:w - + qualifying:e->races:w - + qualifying:e->constructors:w - + constructorResults:e->races:w - + constructorResults:e->constructors:w - + pitStops:e->drivers:w - + pitStops:e->races:w - + results:e->drivers:w - + results:e->status:w - + results:e->races:w - + results:e->constructors:w - + driverStandings:e->drivers:w - + driverStandings:e->races:w - + drivers - -drivers - -840 rows - -__PK__ - -PK - -number - -int - -driverRef - -str - -code - -str - -forename - -str - -surname - -str - -nationality - -str - -url - -str - -dob - -datetime + +drivers + +840 rows + +__PK__ + +PK + +number + +int + +driverRef + +str + +code + +str + +forename + +str + +surname + +str + +nationality + +str + +url + +str + +dob + +datetime status - -status - -134 rows - -__PK__ - -PK - -status - -str + +status + +134 rows + +__PK__ + +PK + +status + +str races - -races - -976 rows - -__PK__ - -PK - -FK_circuits_circuitId - -FK - -FK_seasons_year - -FK - -date - -TIME - -year - -int - -round - -int - -circuitId - -int - -name - -str - -url - -str + +races + +976 rows + +__PK__ + +PK + +FK_circuits_circuitId + +FK + +FK_seasons_year + +FK + +date + +TIME + +year + +int + +round + +int + +circuitId + +int + +name + +str + +url + +str circuits - -circuits - -73 rows - -__PK__ - -PK - -lat - -float - -lng - -float - -alt - -int - -circuitRef - -str - -name - -str - -location - -str - -country - -str - -url - -str + +circuits + +73 rows + +__PK__ + +PK + +lat + +float + +lng + +float + +alt + +int + +circuitRef + +str + +name + +str + +location + +str + +country + +str + +url + +str seasons - -seasons - -68 rows - -__PK__ - -PK - -url - -str + +seasons + +68 rows + +__PK__ + +PK + +url + +str constructorStandings - -constructorStandings - -12K rows - -__PK__ - -PK - -FK_races_raceId - -FK - -FK_constructors_constructorId - -FK - -points - -float - -raceId - -int - -constructorId - -int - -position - -int - -wins - -int - -positionText - -str + +constructorStandings + +12K rows + +__PK__ + +PK + +FK_races_raceId + +FK + +FK_constructors_constructorId + +FK + +points + +float + +raceId + +int + +constructorId + +int + +position + +int + +wins + +int + +positionText + +str constructors - -constructors - -208 rows - -__PK__ - -PK - -constructorRef - -str - -name - -str - -nationality - -str - -url - -str + +constructors + +208 rows + +__PK__ + +PK + +constructorRef + +str + +name + +str + +nationality + +str + +url + +str target - -target - -32K rows - -__PK__ - -PK - -FK_races_raceId - -FK - -FK_drivers_driverId - -FK - -date - -TIME - -win - -int + +target + +32K rows + +__PK__ + +PK + +FK_races_raceId + +FK + +FK_drivers_driverId + +FK + +date + +TIME + +win + +int lapTimes - -lapTimes - -420K rows - -__PK__ - -PK - -FK_drivers_driverId - -FK - -FK_races_raceId - -FK - -raceId - -int - -driverId - -int - -lap - -int - -position - -int - -milliseconds - -int - -time - -str + +lapTimes + +420K rows + +__PK__ + +PK + +FK_drivers_driverId + +FK + +FK_races_raceId + +FK + +raceId + +int + +driverId + +int + +lap + +int + +position + +int + +milliseconds + +int + +time + +str qualifying - -qualifying - -7K rows - -__PK__ - -PK - -FK_constructors_constructorId - -FK - -FK_drivers_driverId - -FK - -FK_races_raceId - -FK - -raceId - -int - -driverId - -int - -constructorId - -int - -number - -int - -position - -int - -q1 - -datetime - -q2 - -datetime - -q3 - -datetime + +qualifying + +7K rows + +__PK__ + +PK + +FK_constructors_constructorId + +FK + +FK_drivers_driverId + +FK + +FK_races_raceId + +FK + +raceId + +int + +driverId + +int + +constructorId + +int + +number + +int + +position + +int + +q1 + +datetime + +q2 + +datetime + +q3 + +datetime constructorResults - -constructorResults - -11K rows - -__PK__ - -PK - -FK_races_raceId - -FK - -FK_constructors_constructorId - -FK - -points - -float - -raceId - -int - -constructorId - -int - -status - -str + +constructorResults + +11K rows + +__PK__ + +PK + +FK_races_raceId + +FK + +FK_constructors_constructorId + +FK + +points + +float + +raceId + +int + +constructorId + +int + +status + +str pitStops - -pitStops - -6K rows - -__PK__ - -PK - -FK_races_raceId - -FK - -FK_drivers_driverId - -FK - -time - -TIME - -raceId - -int - -driverId - -int - -stop - -int - -lap - -int - -milliseconds - -int - -duration - -str + +pitStops + +6K rows + +__PK__ + +PK + +FK_races_raceId + +FK + +FK_drivers_driverId + +FK + +time + +TIME + +raceId + +int + +driverId + +int + +stop + +int + +lap + +int + +milliseconds + +int + +duration + +str results - -results - -24K rows - -__PK__ - -PK - -FK_constructors_constructorId - -FK - -FK_drivers_driverId - -FK - -FK_status_statusId - -FK - -FK_races_raceId - -FK - -points - -float - -raceId - -int - -driverId - -int - -constructorId - -int - -number - -int - -grid - -int - -position - -int - -positionOrder - -int - -laps - -int - -milliseconds - -int - -fastestLap - -int - -rank - -int - -statusId - -int - -positionText - -str - -time - -str - -fastestLapSpeed - -str - -fastestLapTime - -datetime + +results + +24K rows + +__PK__ + +PK + +FK_constructors_constructorId + +FK + +FK_drivers_driverId + +FK + +FK_status_statusId + +FK + +FK_races_raceId + +FK + +points + +float + +raceId + +int + +driverId + +int + +constructorId + +int + +number + +int + +grid + +int + +position + +int + +positionOrder + +int + +laps + +int + +milliseconds + +int + +fastestLap + +int + +rank + +int + +statusId + +int + +positionText + +str + +time + +str + +fastestLapSpeed + +str + +fastestLapTime + +datetime driverStandings - -driverStandings - -32K rows - -__PK__ - -PK - -FK_races_raceId - -FK - -FK_drivers_driverId - -FK - -points - -float - -raceId - -int - -driverId - -int - -position - -int - -wins - -int - -positionText - -str + +driverStandings + +32K rows + +__PK__ + +PK + +FK_races_raceId + +FK + +FK_drivers_driverId + +FK + +points + +float + +raceId + +int + +driverId + +int + +position + +int + +wins + +int + +positionText + +str diff --git a/ctu-expenditures/README.md b/ctu-expenditures/README.md index 0d1ca1364e37637341048ea33564f08fc184a130..aad6dc13393623255d1ec9d7e061643ffa748fca 100644 --- a/ctu-expenditures/README.md +++ b/ctu-expenditures/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-expenditures ---- - # ctu-expenditures The Consumer Expenditure Survey (CE) collects data on expenditures, income, and demographics in the United States. The public-use microdata (PUMD) files provide this information for individual respondents without any information that could identify respondents. PUMD files include adjustments for information that is missing because respondents were unwilling or unable to provide it. The files also have been adjusted to reduce the likelihood of identifying respondents, either directly or through inference. The task is to predict, whether the expenditure is a gift or not. Household ids change from year to year - this is a property of the data source. Original source: www.bls.gov Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The Consumer Expenditure Survey (CE) collects data on expenditures, income, and ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-expenditures") -task = relbench.load_task("ctu-expenditures", "") +ds = relbench.load_dataset("relbench/redelex/ctu-expenditures") +task = relbench.load_task("relbench/redelex/ctu-expenditures", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-expenditures/schema.svg b/ctu-expenditures/schema.svg index c1f23ff54d5403671b7d486481c18a0381ee0a34..d653cf0d76f11720a91f81eda518c6b970a73b0f 100644 --- a/ctu-expenditures/schema.svg +++ b/ctu-expenditures/schema.svg @@ -1,140 +1,140 @@ - - + + schema HOUSEHOLD_MEMBERS:e->HOUSEHOLDS:w - + EXPENDITURES:e->HOUSEHOLDS:w - + HOUSEHOLD_MEMBERS - -HOUSEHOLD_MEMBERS - -137K rows - -__PK__ - -PK - -FK_HOUSEHOLDS_HOUSEHOLD_ID - -FK - -YEAR - -int - -AGE - -int - -HOUSEHOLD_ID - -str - -MARITAL - -str - -SEX - -str - -WORK_STATUS - -str + +HOUSEHOLD_MEMBERS + +137K rows + +__PK__ + +PK + +FK_HOUSEHOLDS_HOUSEHOLD_ID + +FK + +YEAR + +int + +AGE + +int + +HOUSEHOLD_ID + +str + +MARITAL + +str + +SEX + +str + +WORK_STATUS + +str HOUSEHOLDS - -HOUSEHOLDS - -57K rows - -__PK__ - -PK - -INCOME_RANK - -float - -INCOME_RANK_1 - -float - -INCOME_RANK_2 - -float - -INCOME_RANK_3 - -float - -INCOME_RANK_4 - -float - -INCOME_RANK_5 - -float - -INCOME_RANK_MEAN - -float - -YEAR - -int - -AGE_REF - -int + +HOUSEHOLDS + +57K rows + +__PK__ + +PK + +INCOME_RANK + +float + +INCOME_RANK_1 + +float + +INCOME_RANK_2 + +float + +INCOME_RANK_3 + +float + +INCOME_RANK_4 + +float + +INCOME_RANK_5 + +float + +INCOME_RANK_MEAN + +float + +YEAR + +int + +AGE_REF + +int EXPENDITURES - -EXPENDITURES - -2M rows - -__PK__ - -PK - -FK_HOUSEHOLDS_HOUSEHOLD_ID - -FK - -COST - -float - -YEAR - -int - -MONTH - -int - -GIFT - -int - -HOUSEHOLD_ID - -str - -PRODUCT_CODE - -str + +EXPENDITURES + +2M rows + +__PK__ + +PK + +FK_HOUSEHOLDS_HOUSEHOLD_ID + +FK + +COST + +float + +YEAR + +int + +MONTH + +int + +GIFT + +int + +HOUSEHOLD_ID + +str + +PRODUCT_CODE + +str diff --git a/ctu-financial/README.md b/ctu-financial/README.md index b42048027f766d1d48c2fbbfbb5759e384011e1b..1f60a8573ac6f0205ca3e4537c5fca3de09b1265 100644 --- a/ctu-financial/README.md +++ b/ctu-financial/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-financial ---- - # ctu-financial PKDD'99 Financial dataset contains 606 successful and 76 not successful loans along with their information and transactions. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ PKDD'99 Financial dataset contains 606 successful and 76 not successful loans al ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `1998-01-01 00:00:00`, test `1998-07-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `1998-01-01 00:00:00`, test `1998-07-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-financial") -task = relbench.load_task("ctu-financial", "") +ds = relbench.load_dataset("relbench/redelex/ctu-financial") +task = relbench.load_task("relbench/redelex/ctu-financial", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-financial/schema.svg b/ctu-financial/schema.svg index d419ab1312fa15790c8eb4e885c6663ce48b27bc..4fda10fea627f1acb2030fcc05b569d7da88851f 100644 --- a/ctu-financial/schema.svg +++ b/ctu-financial/schema.svg @@ -1,352 +1,352 @@ - - + + schema loan:e->account:w - + card:e->disp:w - + account:e->district:w - + trans:e->account:w - + order:e->account:w - + disp:e->account:w - + disp:e->client:w - + client:e->district:w - + loan - -loan - -682 rows - -__PK__ - -PK - -FK_account_account_id - -FK - -date - -TIME - -payments - -float - -account_id - -int - -amount - -int - -duration - -int - -status - -str + +loan + +682 rows + +__PK__ + +PK + +FK_account_account_id + +FK + +date + +TIME + +payments + +float + +account_id + +int + +amount + +int + +duration + +int + +status + +str account - -account - -4K rows - -__PK__ - -PK - -FK_district_district_id - -FK - -date - -TIME - -district_id - -int - -frequency - -str + +account + +4K rows + +__PK__ + +PK + +FK_district_district_id + +FK + +date + +TIME + +district_id + +int + +frequency + +str district - -district - -77 rows - -__PK__ - -PK - -A10 - -float - -A12 - -float - -A13 - -float - -A4 - -int - -A5 - -int - -A6 - -int - -A7 - -int - -A8 - -int - -A9 - -int - -A11 - -int - -A14 - -int - -A15 - -int - -A16 - -int - -A2 - -str - -A3 - -str + +district + +77 rows + +__PK__ + +PK + +A10 + +float + +A12 + +float + +A13 + +float + +A4 + +int + +A5 + +int + +A6 + +int + +A7 + +int + +A8 + +int + +A9 + +int + +A11 + +int + +A14 + +int + +A15 + +int + +A16 + +int + +A2 + +str + +A3 + +str card - -card - -892 rows - -__PK__ - -PK - -FK_disp_disp_id - -FK - -issued - -TIME - -disp_id - -int - -type - -str + +card + +892 rows + +__PK__ + +PK + +FK_disp_disp_id + +FK + +issued + +TIME + +disp_id + +int + +type + +str disp - -disp - -5K rows - -__PK__ - -PK - -FK_account_account_id - -FK - -FK_client_client_id - -FK - -client_id - -int - -account_id - -int - -type - -str + +disp + +5K rows + +__PK__ + +PK + +FK_account_account_id + +FK + +FK_client_client_id + +FK + +client_id + +int + +account_id + +int + +type + +str trans - -trans - -1M rows - -__PK__ - -PK - -FK_account_account_id - -FK - -date - -TIME - -account_id - -int - -amount - -int - -balance - -int - -account - -int - -type - -str - -operation - -str - -k_symbol - -str - -bank - -str + +trans + +1M rows + +__PK__ + +PK + +FK_account_account_id + +FK + +date + +TIME + +account_id + +int + +amount + +int + +balance + +int + +account + +int + +type + +str + +operation + +str + +k_symbol + +str + +bank + +str order - -order - -6K rows - -__PK__ - -PK - -FK_account_account_id - -FK - -amount - -float - -account_id - -int - -account_to - -int - -bank_to - -str - -k_symbol - -str + +order + +6K rows + +__PK__ + +PK + +FK_account_account_id + +FK + +amount + +float + +account_id + +int + +account_to + +int + +bank_to + +str + +k_symbol + +str client - -client - -5K rows - -__PK__ - -PK - -FK_district_district_id - -FK - -district_id - -int - -gender - -str - -birth_date - -datetime + +client + +5K rows + +__PK__ + +PK + +FK_district_district_id + +FK + +district_id + +int + +gender + +str + +birth_date + +datetime diff --git a/ctu-fnhk/README.md b/ctu-fnhk/README.md index e22ebf14a5a5ac6e03eeea2794d39bc4516d45a1..34d1742317cbd905d3e44682f6876ee1119eda39 100644 --- a/ctu-fnhk/README.md +++ b/ctu-fnhk/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-fnhk ---- - # ctu-fnhk Anonymised data from a hospital in Hradec Kralove, Czech Republic, about treatment and medication. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Anonymised data from a hospital in Hradec Kralove, Czech Republic, about treatme ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2014-09-01 00:00:00`, test `2014-11-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2014-09-01 00:00:00`, test `2014-11-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-fnhk") -task = relbench.load_task("ctu-fnhk", "") +ds = relbench.load_dataset("relbench/redelex/ctu-fnhk") +task = relbench.load_task("relbench/redelex/ctu-fnhk", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-fnhk/schema.svg b/ctu-fnhk/schema.svg index a90fc79e7f4db2bbe65d22432469f9e30090a4b1..f318758412dcc2c37d4c781b92d186f0720b39be 100644 --- a/ctu-fnhk/schema.svg +++ b/ctu-fnhk/schema.svg @@ -1,140 +1,140 @@ - - + + schema vykony:e->pripady:w - + zup:e->pripady:w - + vykony - -vykony - -2M rows - -__PK__ - -PK - -FK_pripady_Identifikace_pripadu - -FK - -Datum_provedeni_vykonu - -TIME - -Typ_polozky - -int - -Kod_polozky - -int - -Pocet - -int - -Body - -int + +vykony + +2M rows + +__PK__ + +PK + +FK_pripady_Identifikace_pripadu + +FK + +Datum_provedeni_vykonu + +TIME + +Typ_polozky + +int + +Kod_polozky + +int + +Pocet + +int + +Body + +int pripady - -pripady - -42K rows - -__PK__ - -PK - -Datum_prijeti - -TIME - -Identifikator_pacienta - -int - -Kod_zdravotni_pojistovny - -int - -Delka_hospitalizace - -int - -DRG_skupina - -int - -Vekovy_Interval_Pacienta - -str - -Pohlavi_pacienta - -str - -Zakladni_diagnoza - -str - -Seznam_vedlejsich_diagnoz - -str - -PSC - -str - -Datum_propusteni - -datetime + +pripady + +42K rows + +__PK__ + +PK + +Datum_prijeti + +TIME + +Identifikator_pacienta + +int + +Kod_zdravotni_pojistovny + +int + +Delka_hospitalizace + +int + +DRG_skupina + +int + +Vekovy_Interval_Pacienta + +str + +Pohlavi_pacienta + +str + +Zakladni_diagnoza + +str + +Seznam_vedlejsich_diagnoz + +str + +PSC + +str + +Datum_propusteni + +datetime zup - -zup - -192K rows - -__PK__ - -PK - -FK_pripady_Identifikace_pripadu - -FK - -Datum_provedeni_vykonu - -TIME - -Pocet - -float - -Cena - -float - -Typ_polozky - -int - -Kod_polozky - -int + +zup + +192K rows + +__PK__ + +PK + +FK_pripady_Identifikace_pripadu + +FK + +Datum_provedeni_vykonu + +TIME + +Pocet + +float + +Cena + +float + +Typ_polozky + +int + +Kod_polozky + +int diff --git a/ctu-ftp/README.md b/ctu-ftp/README.md index a45a742ac302dd79bccb4270c38bdcd9da6837f4..8a3caa0ea5a6cd9ba8c08caf65b108f030285509 100644 --- a/ctu-ftp/README.md +++ b/ctu-ftp/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-ftp ---- - # ctu-ftp PAKDD'15 Data Mining Competition: The data were obtained from simulations of product viewing activities of users with known gender. The data closely follow the real-life distribution in that regard. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ PAKDD'15 Data Mining Competition: The data were obtained from simulations of pro ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2014-12-15 00:00:00`, test `2014-12-19 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2014-12-15 00:00:00`, test `2014-12-19 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-ftp") -task = relbench.load_task("ctu-ftp", "") +ds = relbench.load_dataset("relbench/redelex/ctu-ftp") +task = relbench.load_task("relbench/redelex/ctu-ftp", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-ftp/schema.svg b/ctu-ftp/schema.svg index 69de0cc87d60927c3181a9137391c8528f71d56e..e469214677785484952065aa53f2481de4b2043b 100644 --- a/ctu-ftp/schema.svg +++ b/ctu-ftp/schema.svg @@ -1,72 +1,72 @@ - - + + schema product:e->session:w - + product - -product - -66K rows - -__PK__ - -PK - -FK_session_session_id - -FK - -sequence_order - -int - -session_id - -str - -category_a - -str - -category_b - -str - -category_c - -str - -category_d - -str + +product + +66K rows + +__PK__ + +PK + +FK_session_session_id + +FK + +sequence_order + +int + +session_id + +str + +category_a + +str + +category_b + +str + +category_c + +str + +category_d + +str session - -session - -30K rows - -__PK__ - -PK - -start_time - -TIME - -gender - -str - -end_time - -datetime + +session + +30K rows + +__PK__ + +PK + +start_time + +TIME + +gender + +str + +end_time + +datetime diff --git a/ctu-geneea/README.md b/ctu-geneea/README.md index 47671e1795609e6c12b986488a5b5697ceebc5ab..efe233ef612dbf3297e4b64cdb5d0caa8a953549 100644 --- a/ctu-geneea/README.md +++ b/ctu-geneea/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-geneea ---- - # ctu-geneea Data on deputies and senators in the Czech Republic. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Data on deputies and senators in the Czech Republic. Sourced from the CTU Prague ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2015-06-01 00:00:00`, test `2015-10-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2015-06-01 00:00:00`, test `2015-10-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-geneea") -task = relbench.load_task("ctu-geneea", "") +ds = relbench.load_dataset("relbench/redelex/ctu-geneea") +task = relbench.load_task("relbench/redelex/ctu-geneea", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-geneea/schema.svg b/ctu-geneea/schema.svg index 2d3d9066d0f8c8d3bed40da31a790021f1c6f1b6..51b0e2c8af2d4fc3bbe56913987018a019328d1f 100644 --- a/ctu-geneea/schema.svg +++ b/ctu-geneea/schema.svg @@ -1,868 +1,868 @@ - - + + schema hl_vazby:e->hl_hlasovani:w - + pkgps:e->poslanec:w - + schuze:e->organy:w - + omluvy:e->organy:w - + omluvy:e->poslanec:w - + zmatecne:e->hl_hlasovani:w - + hl_zposlanec:e->osoby:w - + hl_zposlanec:e->hl_hlasovani:w - + funkce:e->organy:w - + funkce:e->typ_funkce:w - + organy:e->typ_organu:w - + hl_poslanec:e->poslanec:w - + hl_check:e->hl_hlasovani:w - + bod_schuze:e->schuze:w - + bod_schuze:e->bod_stav:w - + typ_funkce:e->typ_organu:w - + poslanec:e->osoby:w - + schuze_stav:e->schuze:w - + hl_hlasovani:e->organy:w - + zarazeni:e->osoby:w - + hl_vazby - -hl_vazby - -3K rows - -__PK__ - -PK - -FK_hl_hlasovani_id_hlasovani - -FK - -id_hlasovani - -int - -turn - -int - -typ - -int + +hl_vazby + +3K rows + +__PK__ + +PK + +FK_hl_hlasovani_id_hlasovani + +FK + +id_hlasovani + +int + +turn + +int + +typ + +int hl_hlasovani - -hl_hlasovani - -4K rows - -__PK__ - -PK - -FK_organy_id_organ - -FK - -datum - -TIME - -id_organ - -int - -schuze - -int - -cislo - -int - -bod - -int - -pro - -int - -proti - -int - -zdrzel - -int - -nehlasoval - -int - -prihlaseno - -int - -kvorum - -int - -druh_hlasovani - -str - -vysledek - -str - -nazev_dlouhy - -str - -nazev_kratky - -str - -cas - -datetime + +hl_hlasovani + +4K rows + +__PK__ + +PK + +FK_organy_id_organ + +FK + +datum + +TIME + +id_organ + +int + +schuze + +int + +cislo + +int + +bod + +int + +pro + +int + +proti + +int + +zdrzel + +int + +nehlasoval + +int + +prihlaseno + +int + +kvorum + +int + +druh_hlasovani + +str + +vysledek + +str + +nazev_dlouhy + +str + +nazev_kratky + +str + +cas + +datetime pkgps - -pkgps - -196 rows - -__PK__ - -PK - -FK_poslanec_id_poslanec - -FK - -sirka - -float - -delka - -float - -id_poslanec - -int - -adresa - -str + +pkgps + +196 rows + +__PK__ + +PK + +FK_poslanec_id_poslanec + +FK + +sirka + +float + +delka + +float + +id_poslanec + +int + +adresa + +str poslanec - -poslanec - -2K rows - -__PK__ - -PK - -FK_osoby_id_osoba - -FK - -id_osoba - -int - -id_kraj - -int - -id_kandidatka - -int - -id_obdobi - -int - -foto - -int - -web - -str - -ulice - -str - -obec - -str - -psc - -str - -email - -str - -telefon - -str - -fax - -str - -psp_telefon - -str - -facebook - -str + +poslanec + +2K rows + +__PK__ + +PK + +FK_osoby_id_osoba + +FK + +id_osoba + +int + +id_kraj + +int + +id_kandidatka + +int + +id_obdobi + +int + +foto + +int + +web + +str + +ulice + +str + +obec + +str + +psc + +str + +email + +str + +telefon + +str + +fax + +str + +psp_telefon + +str + +facebook + +str typ_organu - -typ_organu - -66 rows - -__PK__ - -PK - -priorita - -int - -typ_id_typ_org - -str - -nazev_typ_org_cz - -str - -nazev_typ_org_en - -str - -typ_org_obecny - -str + +typ_organu + +66 rows + +__PK__ + +PK + +priorita + +int + +typ_id_typ_org + +str + +nazev_typ_org_cz + +str + +nazev_typ_org_en + +str + +typ_org_obecny + +str schuze - -schuze - -350 rows - -__PK__ - -PK - -FK_organy_id_organ - -FK - -id_organ - -int - -schuze - -int - -od_schuze - -str - -do_schuze - -str - -aktualizace - -str + +schuze + +350 rows + +__PK__ + +PK + +FK_organy_id_organ + +FK + +id_organ + +int + +schuze + +int + +od_schuze + +str + +do_schuze + +str + +aktualizace + +str organy - -organy - -1K rows - -__PK__ - -PK - -FK_typ_organu_id_typ_organu - -FK - -organ_id_organ - -int - -id_typ_organu - -int - -cl_organ_base - -int - -zkratka - -str - -nazev_organu_cz - -str - -nazev_organu_en - -str - -od_organ - -str - -do_organ - -str - -priorita - -str + +organy + +1K rows + +__PK__ + +PK + +FK_typ_organu_id_typ_organu + +FK + +organ_id_organ + +int + +id_typ_organu + +int + +cl_organ_base + +int + +zkratka + +str + +nazev_organu_cz + +str + +nazev_organu_en + +str + +od_organ + +str + +do_organ + +str + +priorita + +str omluvy - -omluvy - -14K rows - -__PK__ - -PK - -FK_organy_id_organ - -FK - -FK_poslanec_id_poslanec - -FK - -den - -TIME - -id_organ - -int - -id_poslanec - -int - -od - -str - -do - -str + +omluvy + +14K rows + +__PK__ + +PK + +FK_organy_id_organ + +FK + +FK_poslanec_id_poslanec + +FK + +den + +TIME + +id_organ + +int + +id_poslanec + +int + +od + +str + +do + +str zmatecne - -zmatecne - -109 rows - -__PK__ - -PK - -FK_hl_hlasovani_id_hlasovani - -FK - -id_hlasovani - -int + +zmatecne + +109 rows + +__PK__ + +PK + +FK_hl_hlasovani_id_hlasovani + +FK + +id_hlasovani + +int hl_zposlanec - -hl_zposlanec - -95 rows - -__PK__ - -PK - -FK_hl_hlasovani_id_hlasovani - -FK - -FK_osoby_id_osoba - -FK - -id_hlasovani - -int - -id_osoba - -int - -mode - -int + +hl_zposlanec + +95 rows + +__PK__ + +PK + +FK_hl_hlasovani_id_hlasovani + +FK + +FK_osoby_id_osoba + +FK + +id_hlasovani + +int + +id_osoba + +int + +mode + +int osoby - -osoby - -6K rows - -__PK__ - -PK - -pred - -str - -jmeno - -str - -prijmeni - -str - -za - -str - -narozeni - -str - -pohlavi - -str - -zmena - -str - -umrti - -str + +osoby + +6K rows + +__PK__ + +PK + +pred + +str + +jmeno + +str + +prijmeni + +str + +za + +str + +narozeni + +str + +pohlavi + +str + +zmena + +str + +umrti + +str funkce - -funkce - -2K rows - -__PK__ - -PK - -FK_organy_id_organ - -FK - -FK_typ_funkce_id_typ_funkce - -FK - -id_organ - -int - -id_typ_funkce - -int - -priorita - -int - -nazev_funkce_cz - -str + +funkce + +2K rows + +__PK__ + +PK + +FK_organy_id_organ + +FK + +FK_typ_funkce_id_typ_funkce + +FK + +id_organ + +int + +id_typ_funkce + +int + +priorita + +int + +nazev_funkce_cz + +str typ_funkce - -typ_funkce - -123 rows - -__PK__ - -PK - -FK_typ_organu_id_typ_org - -FK - -id_typ_org - -int - -priorita - -int - -typ_funkce_obecny - -int - -typ_funkce_cz - -str - -typ_funkce_en - -str + +typ_funkce + +123 rows + +__PK__ + +PK + +FK_typ_organu_id_typ_org + +FK + +id_typ_org + +int + +priorita + +int + +typ_funkce_obecny + +int + +typ_funkce_cz + +str + +typ_funkce_en + +str hl_poslanec - -hl_poslanec - -705K rows - -__PK__ - -PK - -FK_poslanec_id_poslanec - -FK - -id_poslanec - -int - -id_hlasovani - -int - -vysledek - -str + +hl_poslanec + +705K rows + +__PK__ + +PK + +FK_poslanec_id_poslanec + +FK + +id_poslanec + +int + +id_hlasovani + +int + +vysledek + +str hl_check - -hl_check - -92 rows - -__PK__ - -PK - -FK_hl_hlasovani_id_hlasovani - -FK - -id_hlasovani - -int - -turn - -int - -mode - -int - -id_h2 - -str - -id_h3 - -str + +hl_check + +92 rows + +__PK__ + +PK + +FK_hl_hlasovani_id_hlasovani + +FK + +id_hlasovani + +int + +turn + +int + +mode + +int + +id_h2 + +str + +id_h3 + +str bod_schuze - -bod_schuze - -37K rows - -__PK__ - -PK - -FK_schuze_id_schuze - -FK - -FK_bod_stav_id_bod_stav - -FK - -id_bod - -int - -id_schuze - -int - -bod - -int - -id_bod_stav - -int - -id_tisk - -str - -id_typ - -str - -uplny_naz - -str - -uplny_kon - -str - -poznamka - -str - -pozvanka - -str - -rj - -str - -pozn2 - -str - -druh_bodu - -str - -id_sd - -str - -zkratka - -str + +bod_schuze + +37K rows + +__PK__ + +PK + +FK_schuze_id_schuze + +FK + +FK_bod_stav_id_bod_stav + +FK + +id_bod + +int + +id_schuze + +int + +bod + +int + +id_bod_stav + +int + +id_tisk + +str + +id_typ + +str + +uplny_naz + +str + +uplny_kon + +str + +poznamka + +str + +pozvanka + +str + +rj + +str + +pozn2 + +str + +druh_bodu + +str + +id_sd + +str + +zkratka + +str bod_stav - -bod_stav - -7 rows - -__PK__ - -PK - -popis - -str + +bod_stav + +7 rows + +__PK__ + +PK + +popis + +str schuze_stav - -schuze_stav - -105 rows - -__PK__ - -PK - -FK_schuze_id_schuze - -FK - -id_schuze - -int - -stav - -int - -typ - -str - -text_dt - -str - -text_st - -str - -tm_line - -str + +schuze_stav + +105 rows + +__PK__ + +PK + +FK_schuze_id_schuze + +FK + +id_schuze + +int + +stav + +int + +typ + +str + +text_dt + +str + +text_st + +str + +tm_line + +str zarazeni - -zarazeni - -29K rows - -__PK__ - -PK - -FK_osoby_id_osoba - -FK - -id_osoba - -int - -id_of - -int - -cl_funkce - -int - -od_o - -str - -do_o - -str - -od_f - -str - -do_f - -str + +zarazeni + +29K rows + +__PK__ + +PK + +FK_osoby_id_osoba + +FK + +id_osoba + +int + +id_of + +int + +cl_funkce + +int + +od_o + +str + +do_o + +str + +od_f + +str + +do_f + +str diff --git a/ctu-genes/README.md b/ctu-genes/README.md index 4946cb5a0389fed81ca7a8d27d6c2e3d72db182a..3c399b51e8f98fdcd5587b100187f8217b4f1052 100644 --- a/ctu-genes/README.md +++ b/ctu-genes/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-genes ---- - # ctu-genes KDD Cup 2001 prediction of gene/protein function and localization. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ KDD Cup 2001 prediction of gene/protein function and localization. Sourced from ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-genes") -task = relbench.load_task("ctu-genes", "") +ds = relbench.load_dataset("relbench/redelex/ctu-genes") +task = relbench.load_task("relbench/redelex/ctu-genes", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-genes/schema.svg b/ctu-genes/schema.svg index 813f18f439a7a05816fd8572b5e298333e471a75..ebc17f95c9681f69671a7dd0ad946ce38722c5a0 100644 --- a/ctu-genes/schema.svg +++ b/ctu-genes/schema.svg @@ -1,120 +1,120 @@ - - + + schema Genes:e->Classification:w - + Interactions:e->Classification:w - + Interactions:e->Classification:w - + Classification - -Classification - -862 rows - -__PK__ - -PK - -Localization - -str + +Classification + +862 rows + +__PK__ + +PK + +Localization + +str Genes - -Genes - -4K rows - -__PK__ - -PK - -FK_Classification_GeneID - -FK - -Chromosome - -int - -GeneID - -str - -Essential - -str - -Class - -str - -Complex - -str - -Phenotype - -str - -Motif - -str - -Function - -str - -Localization - -str + +Genes + +4K rows + +__PK__ + +PK + +FK_Classification_GeneID + +FK + +Chromosome + +int + +GeneID + +str + +Essential + +str + +Class + +str + +Complex + +str + +Phenotype + +str + +Motif + +str + +Function + +str + +Localization + +str Interactions - -Interactions - -910 rows - -__PK__ - -PK - -FK_Classification_GeneID1 - -FK - -FK_Classification_GeneID2 - -FK - -Expression_Corr - -float - -GeneID1 - -str - -GeneID2 - -str - -Type - -str + +Interactions + +910 rows + +__PK__ + +PK + +FK_Classification_GeneID1 + +FK + +FK_Classification_GeneID2 + +FK + +Expression_Corr + +float + +GeneID1 + +str + +GeneID2 + +str + +Type + +str diff --git a/ctu-gosales/README.md b/ctu-gosales/README.md index 61cac9f59e4351552d75f38c92450375ca1536dc..7c8df9f16ab80097743e5a78c31234656d058c97 100644 --- a/ctu-gosales/README.md +++ b/ctu-gosales/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-gosales ---- - # ctu-gosales GO Sales dataset from IBM contains information about daily sales, methods, retailers, and products of a fictitious outdoor equipment retail chain “Great Outdoors” (GO). Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ GO Sales dataset from IBM contains information about daily sales, methods, retai ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2017-10-01 00:00:00`, test `2018-03-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2017-10-01 00:00:00`, test `2018-03-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-gosales") -task = relbench.load_task("ctu-gosales", "") +ds = relbench.load_dataset("relbench/redelex/ctu-gosales") +task = relbench.load_task("relbench/redelex/ctu-gosales", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-gosales/schema.svg b/ctu-gosales/schema.svg index d9d06f29ee752e2631db0b6aac192594637a7908..deeb7715675684feac92f77ef0ac74d5e8332cf5 100644 --- a/ctu-gosales/schema.svg +++ b/ctu-gosales/schema.svg @@ -1,144 +1,144 @@ - - + + schema go_daily_sales:e->go_products:w - + go_daily_sales:e->go_methods:w - + go_daily_sales:e->go_retailers:w - + go_daily_sales - -go_daily_sales - -149K rows - -__PK__ - -PK - -FK_go_methods_Order method code - -FK - -FK_go_products_Product number - -FK - -FK_go_retailers_Retailer code - -FK - -Date - -TIME - -Unit price - -float - -Unit sale price - -float - -Order method code - -int - -Quantity - -int + +go_daily_sales + +149K rows + +__PK__ + +PK + +FK_go_methods_Order method code + +FK + +FK_go_products_Product number + +FK + +FK_go_retailers_Retailer code + +FK + +Date + +TIME + +Unit price + +float + +Unit sale price + +float + +Order method code + +int + +Quantity + +int go_products - -go_products - -274 rows - -__PK__ - -PK - -Unit cost - -float - -Unit price - -float - -Product line - -str - -Product type - -str - -Product - -str - -Product brand - -str - -Product color - -str + +go_products + +274 rows + +__PK__ + +PK + +Unit cost + +float + +Unit price + +float + +Product line + +str + +Product type + +str + +Product + +str + +Product brand + +str + +Product color + +str go_methods - -go_methods - -12 rows - -__PK__ - -PK - -Order method code - -int - -Order method type - -str + +go_methods + +12 rows + +__PK__ + +PK + +Order method code + +int + +Order method type + +str go_retailers - -go_retailers - -562 rows - -__PK__ - -PK - -Retailer name - -str - -Type - -str - -Country - -str + +go_retailers + +562 rows + +__PK__ + +PK + +Retailer name + +str + +Type + +str + +Country + +str diff --git a/ctu-grants/README.md b/ctu-grants/README.md index 4926a3d1d12d1417b3945385e47820dedb60e725..66a7a02ca264c2517aac3aa381b156eaf2c05e7f 100644 --- a/ctu-grants/README.md +++ b/ctu-grants/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-grants ---- - # ctu-grants This dataset includes funding grants from the National Science Foundation. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ This dataset includes funding grants from the National Science Foundation. Sourc ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2010-10-01 00:00:00`, test `2014-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2010-10-01 00:00:00`, test `2014-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-grants") -task = relbench.load_task("ctu-grants", "") +ds = relbench.load_dataset("relbench/redelex/ctu-grants") +task = relbench.load_task("relbench/redelex/ctu-grants", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-grants/schema.svg b/ctu-grants/schema.svg index b1040ccd664b3e993733e6038dd69c98b5415220..9c35d258b663c65e5ae85a7e626f5513c810d41a 100644 --- a/ctu-grants/schema.svg +++ b/ctu-grants/schema.svg @@ -1,396 +1,396 @@ - - + + schema investigator_awards:e->investigator:w - + investigator_awards:e->awards:w - + awards:e->organization:w - + program_element_awards:e->awards:w - + program_element_awards:e->program_element:w - + program_reference_awards:e->program_reference:w - + program_reference_awards:e->awards:w - + institution_awards:e->institution:w - + institution_awards:e->awards:w - + foa_info_awards:e->awards:w - + foa_info_awards:e->foa_info:w - + program_reference - -program_reference - -2K rows - -__PK__ - -PK - -text - -str + +program_reference + +2K rows + +__PK__ + +PK + +text + +str institution - -institution - -17K rows - -__PK__ - -PK - -contact - -int - -name - -str - -city_name - -str - -zipcode - -str - -address - -str - -country_name - -str - -state_name - -str - -state_code - -str + +institution + +17K rows + +__PK__ + +PK + +contact + +int + +name + +str + +city_name + +str + +zipcode + +str + +address + +str + +country_name + +str + +state_name + +str + +state_code + +str investigator - -investigator - -150K rows - -__PK__ - -PK - -first_name - -str - -last_name - -str + +investigator + +150K rows + +__PK__ + +PK + +first_name + +str + +last_name + +str investigator_awards - -investigator_awards - -636K rows - -__PK__ - -PK - -FK_awards_award_id - -FK - -FK_investigator_email_id - -FK - -start_date - -TIME - -award_id - -int - -email_id - -str - -end_date - -str - -role_code - -str + +investigator_awards + +636K rows + +__PK__ + +PK + +FK_awards_award_id + +FK + +FK_investigator_email_id + +FK + +start_date + +TIME + +award_id + +int + +email_id + +str + +end_date + +str + +role_code + +str awards - -awards - -430K rows - -__PK__ - -PK - -FK_organization_organisation_code - -FK - -award_effective_date - -TIME - -award_amount - -int - -organisation_code - -int - -arra_amount - -int - -award_title - -str - -award_expiration_date - -str - -award_instrument - -str - -program_officer - -str - -abstract_narration - -str - -min_amd_letter_date - -str - -max_amd_letter_date - -str + +awards + +430K rows + +__PK__ + +PK + +FK_organization_organisation_code + +FK + +award_effective_date + +TIME + +award_amount + +int + +organisation_code + +int + +arra_amount + +int + +award_title + +str + +award_expiration_date + +str + +award_instrument + +str + +program_officer + +str + +abstract_narration + +str + +min_amd_letter_date + +str + +max_amd_letter_date + +str organization - -organization - -475 rows - -__PK__ - -PK - -division - -str - -directorate - -str + +organization + +475 rows + +__PK__ + +PK + +division + +str + +directorate + +str program_element - -program_element - -13K rows - -__PK__ - -PK - -text - -str + +program_element + +13K rows + +__PK__ + +PK + +text + +str program_element_awards - -program_element_awards - -354K rows - -__PK__ - -PK - -FK_program_element_code - -FK - -FK_awards_award_id - -FK - -award_id - -int - -code - -str + +program_element_awards + +354K rows + +__PK__ + +PK + +FK_program_element_code + +FK + +FK_awards_award_id + +FK + +award_id + +int + +code + +str foa_info - -foa_info - -200 rows - -__PK__ - -PK - -name - -str + +foa_info + +200 rows + +__PK__ + +PK + +name + +str program_reference_awards - -program_reference_awards - -553K rows - -__PK__ - -PK - -FK_program_reference_code - -FK - -FK_awards_award_id - -FK - -award_id - -int - -code - -str + +program_reference_awards + +553K rows + +__PK__ + +PK + +FK_program_reference_code + +FK + +FK_awards_award_id + +FK + +award_id + +int + +code + +str institution_awards - -institution_awards - -417K rows - -__PK__ - -PK - -FK_awards_award_id - -FK - -FK_institution_name_zipcode - -FK - -award_id - -int - -name - -str - -zipcode - -str + +institution_awards + +417K rows + +__PK__ + +PK + +FK_awards_award_id + +FK + +FK_institution_name_zipcode + +FK + +award_id + +int + +name + +str + +zipcode + +str foa_info_awards - -foa_info_awards - -395K rows - -__PK__ - -PK - -FK_foa_info_code - -FK - -FK_awards_award_id - -FK - -award_id - -int - -code - -int + +foa_info_awards + +395K rows + +__PK__ + +PK + +FK_foa_info_code + +FK + +FK_awards_award_id + +FK + +award_id + +int + +code + +int diff --git a/ctu-hepatitis/README.md b/ctu-hepatitis/README.md index 3bdb7237ec925cca2127bed9cbe6f9b30aeefc21..5f8254ce80fd118bec945671037a39ee4de8d9eb 100644 --- a/ctu-hepatitis/README.md +++ b/ctu-hepatitis/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-hepatitis ---- - # ctu-hepatitis PKDD'02 Hepatitis dataset describes 206 instances of Hepatitis B (contrasting them against 484 cases of Hepatitis C). Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ PKDD'02 Hepatitis dataset describes 206 instances of Hepatitis B (contrasting th ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-hepatitis") -task = relbench.load_task("ctu-hepatitis", "") +ds = relbench.load_dataset("relbench/redelex/ctu-hepatitis") +task = relbench.load_task("relbench/redelex/ctu-hepatitis", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-hepatitis/schema.svg b/ctu-hepatitis/schema.svg index 50a062b7f28e466ad3a0d20f9bf808148e18966a..8815e6be8e0b52d2a7aa01e91ca4f86da270edd8 100644 --- a/ctu-hepatitis/schema.svg +++ b/ctu-hepatitis/schema.svg @@ -1,224 +1,224 @@ - - + + schema rel12:e->indis:w - + rel12:e->dispat:w - + rel13:e->inf:w - + rel13:e->dispat:w - + rel11:e->Bio:w - + rel11:e->dispat:w - + inf - -inf - -196 rows - -__PK__ - -PK - -dur - -str + +inf + +196 rows + +__PK__ + +PK + +dur + +str indis - -indis - -6K rows - -__PK__ - -PK - -got - -str - -gpt - -str - -alb - -str - -tbil - -str - -dbil - -str - -che - -str - -ttt - -str - -ztt - -str - -tcho - -str - -tp - -str + +indis + +6K rows + +__PK__ + +PK + +got + +str + +gpt + +str + +alb + +str + +tbil + +str + +dbil + +str + +che + +str + +ttt + +str + +ztt + +str + +tcho + +str + +tp + +str Bio - -Bio - -32 rows - -__PK__ - -PK - -fibros - -str - -activity - -str + +Bio + +32 rows + +__PK__ + +PK + +fibros + +str + +activity + +str rel12 - -rel12 - -6K rows - -__PK__ - -PK - -FK_dispat_m_id - -FK - -FK_indis_in_id - -FK - -in_id - -int - -m_id - -int + +rel12 + +6K rows + +__PK__ + +PK + +FK_dispat_m_id + +FK + +FK_indis_in_id + +FK + +in_id + +int + +m_id + +int dispat - -dispat - -500 rows - -__PK__ - -PK - -sex - -str - -age - -str - -Type - -str + +dispat + +500 rows + +__PK__ + +PK + +sex + +str + +age + +str + +Type + +str rel13 - -rel13 - -196 rows - -__PK__ - -PK - -FK_dispat_m_id - -FK - -FK_inf_a_id - -FK - -a_id - -int - -m_id - -int + +rel13 + +196 rows + +__PK__ + +PK + +FK_dispat_m_id + +FK + +FK_inf_a_id + +FK + +a_id + +int + +m_id + +int rel11 - -rel11 - -621 rows - -__PK__ - -PK - -FK_Bio_b_id - -FK - -FK_dispat_m_id - -FK - -b_id - -int - -m_id - -int + +rel11 + +621 rows + +__PK__ + +PK + +FK_Bio_b_id + +FK + +FK_dispat_m_id + +FK + +b_id + +int + +m_id + +int diff --git a/ctu-hockey/README.md b/ctu-hockey/README.md index 587b55ff8688d0cec3ae035567816cf640fde52a..19df59d40a1546e396d31970fd7d4479ef0f7fb7 100644 --- a/ctu-hockey/README.md +++ b/ctu-hockey/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-hockey ---- - # ctu-hockey The Hockey Database, in addition to the NHL, covers the following early and alternative leagues: NHA, PCHA, WCHL and WHA. It contains individual and team statistics from 1909-10 through the 2011-12 season. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The Hockey Database, in addition to the NHL, covers the following early and alte ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2007-01-01 00:00:00`, test `2009-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2007-01-01 00:00:00`, test `2009-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-hockey") -task = relbench.load_task("ctu-hockey", "") +ds = relbench.load_dataset("relbench/redelex/ctu-hockey") +task = relbench.load_task("relbench/redelex/ctu-hockey", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-hockey/schema.svg b/ctu-hockey/schema.svg index 8e00c35896b32ccecf08249aa35c41049b8ec8c8..9aedd1a4ee2e79ab51d8011140c5dbc97a39b3a3 100644 --- a/ctu-hockey/schema.svg +++ b/ctu-hockey/schema.svg @@ -1,1588 +1,1588 @@ - - + + schema Goalies:e->Master:w - + Goalies:e->Teams:w - + CombinedShutouts:e->Master:w - + CombinedShutouts:e->Master:w - + Master:e->Coaches:w - + ScoringShootout:e->Master:w - + ScoringShootout:e->Teams:w - + TeamsHalf:e->Teams:w - + SeriesPost:e->Teams:w - + SeriesPost:e->Teams:w - + ScoringSC:e->Master:w - + ScoringSC:e->Teams:w - + GoaliesShootout:e->Master:w - + GoaliesShootout:e->Teams:w - + Coaches:e->Teams:w - + TeamVsTeam:e->Teams:w - + TeamVsTeam:e->Teams:w - + TeamSplits:e->Teams:w - + TeamsPost:e->Teams:w - + TeamsSC:e->Teams:w - + ScoringSup:e->Master:w - + GoaliesSC:e->Master:w - + GoaliesSC:e->Teams:w - + AwardsCoaches:e->Coaches:w - + AwardsPlayers:e->Master:w - + Scoring:e->Master:w - + Scoring:e->Teams:w - + Goalies - -Goalies - -4K rows - -__PK__ - -PK - -FK_Master_playerID - -FK - -FK_Teams_year_tmID - -FK - -year - -TIME - -stint - -int - -playerID - -str - -tmID - -str - -lgID - -str - -GP - -str - -Min - -str - -W - -str - -L - -str - -T/OL - -str - -ENG - -str - -SHO - -str - -GA - -str - -SA - -str - -PostGP - -str - -PostMin - -str - -PostW - -str - -PostL - -str - -PostT - -str - -PostENG - -str - -PostSHO - -str - -PostGA - -str - -PostSA - -str + +Goalies + +4K rows + +__PK__ + +PK + +FK_Master_playerID + +FK + +FK_Teams_year_tmID + +FK + +year + +TIME + +stint + +int + +playerID + +str + +tmID + +str + +lgID + +str + +GP + +str + +Min + +str + +W + +str + +L + +str + +T/OL + +str + +ENG + +str + +SHO + +str + +GA + +str + +SA + +str + +PostGP + +str + +PostMin + +str + +PostW + +str + +PostL + +str + +PostT + +str + +PostENG + +str + +PostSHO + +str + +PostGA + +str + +PostSA + +str Master - -Master - -8K rows - -__PK__ - -PK - -FK_Coaches_coachID - -FK - -playerID - -str - -coachID - -str - -hofID - -str - -firstName - -str - -lastName - -str - -nameNote - -str - -nameGiven - -str - -nameNick - -str - -height - -str - -weight - -str - -shootCatch - -str - -legendsID - -str - -ihdbID - -str - -hrefID - -str - -firstNHL - -str - -lastNHL - -str - -firstWHA - -str - -lastWHA - -str - -pos - -str - -birthYear - -str - -birthMon - -str - -birthDay - -str - -birthCountry - -str - -birthState - -str - -birthCity - -str - -deathYear - -str - -deathMon - -str - -deathDay - -str - -deathCountry - -str - -deathState - -str - -deathCity - -str + +Master + +8K rows + +__PK__ + +PK + +FK_Coaches_coachID + +FK + +playerID + +str + +coachID + +str + +hofID + +str + +firstName + +str + +lastName + +str + +nameNote + +str + +nameGiven + +str + +nameNick + +str + +height + +str + +weight + +str + +shootCatch + +str + +legendsID + +str + +ihdbID + +str + +hrefID + +str + +firstNHL + +str + +lastNHL + +str + +firstWHA + +str + +lastWHA + +str + +pos + +str + +birthYear + +str + +birthMon + +str + +birthDay + +str + +birthCountry + +str + +birthState + +str + +birthCity + +str + +deathYear + +str + +deathMon + +str + +deathDay + +str + +deathCountry + +str + +deathState + +str + +deathCity + +str Teams - -Teams - -2K rows - -__PK__ - -PK - -year - -TIME - -rank - -int - -G - -int - -W - -int - -L - -int - -T - -int - -Pts - -int - -GF - -int - -GA - -int - -lgID - -str - -tmID - -str - -franchID - -str - -confID - -str - -divID - -str - -playoff - -str - -OTL - -str - -SoW - -str - -SoL - -str - -name - -str - -PIM - -str - -BenchMinor - -str - -PPG - -str - -PPC - -str - -SHA - -str - -PKG - -str - -PKC - -str - -SHF - -str + +Teams + +2K rows + +__PK__ + +PK + +year + +TIME + +rank + +int + +G + +int + +W + +int + +L + +int + +T + +int + +Pts + +int + +GF + +int + +GA + +int + +lgID + +str + +tmID + +str + +franchID + +str + +confID + +str + +divID + +str + +playoff + +str + +OTL + +str + +SoW + +str + +SoL + +str + +name + +str + +PIM + +str + +BenchMinor + +str + +PPG + +str + +PPC + +str + +SHA + +str + +PKG + +str + +PKC + +str + +SHF + +str CombinedShutouts - -CombinedShutouts - -54 rows - -__PK__ - -PK - -FK_Master_IDgoalie1 - -FK - -FK_Master_IDgoalie2 - -FK - -date - -TIME - -tmID - -str - -oppID - -str - -R/P - -str - -IDgoalie1 - -str - -IDgoalie2 - -str + +CombinedShutouts + +54 rows + +__PK__ + +PK + +FK_Master_IDgoalie1 + +FK + +FK_Master_IDgoalie2 + +FK + +date + +TIME + +tmID + +str + +oppID + +str + +R/P + +str + +IDgoalie1 + +str + +IDgoalie2 + +str Coaches - -Coaches - -2K rows - -__PK__ - -PK - -FK_Teams_year_tmID - -FK - -year - -TIME - -stint - -int - -g - -int - -w - -int - -l - -int - -t - -int - -coachID - -str - -tmID - -str - -lgID - -str - -notes - -str - -postg - -str - -postw - -str - -postl - -str - -postt - -str + +Coaches + +2K rows + +__PK__ + +PK + +FK_Teams_year_tmID + +FK + +year + +TIME + +stint + +int + +g + +int + +w + +int + +l + +int + +t + +int + +coachID + +str + +tmID + +str + +lgID + +str + +notes + +str + +postg + +str + +postw + +str + +postl + +str + +postt + +str ScoringShootout - -ScoringShootout - -2K rows - -__PK__ - -PK - -FK_Master_playerID - -FK - -FK_Teams_year_tmID - -FK - -year - -TIME - -stint - -int - -S - -int - -G - -int - -GDG - -int - -playerID - -str - -tmID - -str + +ScoringShootout + +2K rows + +__PK__ + +PK + +FK_Master_playerID + +FK + +FK_Teams_year_tmID + +FK + +year + +TIME + +stint + +int + +S + +int + +G + +int + +GDG + +int + +playerID + +str + +tmID + +str TeamsHalf - -TeamsHalf - -41 rows - -__PK__ - -PK - -FK_Teams_tmID_year - -FK - -year - -TIME - -half - -int - -rank - -int - -G - -int - -W - -int - -L - -int - -T - -int - -GF - -int - -GA - -int - -lgID - -str - -tmID - -str + +TeamsHalf + +41 rows + +__PK__ + +PK + +FK_Teams_tmID_year + +FK + +year + +TIME + +half + +int + +rank + +int + +G + +int + +W + +int + +L + +int + +T + +int + +GF + +int + +GA + +int + +lgID + +str + +tmID + +str SeriesPost - -SeriesPost - -832 rows - -__PK__ - -PK - -FK_Teams_year_tmIDWinner - -FK - -FK_Teams_year_tmIDLoser - -FK - -year - -TIME - -W - -int - -L - -int - -T - -int - -GoalsWinner - -int - -GoalsLoser - -int - -round - -str - -series - -str - -tmIDWinner - -str - -lgIDWinner - -str - -tmIDLoser - -str - -lgIDLoser - -str - -note - -str + +SeriesPost + +832 rows + +__PK__ + +PK + +FK_Teams_year_tmIDWinner + +FK + +FK_Teams_year_tmIDLoser + +FK + +year + +TIME + +W + +int + +L + +int + +T + +int + +GoalsWinner + +int + +GoalsLoser + +int + +round + +str + +series + +str + +tmIDWinner + +str + +lgIDWinner + +str + +tmIDLoser + +str + +lgIDLoser + +str + +note + +str ScoringSC - -ScoringSC - -284 rows - -__PK__ - -PK - -FK_Master_playerID - -FK - -FK_Teams_year_tmID - -FK - -year - -TIME - -GP - -int - -G - -int - -A - -int - -Pts - -int - -PIM - -int - -playerID - -str - -tmID - -str - -lgID - -str - -pos - -str + +ScoringSC + +284 rows + +__PK__ + +PK + +FK_Master_playerID + +FK + +FK_Teams_year_tmID + +FK + +year + +TIME + +GP + +int + +G + +int + +A + +int + +Pts + +int + +PIM + +int + +playerID + +str + +tmID + +str + +lgID + +str + +pos + +str GoaliesShootout - -GoaliesShootout - -480 rows - -__PK__ - -PK - -FK_Master_playerID - -FK - -FK_Teams_year_tmID - -FK - -year - -TIME - -stint - -int - -W - -int - -L - -int - -SA - -int - -GA - -int - -playerID - -str - -tmID - -str + +GoaliesShootout + +480 rows + +__PK__ + +PK + +FK_Master_playerID + +FK + +FK_Teams_year_tmID + +FK + +year + +TIME + +stint + +int + +W + +int + +L + +int + +SA + +int + +GA + +int + +playerID + +str + +tmID + +str TeamVsTeam - -TeamVsTeam - -26K rows - -__PK__ - -PK - -FK_Teams_year_tmID - -FK - -FK_Teams_oppID_year - -FK - -year - -TIME - -W - -int - -L - -int - -T - -int - -lgID - -str - -tmID - -str - -oppID - -str - -OTL - -str + +TeamVsTeam + +26K rows + +__PK__ + +PK + +FK_Teams_year_tmID + +FK + +FK_Teams_oppID_year + +FK + +year + +TIME + +W + +int + +L + +int + +T + +int + +lgID + +str + +tmID + +str + +oppID + +str + +OTL + +str TeamSplits - -TeamSplits - -2K rows - -__PK__ - -PK - -FK_Teams_year_tmID - -FK - -year - -TIME - -hW - -int - -hL - -int - -hT - -int - -rW - -int - -rL - -int - -rT - -int - -JanW - -int - -JanL - -int - -JanT - -int - -FebW - -int - -FebL - -int - -FebT - -int - -lgID - -str - -tmID - -str - -hOTL - -str - -rOTL - -str - -SepW - -str - -SepL - -str - -SepT - -str - -SepOL - -str - -OctW - -str - -OctL - -str - -OctT - -str - -OctOL - -str - -NovW - -str - -NovL - -str - -NovT - -str - -NovOL - -str - -DecW - -str - -DecL - -str - -DecT - -str - -DecOL - -str - -JanOL - -str - -FebOL - -str - -MarW - -str - -MarL - -str - -MarT - -str - -MarOL - -str - -AprW - -str - -AprL - -str - -AprT - -str - -AprOL - -str + +TeamSplits + +2K rows + +__PK__ + +PK + +FK_Teams_year_tmID + +FK + +year + +TIME + +hW + +int + +hL + +int + +hT + +int + +rW + +int + +rL + +int + +rT + +int + +JanW + +int + +JanL + +int + +JanT + +int + +FebW + +int + +FebL + +int + +FebT + +int + +lgID + +str + +tmID + +str + +hOTL + +str + +rOTL + +str + +SepW + +str + +SepL + +str + +SepT + +str + +SepOL + +str + +OctW + +str + +OctL + +str + +OctT + +str + +OctOL + +str + +NovW + +str + +NovL + +str + +NovT + +str + +NovOL + +str + +DecW + +str + +DecL + +str + +DecT + +str + +DecOL + +str + +JanOL + +str + +FebOL + +str + +MarW + +str + +MarL + +str + +MarT + +str + +MarOL + +str + +AprW + +str + +AprL + +str + +AprT + +str + +AprOL + +str TeamsPost - -TeamsPost - -927 rows - -__PK__ - -PK - -FK_Teams_year_tmID - -FK - -year - -TIME - -G - -int - -W - -int - -L - -int - -T - -int - -GF - -int - -GA - -int - -lgID - -str - -tmID - -str - -PIM - -str - -BenchMinor - -str - -PPG - -str - -PPC - -str - -SHA - -str - -PKG - -str - -PKC - -str - -SHF - -str + +TeamsPost + +927 rows + +__PK__ + +PK + +FK_Teams_year_tmID + +FK + +year + +TIME + +G + +int + +W + +int + +L + +int + +T + +int + +GF + +int + +GA + +int + +lgID + +str + +tmID + +str + +PIM + +str + +BenchMinor + +str + +PPG + +str + +PPC + +str + +SHA + +str + +PKG + +str + +PKC + +str + +SHF + +str TeamsSC - -TeamsSC - -30 rows - -__PK__ - -PK - -FK_Teams_year_tmID - -FK - -year - -TIME - -G - -int - -W - -int - -L - -int - -T - -int - -GF - -int - -GA - -int - -lgID - -str - -tmID - -str - -PIM - -str + +TeamsSC + +30 rows + +__PK__ + +PK + +FK_Teams_year_tmID + +FK + +year + +TIME + +G + +int + +W + +int + +L + +int + +T + +int + +GF + +int + +GA + +int + +lgID + +str + +tmID + +str + +PIM + +str ScoringSup - -ScoringSup - -137 rows - -__PK__ - -PK - -FK_Master_playerID - -FK - -year - -TIME - -playerID - -str - -PPA - -str - -SHA - -str + +ScoringSup + +137 rows + +__PK__ + +PK + +FK_Master_playerID + +FK + +year + +TIME + +playerID + +str + +PPA + +str + +SHA + +str GoaliesSC - -GoaliesSC - -31 rows - -__PK__ - -PK - -FK_Master_playerID - -FK - -FK_Teams_year_tmID - -FK - -year - -TIME - -GP - -int - -Min - -int - -W - -int - -L - -int - -T - -int - -SHO - -int - -GA - -int - -playerID - -str - -tmID - -str - -lgID - -str + +GoaliesSC + +31 rows + +__PK__ + +PK + +FK_Master_playerID + +FK + +FK_Teams_year_tmID + +FK + +year + +TIME + +GP + +int + +Min + +int + +W + +int + +L + +int + +T + +int + +SHO + +int + +GA + +int + +playerID + +str + +tmID + +str + +lgID + +str AwardsCoaches - -AwardsCoaches - -77 rows - -__PK__ - -PK - -FK_Coaches_coachID - -FK - -year - -TIME - -coachID - -str - -award - -str - -lgID - -str - -note - -str + +AwardsCoaches + +77 rows + +__PK__ + +PK + +FK_Coaches_coachID + +FK + +year + +TIME + +coachID + +str + +award + +str + +lgID + +str + +note + +str AwardsPlayers - -AwardsPlayers - -2K rows - -__PK__ - -PK - -FK_Master_playerID - -FK - -year - -TIME - -playerID - -str - -award - -str - -lgID - -str - -note - -str - -pos - -str + +AwardsPlayers + +2K rows + +__PK__ + +PK + +FK_Master_playerID + +FK + +year + +TIME + +playerID + +str + +award + +str + +lgID + +str + +note + +str + +pos + +str Scoring - -Scoring - -46K rows - -__PK__ - -PK - -FK_Master_playerID - -FK - -FK_Teams_year_tmID - -FK - -year - -TIME - -stint - -int - -GP - -int - -G - -int - -A - -int - -Pts - -int - -PIM - -int - -playerID - -str - -tmID - -str - -lgID - -str - -pos - -str - -+/- - -str - -PPG - -str - -PPA - -str - -SHG - -str - -SHA - -str - -GWG - -str - -GTG - -str - -SOG - -str - -PostGP - -str - -PostG - -str - -PostA - -str - -PostPts - -str - -PostPIM - -str - -Post+/- - -str - -PostPPG - -str - -PostPPA - -str - -PostSHG - -str - -PostSHA - -str - -PostGWG - -str - -PostSOG - -str + +Scoring + +46K rows + +__PK__ + +PK + +FK_Master_playerID + +FK + +FK_Teams_year_tmID + +FK + +year + +TIME + +stint + +int + +GP + +int + +G + +int + +A + +int + +Pts + +int + +PIM + +int + +playerID + +str + +tmID + +str + +lgID + +str + +pos + +str + ++/- + +str + +PPG + +str + +PPA + +str + +SHG + +str + +SHA + +str + +GWG + +str + +GTG + +str + +SOG + +str + +PostGP + +str + +PostG + +str + +PostA + +str + +PostPts + +str + +PostPIM + +str + +Post+/- + +str + +PostPPG + +str + +PostPPA + +str + +PostSHG + +str + +PostSHA + +str + +PostGWG + +str + +PostSOG + +str diff --git a/ctu-imdb/README.md b/ctu-imdb/README.md index b194951350c00f236d391d8b76a23e54f9231a11..ecc2fa68200376c6383d3d01270ebcb51d8f2b5b 100644 --- a/ctu-imdb/README.md +++ b/ctu-imdb/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-imdb ---- - # ctu-imdb The IMDb database: moderately large, real database of movies. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The IMDb database: moderately large, real database of movies. Sourced from the C ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `1998-01-01 00:00:00`, test `2002-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `1998-01-01 00:00:00`, test `2002-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-imdb") -task = relbench.load_task("ctu-imdb", "") +ds = relbench.load_dataset("relbench/redelex/ctu-imdb") +task = relbench.load_task("relbench/redelex/ctu-imdb", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-imdb/schema.svg b/ctu-imdb/schema.svg index 861dd51bf80e073b2a21e430a5690bf56a40b029..1cfc32dec1d2a599286dae160beb58891c1cc937 100644 --- a/ctu-imdb/schema.svg +++ b/ctu-imdb/schema.svg @@ -1,208 +1,208 @@ - - + + schema roles:e->movies:w - + roles:e->actors:w - + movies_genres:e->movies:w - + movies_directors:e->directors:w - + movies_directors:e->movies:w - + directors_genres:e->directors:w - + roles - -roles - -3M rows - -__PK__ - -PK - -FK_actors_actor_id - -FK - -FK_movies_movie_id - -FK - -actor_id - -int - -movie_id - -int - -role - -str + +roles + +3M rows + +__PK__ + +PK + +FK_actors_actor_id + +FK + +FK_movies_movie_id + +FK + +actor_id + +int + +movie_id + +int + +role + +str movies - -movies - -388K rows - -__PK__ - -PK - -year - -TIME - -rank - -float - -name - -str + +movies + +388K rows + +__PK__ + +PK + +year + +TIME + +rank + +float + +name + +str actors - -actors - -818K rows - -__PK__ - -PK - -first_name - -str - -last_name - -str - -gender - -str + +actors + +818K rows + +__PK__ + +PK + +first_name + +str + +last_name + +str + +gender + +str movies_genres - -movies_genres - -395K rows - -__PK__ - -PK - -FK_movies_movie_id - -FK - -movie_id - -int - -genre - -str + +movies_genres + +395K rows + +__PK__ + +PK + +FK_movies_movie_id + +FK + +movie_id + +int + +genre + +str movies_directors - -movies_directors - -371K rows - -__PK__ - -PK - -FK_directors_director_id - -FK - -FK_movies_movie_id - -FK - -director_id - -int - -movie_id - -int + +movies_directors + +371K rows + +__PK__ + +PK + +FK_directors_director_id + +FK + +FK_movies_movie_id + +FK + +director_id + +int + +movie_id + +int directors - -directors - -87K rows - -__PK__ - -PK - -first_name - -str - -last_name - -str + +directors + +87K rows + +__PK__ + +PK + +first_name + +str + +last_name + +str directors_genres - -directors_genres - -157K rows - -__PK__ - -PK - -FK_directors_director_id - -FK - -prob - -float - -director_id - -int - -genre - -str + +directors_genres + +157K rows + +__PK__ + +PK + +FK_directors_director_id + +FK + +prob + +float + +director_id + +int + +genre + +str diff --git a/ctu-lahman/README.md b/ctu-lahman/README.md index 1047569ffdfac4d826cb0eeac7fec14e416e6977..1db152cf861a92b7c253cd20f4c4a12e095c4181 100644 --- a/ctu-lahman/README.md +++ b/ctu-lahman/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-lahman ---- - # ctu-lahman Lahman's baseball database contains complete batting and pitching statistics from 1871 to 2014, plus fielding statistics, standings, team stats, managerial records, post-season data, and more. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Lahman's baseball database contains complete batting and pitching statistics fro ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2010-01-01 00:00:00`, test `2012-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2010-01-01 00:00:00`, test `2012-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-lahman") -task = relbench.load_task("ctu-lahman", "") +ds = relbench.load_dataset("relbench/redelex/ctu-lahman") +task = relbench.load_task("relbench/redelex/ctu-lahman", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-lahman/schema.svg b/ctu-lahman/schema.svg index 27a3396cc095ba1a9e33c9bead4011317e3f979c..f07459f18c5fd20522ec046a90d9ea2a5cb33552 100644 --- a/ctu-lahman/schema.svg +++ b/ctu-lahman/schema.svg @@ -1,1952 +1,1952 @@ - - + + schema seriespost:e->teams:w - + seriespost:e->teams:w - + batting:e->players:w - + batting:e->teams:w - + fieldingpost:e->players:w - + fieldingpost:e->teams:w - + managers:e->teams:w - + fielding:e->players:w - + fielding:e->teams:w - + players:e->halloffame:w - + els_teamnames:e->teamsfranchises:w - + els_teamnames:e->teams:w - + awardsmanagers:e->managers:w - + pitching:e->players:w - + pitching:e->teams:w - + teamshalf:e->teams:w - + appearances:e->players:w - + awardsshareplayers:e->players:w - + pitchingpost:e->players:w - + pitchingpost:e->teams:w - + salaries:e->teams:w - + managershalf:e->managers:w - + managershalf:e->teams:w - + awardssharemanagers:e->managers:w - + awardsplayers:e->players:w - + fieldingof:e->players:w - + allstarfull:e->teams:w - + schoolsplayers:e->players:w - + schoolsplayers:e->schools:w - + battingpost:e->players:w - + battingpost:e->teams:w - + seriespost - -seriespost - -272 rows - -__PK__ - -PK - -FK_teams_teamIDwinner - -FK - -FK_teams_teamIDloser - -FK - -yearID - -TIME - -wins - -int - -losses - -int - -ties - -int - -round - -str - -teamIDwinner - -str - -lgIDwinner - -str - -teamIDloser - -str - -lgIDloser - -str + +seriespost + +272 rows + +__PK__ + +PK + +FK_teams_teamIDwinner + +FK + +FK_teams_teamIDloser + +FK + +yearID + +TIME + +wins + +int + +losses + +int + +ties + +int + +round + +str + +teamIDwinner + +str + +lgIDwinner + +str + +teamIDloser + +str + +lgIDloser + +str teams - -teams - -3K rows - -__PK__ - -PK - -yearID - -TIME - -Rank - -int - -G - -int - -Ghome - -int - -W - -int - -L - -int - -R - -int - -AB - -int - -H - -int - -2B - -int - -3B - -int - -HR - -int - -BB - -int - -SO - -int - -SB - -int - -CS - -int - -HBP - -int - -SF - -int - -RA - -int - -ER - -int - -ERA - -int - -CG - -int - -SHO - -int - -SV - -int - -IPouts - -int - -HA - -int - -HRA - -int - -BBA - -int - -SOA - -int - -E - -int - -DP - -int - -FP - -int - -attendance - -int - -BPF - -int - -PPF - -int - -lgID - -str - -teamID - -str - -franchID - -str - -divID - -str - -DivWin - -str - -WCWin - -str - -LgWin - -str - -WSWin - -str - -name - -str - -park - -str - -teamIDBR - -str - -teamIDlahman45 - -str - -teamIDretro - -str + +teams + +3K rows + +__PK__ + +PK + +yearID + +TIME + +Rank + +int + +G + +int + +Ghome + +int + +W + +int + +L + +int + +R + +int + +AB + +int + +H + +int + +2B + +int + +3B + +int + +HR + +int + +BB + +int + +SO + +int + +SB + +int + +CS + +int + +HBP + +int + +SF + +int + +RA + +int + +ER + +int + +ERA + +int + +CG + +int + +SHO + +int + +SV + +int + +IPouts + +int + +HA + +int + +HRA + +int + +BBA + +int + +SOA + +int + +E + +int + +DP + +int + +FP + +int + +attendance + +int + +BPF + +int + +PPF + +int + +lgID + +str + +teamID + +str + +franchID + +str + +divID + +str + +DivWin + +str + +WCWin + +str + +LgWin + +str + +WSWin + +str + +name + +str + +park + +str + +teamIDBR + +str + +teamIDlahman45 + +str + +teamIDretro + +str batting - -batting - -92K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -FK_players_playerID - -FK - -yearID - -TIME - -stint - -int - -G - -int - -G_batting - -int - -AB - -int - -R - -int - -H - -int - -2B - -int - -3B - -int - -HR - -int - -RBI - -int - -SB - -int - -CS - -int - -BB - -int - -SO - -int - -IBB - -int - -HBP - -int - -SH - -int - -SF - -int - -GIDP - -int - -G_old - -int - -playerID - -str - -teamID - -str - -lgID - -str + +batting + +92K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +FK_players_playerID + +FK + +yearID + +TIME + +stint + +int + +G + +int + +G_batting + +int + +AB + +int + +R + +int + +H + +int + +2B + +int + +3B + +int + +HR + +int + +RBI + +int + +SB + +int + +CS + +int + +BB + +int + +SO + +int + +IBB + +int + +HBP + +int + +SH + +int + +SF + +int + +GIDP + +int + +G_old + +int + +playerID + +str + +teamID + +str + +lgID + +str players - -players - -16K rows - -__PK__ - -PK - -FK_halloffame_hofID - -FK - -birthYear - -int - -birthMonth - -int - -birthDay - -int - -deathYear - -int - -deathMonth - -int - -deathDay - -int - -weight - -int - -height - -int - -playerID - -str - -managerID - -str - -hofID - -str - -birthCountry - -str - -birthState - -str - -birthCity - -str - -deathCountry - -str - -deathState - -str - -deathCity - -str - -nameFirst - -str - -nameLast - -str - -nameNote - -str - -nameGiven - -str - -nameNick - -str - -bats - -str - -throws - -str - -debut - -str - -finalGame - -str - -college - -str - -lahman40ID - -str - -lahman45ID - -str - -retroID - -str - -holtzID - -str - -bbrefID - -str + +players + +16K rows + +__PK__ + +PK + +FK_halloffame_hofID + +FK + +birthYear + +int + +birthMonth + +int + +birthDay + +int + +deathYear + +int + +deathMonth + +int + +deathDay + +int + +weight + +int + +height + +int + +playerID + +str + +managerID + +str + +hofID + +str + +birthCountry + +str + +birthState + +str + +birthCity + +str + +deathCountry + +str + +deathState + +str + +deathCity + +str + +nameFirst + +str + +nameLast + +str + +nameNote + +str + +nameGiven + +str + +nameNick + +str + +bats + +str + +throws + +str + +debut + +str + +finalGame + +str + +college + +str + +lahman40ID + +str + +lahman45ID + +str + +retroID + +str + +holtzID + +str + +bbrefID + +str fieldingpost - -fieldingpost - -10K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -FK_players_playerID - -FK - -yearID - -TIME - -G - -int - -GS - -int - -InnOuts - -int - -PO - -int - -A - -int - -E - -int - -DP - -int - -TP - -int - -PB - -int - -SB - -int - -CS - -int - -playerID - -str - -teamID - -str - -lgID - -str - -round - -str - -POS - -str + +fieldingpost + +10K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +FK_players_playerID + +FK + +yearID + +TIME + +G + +int + +GS + +int + +InnOuts + +int + +PO + +int + +A + +int + +E + +int + +DP + +int + +TP + +int + +PB + +int + +SB + +int + +CS + +int + +playerID + +str + +teamID + +str + +lgID + +str + +round + +str + +POS + +str managers - -managers - -3K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -yearID - -TIME - -inseason - -int - -G - -int - -W - -int - -L - -int - -rank - -int - -managerID - -str - -teamID - -str - -lgID - -str - -plyrMgr - -str + +managers + +3K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +yearID + +TIME + +inseason + +int + +G + +int + +W + +int + +L + +int + +rank + +int + +managerID + +str + +teamID + +str + +lgID + +str + +plyrMgr + +str fielding - -fielding - -138K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -FK_players_playerID - -FK - -yearID - -TIME - -stint - -int - -G - -int - -GS - -int - -InnOuts - -int - -PO - -int - -A - -int - -E - -int - -DP - -int - -PB - -int - -WP - -int - -SB - -int - -CS - -int - -ZR - -int - -playerID - -str - -teamID - -str - -lgID - -str - -POS - -str + +fielding + +138K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +FK_players_playerID + +FK + +yearID + +TIME + +stint + +int + +G + +int + +GS + +int + +InnOuts + +int + +PO + +int + +A + +int + +E + +int + +DP + +int + +PB + +int + +WP + +int + +SB + +int + +CS + +int + +ZR + +int + +playerID + +str + +teamID + +str + +lgID + +str + +POS + +str halloffame - -halloffame - -4K rows - -__PK__ - -PK - -yearID - -TIME - -ballots - -int - -needed - -int - -votes - -int - -hofID - -str - -votedBy - -str - -inducted - -str - -category - -str + +halloffame + +4K rows + +__PK__ + +PK + +yearID + +TIME + +ballots + +int + +needed + +int + +votes + +int + +hofID + +str + +votedBy + +str + +inducted + +str + +category + +str els_teamnames - -els_teamnames - -314 rows - -__PK__ - -PK - -FK_teams_teamid - -FK - -FK_teamsfranchises_franchid - -FK - -id - -int - -lgid - -str - -teamid - -str - -franchid - -str - -name - -str - -park - -str + +els_teamnames + +314 rows + +__PK__ + +PK + +FK_teams_teamid + +FK + +FK_teamsfranchises_franchid + +FK + +id + +int + +lgid + +str + +teamid + +str + +franchid + +str + +name + +str + +park + +str teamsfranchises - -teamsfranchises - -120 rows - -__PK__ - -PK - -franchName - -str - -active - -str - -NAassoc - -str + +teamsfranchises + +120 rows + +__PK__ + +PK + +franchName + +str + +active + +str + +NAassoc + +str awardsmanagers - -awardsmanagers - -156 rows - -__PK__ - -PK - -FK_managers_managerID - -FK - -yearID - -TIME - -managerID - -str - -awardID - -str - -lgID - -str - -tie - -str - -notes - -str + +awardsmanagers + +156 rows + +__PK__ + +PK + +FK_managers_managerID + +FK + +yearID + +TIME + +managerID + +str + +awardID + +str + +lgID + +str + +tie + +str + +notes + +str pitching - -pitching - -39K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -FK_players_playerID - -FK - -yearID - -TIME - -stint - -int - -W - -int - -L - -int - -G - -int - -GS - -int - -CG - -int - -SHO - -int - -SV - -int - -IPouts - -int - -H - -int - -ER - -int - -HR - -int - -BB - -int - -SO - -int - -BAOpp - -int - -ERA - -int - -IBB - -int - -WP - -int - -HBP - -int - -BK - -int - -BFP - -int - -GF - -int - -R - -int - -SH - -int - -SF - -int - -GIDP - -int - -playerID - -str - -teamID - -str - -lgID - -str + +pitching + +39K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +FK_players_playerID + +FK + +yearID + +TIME + +stint + +int + +W + +int + +L + +int + +G + +int + +GS + +int + +CG + +int + +SHO + +int + +SV + +int + +IPouts + +int + +H + +int + +ER + +int + +HR + +int + +BB + +int + +SO + +int + +BAOpp + +int + +ERA + +int + +IBB + +int + +WP + +int + +HBP + +int + +BK + +int + +BFP + +int + +GF + +int + +R + +int + +SH + +int + +SF + +int + +GIDP + +int + +playerID + +str + +teamID + +str + +lgID + +str teamshalf - -teamshalf - -52 rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -yearID - -TIME - -Rank - -int - -G - -int - -W - -int - -L - -int - -lgID - -str - -teamID - -str - -Half - -str - -divID - -str - -DivWin - -str + +teamshalf + +52 rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +yearID + +TIME + +Rank + +int + +G + +int + +W + +int + +L + +int + +lgID + +str + +teamID + +str + +Half + +str + +divID + +str + +DivWin + +str schools - -schools - -749 rows - -__PK__ - -PK - -schoolName - -str - -schoolCity - -str - -schoolState - -str - -schoolNick - -str + +schools + +749 rows + +__PK__ + +PK + +schoolName + +str + +schoolCity + +str + +schoolState + +str + +schoolNick + +str appearances - -appearances - -92K rows - -__PK__ - -PK - -FK_players_playerID - -FK - -yearID - -TIME - -G_all - -int - -G_batting - -int - -G_defense - -int - -G_p - -int - -G_c - -int - -G_1b - -int - -G_2b - -int - -G_3b - -int - -G_ss - -int - -G_lf - -int - -G_cf - -int - -G_rf - -int - -G_of - -int - -G_dh - -int - -G_ph - -int - -G_pr - -int - -teamID - -str - -lgID - -str - -playerID - -str + +appearances + +92K rows + +__PK__ + +PK + +FK_players_playerID + +FK + +yearID + +TIME + +G_all + +int + +G_batting + +int + +G_defense + +int + +G_p + +int + +G_c + +int + +G_1b + +int + +G_2b + +int + +G_3b + +int + +G_ss + +int + +G_lf + +int + +G_cf + +int + +G_rf + +int + +G_of + +int + +G_dh + +int + +G_ph + +int + +G_pr + +int + +teamID + +str + +lgID + +str + +playerID + +str awardsshareplayers - -awardsshareplayers - -6K rows - -__PK__ - -PK - -FK_players_playerID - -FK - -yearID - -TIME - -pointsWon - -int - -pointsMax - -int - -votesFirst - -int - -awardID - -str - -lgID - -str - -playerID - -str + +awardsshareplayers + +6K rows + +__PK__ + +PK + +FK_players_playerID + +FK + +yearID + +TIME + +pointsWon + +int + +pointsMax + +int + +votesFirst + +int + +awardID + +str + +lgID + +str + +playerID + +str pitchingpost - -pitchingpost - -4K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -FK_players_playerID - -FK - -yearID - -TIME - -W - -int - -L - -int - -G - -int - -GS - -int - -CG - -int - -SHO - -int - -SV - -int - -IPouts - -int - -H - -int - -ER - -int - -HR - -int - -BB - -int - -SO - -int - -BAOpp - -int - -ERA - -int - -IBB - -int - -WP - -int - -HBP - -int - -BK - -int - -BFP - -int - -GF - -int - -R - -int - -SH - -int - -SF - -int - -GIDP - -int - -playerID - -str - -round - -str - -teamID - -str - -lgID - -str + +pitchingpost + +4K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +FK_players_playerID + +FK + +yearID + +TIME + +W + +int + +L + +int + +G + +int + +GS + +int + +CG + +int + +SHO + +int + +SV + +int + +IPouts + +int + +H + +int + +ER + +int + +HR + +int + +BB + +int + +SO + +int + +BAOpp + +int + +ERA + +int + +IBB + +int + +WP + +int + +HBP + +int + +BK + +int + +BFP + +int + +GF + +int + +R + +int + +SH + +int + +SF + +int + +GIDP + +int + +playerID + +str + +round + +str + +teamID + +str + +lgID + +str salaries - -salaries - -23K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -yearID - -TIME - -salary - -int - -teamID - -str - -lgID - -str - -playerID - -str + +salaries + +23K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +yearID + +TIME + +salary + +int + +teamID + +str + +lgID + +str + +playerID + +str managershalf - -managershalf - -89 rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -FK_managers_managerID - -FK - -yearID - -TIME - -inseason - -int - -half - -int - -G - -int - -W - -int - -L - -int - -rank - -int - -managerID - -str - -teamID - -str - -lgID - -str + +managershalf + +89 rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +FK_managers_managerID + +FK + +yearID + +TIME + +inseason + +int + +half + +int + +G + +int + +W + +int + +L + +int + +rank + +int + +managerID + +str + +teamID + +str + +lgID + +str awardssharemanagers - -awardssharemanagers - -372 rows - -__PK__ - -PK - -FK_managers_managerID - -FK - -yearID - -TIME - -pointsWon - -int - -pointsMax - -int - -votesFirst - -int - -awardID - -str - -lgID - -str - -managerID - -str + +awardssharemanagers + +372 rows + +__PK__ + +PK + +FK_managers_managerID + +FK + +yearID + +TIME + +pointsWon + +int + +pointsMax + +int + +votesFirst + +int + +awardID + +str + +lgID + +str + +managerID + +str awardsplayers - -awardsplayers - -6K rows - -__PK__ - -PK - -FK_players_playerID - -FK - -yearID - -TIME - -playerID - -str - -awardID - -str - -lgID - -str - -tie - -str - -notes - -str + +awardsplayers + +6K rows + +__PK__ + +PK + +FK_players_playerID + +FK + +yearID + +TIME + +playerID + +str + +awardID + +str + +lgID + +str + +tie + +str + +notes + +str fieldingof - -fieldingof - -12K rows - -__PK__ - -PK - -FK_players_playerID - -FK - -yearID - -TIME - -stint - -int - -Glf - -int - -Gcf - -int - -Grf - -int - -playerID - -str + +fieldingof + +12K rows + +__PK__ + +PK + +FK_players_playerID + +FK + +yearID + +TIME + +stint + +int + +Glf + +int + +Gcf + +int + +Grf + +int + +playerID + +str allstarfull - -allstarfull - -5K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -yearID - -TIME - -gameNum - -int - -GP - -int - -startingPos - -int - -playerID - -str - -gameID - -str - -teamID - -str - -lgID - -str + +allstarfull + +5K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +yearID + +TIME + +gameNum + +int + +GP + +int + +startingPos + +int + +playerID + +str + +gameID + +str + +teamID + +str + +lgID + +str schoolsplayers - -schoolsplayers - -6K rows - -__PK__ - -PK - -FK_schools_schoolID - -FK - -FK_players_playerID - -FK - -yearMin - -int - -yearMax - -int - -playerID - -str - -schoolID - -str + +schoolsplayers + +6K rows + +__PK__ + +PK + +FK_schools_schoolID + +FK + +FK_players_playerID + +FK + +yearMin + +int + +yearMax + +int + +playerID + +str + +schoolID + +str battingpost - -battingpost - -10K rows - -__PK__ - -PK - -FK_teams_teamID - -FK - -FK_players_playerID - -FK - -yearID - -TIME - -G - -int - -AB - -int - -R - -int - -H - -int - -2B - -int - -3B - -int - -HR - -int - -RBI - -int - -SB - -int - -CS - -int - -BB - -int - -SO - -int - -IBB - -int - -HBP - -int - -SH - -int - -SF - -int - -GIDP - -int - -round - -str - -playerID - -str - -teamID - -str - -lgID - -str + +battingpost + +10K rows + +__PK__ + +PK + +FK_teams_teamID + +FK + +FK_players_playerID + +FK + +yearID + +TIME + +G + +int + +AB + +int + +R + +int + +H + +int + +2B + +int + +3B + +int + +HR + +int + +RBI + +int + +SB + +int + +CS + +int + +BB + +int + +SO + +int + +IBB + +int + +HBP + +int + +SH + +int + +SF + +int + +GIDP + +int + +round + +str + +playerID + +str + +teamID + +str + +lgID + +str diff --git a/ctu-legalacts/README.md b/ctu-legalacts/README.md index 2fe832902a4348d6463f63e12b7732fb2782bf24..96fb6ea8d37158d6f837f4fdcd64aee641214604 100644 --- a/ctu-legalacts/README.md +++ b/ctu-legalacts/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-legalacts ---- - # ctu-legalacts Bulgarian court decision metadata. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Bulgarian court decision metadata. Sourced from the CTU Prague Relational Learni ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2012-02-01 00:00:00`, test `2012-05-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2012-02-01 00:00:00`, test `2012-05-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-legalacts") -task = relbench.load_task("ctu-legalacts", "") +ds = relbench.load_dataset("relbench/redelex/ctu-legalacts") +task = relbench.load_task("relbench/redelex/ctu-legalacts", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-legalacts/schema.svg b/ctu-legalacts/schema.svg index 0800112dd9be21675ffe77cb07ce985573ccb232..d627d48881d900b32e95e2d59e85e7f8e38aaeec 100644 --- a/ctu-legalacts/schema.svg +++ b/ctu-legalacts/schema.svg @@ -1,196 +1,196 @@ - - + + schema legalact_link:e->legalacts:w - + legalact_link:e->legalacts:w - + legalact_people:e->legalacts:w - + legalact_people:e->people:w - + legalacts - -legalacts - -580K rows - -__PK__ - -PK - -StartDate - -TIME - -CaseNumber - -int - -ActYear - -int - -ActNumber - -int - -ActLink - -int - -MotiveLink - -int - -OutNumber - -int - -YearHigherCourt - -int - -hash - -str - -Court - -str - -CaseKind - -str - -Judge - -str - -ActKind - -str - -Status - -str - -HighCourt - -str - -TypeOfDocument - -str - -ResultOfAppeal - -str - -update - -datetime - -LegalDate - -datetime - -MotiveDate - -datetime - -SendDate - -datetime + +legalacts + +580K rows + +__PK__ + +PK + +StartDate + +TIME + +CaseNumber + +int + +ActYear + +int + +ActNumber + +int + +ActLink + +int + +MotiveLink + +int + +OutNumber + +int + +YearHigherCourt + +int + +hash + +str + +Court + +str + +CaseKind + +str + +Judge + +str + +ActKind + +str + +Status + +str + +HighCourt + +str + +TypeOfDocument + +str + +ResultOfAppeal + +str + +update + +datetime + +LegalDate + +datetime + +MotiveDate + +datetime + +SendDate + +datetime legalact_link - -legalact_link - -17K rows - -__PK__ - -PK - -FK_legalacts_actId1 - -FK - -FK_legalacts_actId2 - -FK - -actId1 - -int - -actId2 - -int + +legalact_link + +17K rows + +__PK__ + +PK + +FK_legalacts_actId1 + +FK + +FK_legalacts_actId2 + +FK + +actId1 + +int + +actId2 + +int legalact_people - -legalact_people - -1M rows - -__PK__ - -PK - -FK_people_peopleId - -FK - -FK_legalacts_actId - -FK - -peopleId - -int - -actId - -int + +legalact_people + +1M rows + +__PK__ + +PK + +FK_people_peopleId + +FK + +FK_legalacts_actId + +FK + +peopleId + +int + +actId + +int people - -people - -4K rows - -__PK__ - -PK - -jury - -int - -name - -str - -court - -str + +people + +4K rows + +__PK__ + +PK + +jury + +int + +name + +str + +court + +str diff --git a/ctu-mesh/README.md b/ctu-mesh/README.md index a57e733a536005f29546013fb3cb5cccc6f239e4..bf3e1f4b9d6c10b73fdbf192f84fe5361b0931a1 100644 --- a/ctu-mesh/README.md +++ b/ctu-mesh/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-mesh ---- - # ctu-mesh This domain is about finite element methods in engineering where the number of elements in the mesh model can vary between 1 and 17. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ This domain is about finite element methods in engineering where the number of e ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-mesh") -task = relbench.load_task("ctu-mesh", "") +ds = relbench.load_dataset("relbench/redelex/ctu-mesh") +task = relbench.load_task("relbench/redelex/ctu-mesh", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-mesh/schema.svg b/ctu-mesh/schema.svg index 37269f9988504db7a91a1176df9053e43c0da0b2..b4ad49ef8addc701d9cd523fe87a308425802a91 100644 --- a/ctu-mesh/schema.svg +++ b/ctu-mesh/schema.svg @@ -1,764 +1,764 @@ - - + + schema long_for_hole:e->element:w - + free:e->element:w - + sshort:e->element:w - + half_circuit_hole:e->element:w - + mesh:e->element:w - + mesh:e->nnumber:w - + half_circuit:e->element:w - + mesh_test_Neg:e->element:w - + one_side_loaded:e->element:w - + llong:e->element:w - + neighbour_zx:e->element:w - + neighbour_zx:e->element:w - + opposite:e->element:w - + opposite:e->element:w - + neighbour_xy:e->element:w - + neighbour_xy:e->element:w - + two_side_loaded:e->element:w - + circuit_hole:e->element:w - + one_side_fixed:e->element:w - + two_side_fixed:e->element:w - + mesh_test:e->element:w - + notimportant:e->element:w - + neighbour_yz:e->element:w - + neighbour_yz:e->element:w - + circuit:e->element:w - + short_for_hole:e->element:w - + noload:e->element:w - + cont_loaded:e->element:w - + quarter_circuit:e->element:w - + fixed:e->element:w - + equal:e->element:w - + equal:e->element:w - + usual:e->element:w - + long_for_hole - -long_for_hole - -3 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +long_for_hole + +3 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str element - -element - -278 rows - -__PK__ - -PK - -name - -str + +element + +278 rows + +__PK__ + +PK + +name + +str free - -free - -102 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +free + +102 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str sshort - -sshort - -61 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +sshort + +61 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str half_circuit_hole - -half_circuit_hole - -14 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +half_circuit_hole + +14 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str mesh - -mesh - -223 rows - -__PK__ - -PK - -FK_element_name - -FK - -FK_nnumber_num - -FK - -name - -str - -num - -str + +mesh + +223 rows + +__PK__ + +PK + +FK_element_name + +FK + +FK_nnumber_num + +FK + +name + +str + +num + +str nnumber - -nnumber - -13 rows - -__PK__ - -PK - -name - -str + +nnumber + +13 rows + +__PK__ + +PK + +name + +str half_circuit - -half_circuit - -19 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +half_circuit + +19 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str mesh_test_Neg - -mesh_test_Neg - -660 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str - -num - -str + +mesh_test_Neg + +660 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str + +num + +str one_side_loaded - -one_side_loaded - -13 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +one_side_loaded + +13 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str llong - -llong - -7 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +llong + +7 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str neighbour_zx - -neighbour_zx - -155 rows - -__PK__ - -PK - -FK_element_name1 - -FK - -FK_element_name2 - -FK - -name1 - -str - -name2 - -str + +neighbour_zx + +155 rows + +__PK__ + +PK + +FK_element_name1 + +FK + +FK_element_name2 + +FK + +name1 + +str + +name2 + +str opposite - -opposite - -65 rows - -__PK__ - -PK - -FK_element_name1 - -FK - -FK_element_name2 - -FK - -name1 - -str - -name2 - -str + +opposite + +65 rows + +__PK__ + +PK + +FK_element_name1 + +FK + +FK_element_name2 + +FK + +name1 + +str + +name2 + +str neighbour_xy - -neighbour_xy - -165 rows - -__PK__ - -PK - -FK_element_name1 - -FK - -FK_element_name2 - -FK - -name1 - -str - -name2 - -str + +neighbour_xy + +165 rows + +__PK__ + +PK + +FK_element_name1 + +FK + +FK_element_name2 + +FK + +name1 + +str + +name2 + +str two_side_loaded - -two_side_loaded - -1 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +two_side_loaded + +1 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str circuit_hole - -circuit_hole - -4 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +circuit_hole + +4 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str one_side_fixed - -one_side_fixed - -33 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +one_side_fixed + +33 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str two_side_fixed - -two_side_fixed - -31 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +two_side_fixed + +31 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str mesh_test - -mesh_test - -55 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str - -num - -str + +mesh_test + +55 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str + +num + +str notimportant - -notimportant - -34 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +notimportant + +34 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str neighbour_yz - -neighbour_yz - -165 rows - -__PK__ - -PK - -FK_element_name1 - -FK - -FK_element_name2 - -FK - -name1 - -str - -name2 - -str + +neighbour_yz + +165 rows + +__PK__ + +PK + +FK_element_name1 + +FK + +FK_element_name2 + +FK + +name1 + +str + +name2 + +str circuit - -circuit - -38 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +circuit + +38 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str short_for_hole - -short_for_hole - -13 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +short_for_hole + +13 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str noload - -noload - -199 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +noload + +199 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str cont_loaded - -cont_loaded - -64 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +cont_loaded + +64 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str quarter_circuit - -quarter_circuit - -6 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +quarter_circuit + +6 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str fixed - -fixed - -112 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +fixed + +112 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str equal - -equal - -88 rows - -__PK__ - -PK - -FK_element_name1 - -FK - -FK_element_name2 - -FK - -name1 - -str - -name2 - -str + +equal + +88 rows + +__PK__ + +PK + +FK_element_name1 + +FK + +FK_element_name2 + +FK + +name1 + +str + +name2 + +str usual - -usual - -79 rows - -__PK__ - -PK - -FK_element_name - -FK - -name - -str + +usual + +79 rows + +__PK__ + +PK + +FK_element_name + +FK + +name + +str diff --git a/ctu-mondial/README.md b/ctu-mondial/README.md index 367f24b5a9c90cacd1bc8028cfa44b62c7ceab9e..1c88bbfe91cf26c22a80c79f8d5ca6856a52f27a 100644 --- a/ctu-mondial/README.md +++ b/ctu-mondial/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-mondial ---- - # ctu-mondial A geography dataset from University of Göttingen describes 114 Christian countries and 71 non-Christian countries. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ A geography dataset from University of Göttingen describes 114 Christian countr ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-mondial") -task = relbench.load_task("ctu-mondial", "") +ds = relbench.load_dataset("relbench/redelex/ctu-mondial") +task = relbench.load_task("relbench/redelex/ctu-mondial", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-mondial/schema.svg b/ctu-mondial/schema.svg index bfc19c33da733f1d9daf038b30f6142941e6d053..b753708f6edff3bef1c2a52a1cfe15f260c1a2f0 100644 --- a/ctu-mondial/schema.svg +++ b/ctu-mondial/schema.svg @@ -1,1420 +1,1420 @@ - - + + schema islandIn:e->river:w - + islandIn:e->island:w - + islandIn:e->sea:w - + islandIn:e->lake:w - + river:e->lake:w - + mountainOnIsland:e->mountain:w - + mountainOnIsland:e->island:w - + geo_river:e->river:w - + geo_river:e->province:w - + geo_river:e->country:w - + organization:e->province:w - + organization:e->city:w - + organization:e->country:w - + geo_estuary:e->river:w - + geo_estuary:e->province:w - + geo_estuary:e->country:w - + geo_lake:e->province:w - + geo_lake:e->lake:w - + geo_lake:e->country:w - + geo_mountain:e->mountain:w - + geo_mountain:e->province:w - + geo_mountain:e->country:w - + mergesWith:e->sea:w - + mergesWith:e->sea:w - + language:e->country:w - + province:e->country:w - + religion:e->country:w - + ethnicGroup:e->country:w - + borders:e->country:w - + borders:e->country:w - + geo_island:e->island:w - + geo_island:e->province:w - + geo_island:e->country:w - + encompasses:e->continent:w - + encompasses:e->country:w - + locatedOn:e->island:w - + locatedOn:e->province:w - + locatedOn:e->city:w - + locatedOn:e->country:w - + geo_sea:e->sea:w - + geo_sea:e->province:w - + geo_sea:e->country:w - + target:e->country:w - + geo_desert:e->desert:w - + geo_desert:e->province:w - + geo_desert:e->country:w - + geo_source:e->river:w - + geo_source:e->province:w - + geo_source:e->country:w - + population:e->country:w - + city:e->province:w - + city:e->country:w - + politics:e->country:w - + politics:e->country:w - + economy:e->country:w - + located:e->river:w - + located:e->sea:w - + located:e->province:w - + located:e->lake:w - + located:e->city:w - + located:e->country:w - + isMember:e->organization:w - + isMember:e->country:w - + islandIn - -islandIn - -349 rows - -__PK__ - -PK - -FK_lake_Lake - -FK - -FK_river_River - -FK - -FK_sea_Sea - -FK - -FK_island_Island - -FK - -Island - -str - -Sea - -str - -Lake - -str - -River - -str + +islandIn + +349 rows + +__PK__ + +PK + +FK_lake_Lake + +FK + +FK_river_River + +FK + +FK_sea_Sea + +FK + +FK_island_Island + +FK + +Island + +str + +Sea + +str + +Lake + +str + +River + +str river - -river - -218 rows - -__PK__ - -PK - -FK_lake_Lake - -FK - -Length - -float - -SourceLongitude - -float - -SourceLatitude - -float - -SourceAltitude - -float - -EstuaryLongitude - -float - -EstuaryLatitude - -float - -River - -str - -Lake - -str - -Sea - -str - -Mountains - -str + +river + +218 rows + +__PK__ + +PK + +FK_lake_Lake + +FK + +Length + +float + +SourceLongitude + +float + +SourceLatitude + +float + +SourceAltitude + +float + +EstuaryLongitude + +float + +EstuaryLatitude + +float + +River + +str + +Lake + +str + +Sea + +str + +Mountains + +str island - -island - -276 rows - -__PK__ - -PK - -Area - -float - -Height - -float - -Longitude - -float - -Latitude - -float - -Islands - -str - -Type - -str + +island + +276 rows + +__PK__ + +PK + +Area + +float + +Height + +float + +Longitude + +float + +Latitude + +float + +Islands + +str + +Type + +str sea - -sea - -35 rows - -__PK__ - -PK - -Depth - -float + +sea + +35 rows + +__PK__ + +PK + +Depth + +float lake - -lake - -130 rows - -__PK__ - -PK - -Area - -float - -Depth - -float - -Altitude - -float - -Longitude - -float - -Latitude - -float - -Type - -str - -River - -str + +lake + +130 rows + +__PK__ + +PK + +Area + +float + +Depth + +float + +Altitude + +float + +Longitude + +float + +Latitude + +float + +Type + +str + +River + +str mountain - -mountain - -241 rows - -__PK__ - -PK - -Height - -float - -Longitude - -float - -Latitude - -float - -Mountains - -str - -Type - -str + +mountain + +241 rows + +__PK__ + +PK + +Height + +float + +Longitude + +float + +Latitude + +float + +Mountains + +str + +Type + +str mountainOnIsland - -mountainOnIsland - -67 rows - -__PK__ - -PK - -FK_island_Island - -FK - -FK_mountain_Mountain - -FK - -Mountain - -str - -Island - -str + +mountainOnIsland + +67 rows + +__PK__ + +PK + +FK_island_Island + +FK + +FK_mountain_Mountain + +FK + +Mountain + +str + +Island + +str geo_river - -geo_river - -851 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -FK_river_River - -FK - -River - -str - -Country - -str - -Province - -str + +geo_river + +851 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +FK_river_River + +FK + +River + +str + +Country + +str + +Province + +str province - -province - -1K rows - -__PK__ - -PK - -FK_country_Country - -FK - -Area - -float - -Population - -int - -Name - -str - -Country - -str - -Capital - -str - -CapProv - -str + +province + +1K rows + +__PK__ + +PK + +FK_country_Country + +FK + +Area + +float + +Population + +int + +Name + +str + +Country + +str + +Capital + +str + +CapProv + +str country - -country - -238 rows - -__PK__ - -PK - -Area - -float - -Population - -int - -Name - -str - -Capital - -str - -Province - -str + +country + +238 rows + +__PK__ + +PK + +Area + +float + +Population + +int + +Name + +str + +Capital + +str + +Province + +str organization - -organization - -153 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_city_City_Province - -FK - -FK_province_Province_Country - -FK - -Established - -float - -Name - -str - -City - -str - -Country - -str - -Province - -str + +organization + +153 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_city_City_Province + +FK + +FK_province_Province_Country + +FK + +Established + +float + +Name + +str + +City + +str + +Country + +str + +Province + +str city - -city - -3K rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -Longitude - -float - -Latitude - -float - -Population - -int - -Name - -str - -Country - -str - -Province - -str + +city + +3K rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +Longitude + +float + +Latitude + +float + +Population + +int + +Name + +str + +Country + +str + +Province + +str desert - -desert - -63 rows - -__PK__ - -PK - -Area - -float - -Longitude - -float - -Latitude - -float + +desert + +63 rows + +__PK__ + +PK + +Area + +float + +Longitude + +float + +Latitude + +float geo_estuary - -geo_estuary - -265 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -FK_river_River - -FK - -River - -str - -Country - -str - -Province - -str + +geo_estuary + +265 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +FK_river_River + +FK + +River + +str + +Country + +str + +Province + +str geo_lake - -geo_lake - -253 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -FK_lake_Lake - -FK - -Lake - -str - -Country - -str - -Province - -str + +geo_lake + +253 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +FK_lake_Lake + +FK + +Lake + +str + +Country + +str + +Province + +str geo_mountain - -geo_mountain - -295 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -FK_mountain_Mountain - -FK - -Mountain - -str - -Country - -str - -Province - -str + +geo_mountain + +295 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +FK_mountain_Mountain + +FK + +Mountain + +str + +Country + +str + +Province + +str mergesWith - -mergesWith - -54 rows - -__PK__ - -PK - -FK_sea_Sea1 - -FK - -FK_sea_Sea2 - -FK - -Sea1 - -str - -Sea2 - -str + +mergesWith + +54 rows + +__PK__ + +PK + +FK_sea_Sea1 + +FK + +FK_sea_Sea2 + +FK + +Sea1 + +str + +Sea2 + +str language - -language - -144 rows - -__PK__ - -PK - -FK_country_Country - -FK - -Percentage - -float - -Country - -str - -Name - -str + +language + +144 rows + +__PK__ + +PK + +FK_country_Country + +FK + +Percentage + +float + +Country + +str + +Name + +str religion - -religion - -454 rows - -__PK__ - -PK - -FK_country_Country - -FK - -Percentage - -float - -Country - -str - -Name - -str + +religion + +454 rows + +__PK__ + +PK + +FK_country_Country + +FK + +Percentage + +float + +Country + +str + +Name + +str ethnicGroup - -ethnicGroup - -540 rows - -__PK__ - -PK - -FK_country_Country - -FK - -Percentage - -float - -Country - -str - -Name - -str + +ethnicGroup + +540 rows + +__PK__ + +PK + +FK_country_Country + +FK + +Percentage + +float + +Country + +str + +Name + +str borders - -borders - -320 rows - -__PK__ - -PK - -FK_country_Country1 - -FK - -FK_country_Country2 - -FK - -Length - -float - -Country1 - -str - -Country2 - -str + +borders + +320 rows + +__PK__ + +PK + +FK_country_Country1 + +FK + +FK_country_Country2 + +FK + +Length + +float + +Country1 + +str + +Country2 + +str continent - -continent - -5 rows - -__PK__ - -PK - -Area - -float + +continent + +5 rows + +__PK__ + +PK + +Area + +float geo_island - -geo_island - -418 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -FK_island_Island - -FK - -Island - -str - -Country - -str - -Province - -str + +geo_island + +418 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +FK_island_Island + +FK + +Island + +str + +Country + +str + +Province + +str encompasses - -encompasses - -242 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_continent_Continent - -FK - -Percentage - -float - -Country - -str - -Continent - -str + +encompasses + +242 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_continent_Continent + +FK + +Percentage + +float + +Country + +str + +Continent + +str locatedOn - -locatedOn - -434 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_island_Island - -FK - -FK_city_City_Province - -FK - -FK_province_Province_Country - -FK - -City - -str - -Province - -str - -Country - -str - -Island - -str + +locatedOn + +434 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_island_Island + +FK + +FK_city_City_Province + +FK + +FK_province_Province_Country + +FK + +City + +str + +Province + +str + +Country + +str + +Island + +str geo_sea - -geo_sea - -735 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -FK_sea_Sea - -FK - -Sea - -str - -Country - -str - -Province - -str + +geo_sea + +735 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +FK_sea_Sea + +FK + +Sea + +str + +Country + +str + +Province + +str target - -target - -204 rows - -__PK__ - -PK - -FK_country_Country - -FK - -Target - -str + +target + +204 rows + +__PK__ + +PK + +FK_country_Country + +FK + +Target + +str geo_desert - -geo_desert - -154 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -FK_desert_Desert - -FK - -Desert - -str - -Country - -str - -Province - -str + +geo_desert + +154 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +FK_desert_Desert + +FK + +Desert + +str + +Country + +str + +Province + +str geo_source - -geo_source - -219 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_province_Province_Country - -FK - -FK_river_River - -FK - -River - -str - -Country - -str - -Province - -str + +geo_source + +219 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_province_Province_Country + +FK + +FK_river_River + +FK + +River + +str + +Country + +str + +Province + +str population - -population - -238 rows - -__PK__ - -PK - -FK_country_Country - -FK - -Population_Growth - -float - -Infant_Mortality - -float + +population + +238 rows + +__PK__ + +PK + +FK_country_Country + +FK + +Population_Growth + +float + +Infant_Mortality + +float politics - -politics - -238 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_country_Dependent - -FK - -Independence - -float - -Dependent - -str - -Government - -str + +politics + +238 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_country_Dependent + +FK + +Independence + +float + +Dependent + +str + +Government + +str economy - -economy - -238 rows - -__PK__ - -PK - -FK_country_Country - -FK - -GDP - -float - -Agriculture - -float - -Service - -float - -Industry - -float - -Inflation - -float + +economy + +238 rows + +__PK__ + +PK + +FK_country_Country + +FK + +GDP + +float + +Agriculture + +float + +Service + +float + +Industry + +float + +Inflation + +float located - -located - -857 rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_city_City_Province - -FK - -FK_river_River - -FK - -FK_lake_Lake - -FK - -FK_sea_Sea - -FK - -FK_province_Province_Country - -FK - -City - -str - -Province - -str - -Country - -str - -River - -str - -Lake - -str - -Sea - -str + +located + +857 rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_city_City_Province + +FK + +FK_river_River + +FK + +FK_lake_Lake + +FK + +FK_sea_Sea + +FK + +FK_province_Province_Country + +FK + +City + +str + +Province + +str + +Country + +str + +River + +str + +Lake + +str + +Sea + +str isMember - -isMember - -8K rows - -__PK__ - -PK - -FK_country_Country - -FK - -FK_organization_Organization - -FK - -Country - -str - -Organization - -str - -Type - -str + +isMember + +8K rows + +__PK__ + +PK + +FK_country_Country + +FK + +FK_organization_Organization + +FK + +Country + +str + +Organization + +str + +Type + +str diff --git a/ctu-mooney/README.md b/ctu-mooney/README.md index 5d863bf136e34b6f2c5759cef168b2120599653d..8ba2f91b23308a511b354ddbddefd24997abb512 100644 --- a/ctu-mooney/README.md +++ b/ctu-mooney/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-mooney ---- - # ctu-mooney The dataset describes a family composed of 86 people across 5 generations. The family dataset includes 744 positive instances and 1488 randomly generated negative instances. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,16 +6,10 @@ The dataset describes a family composed of 86 people across 5 generations. The f ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Loading ```python import relbench -ds = relbench.load_dataset("ctu-mooney") -task = relbench.load_task("ctu-mooney", "") +ds = relbench.load_dataset("relbench/redelex/ctu-mooney") +task = relbench.load_task("relbench/redelex/ctu-mooney", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-mooney/schema.svg b/ctu-mooney/schema.svg index 131c765e79de41a4d3d53fdaeba7b78c5e3189e4..d863718b591c12b2f5fe2659f8fa27d69f8d547d 100644 --- a/ctu-mooney/schema.svg +++ b/ctu-mooney/schema.svg @@ -1,2432 +1,2432 @@ - - + + schema mother3:e->person:w - + mother3:e->person:w - + uncle1:e->person:w - + uncle1:e->person:w - + wife:e->person:w - + wife:e->person:w - + father1:e->person:w - + father1:e->person:w - + nephew4:e->person:w - + nephew4:e->person:w - + nephew5:e->person:w - + nephew5:e->person:w - + mother4:e->person:w - + mother4:e->person:w - + daughter1:e->person:w - + daughter1:e->person:w - + husband2:e->person:w - + husband2:e->person:w - + sister:e->person:w - + sister:e->person:w - + aunt3:e->person:w - + aunt3:e->person:w - + aunt2:e->person:w - + aunt2:e->person:w - + husband3:e->person:w - + husband3:e->person:w - + niece:e->person:w - + niece:e->person:w - + mother5:e->person:w - + mother5:e->person:w - + sister2:e->person:w - + sister2:e->person:w - + nephew1:e->person:w - + nephew1:e->person:w - + son3:e->person:w - + son3:e->person:w - + sister4:e->person:w - + sister4:e->person:w - + brother:e->person:w - + brother:e->person:w - + son:e->person:w - + son:e->person:w - + husband4:e->person:w - + husband4:e->person:w - + niece4:e->person:w - + niece4:e->person:w - + mother2:e->person:w - + mother2:e->person:w - + daughter5:e->person:w - + daughter5:e->person:w - + husband5:e->person:w - + husband5:e->person:w - + father:e->person:w - + father:e->person:w - + aunt5:e->person:w - + aunt5:e->person:w - + uncle3:e->person:w - + uncle3:e->person:w - + son1:e->person:w - + son1:e->person:w - + son5:e->person:w - + son5:e->person:w - + niece3:e->person:w - + niece3:e->person:w - + aunt1:e->person:w - + aunt1:e->person:w - + brother5:e->person:w - + brother5:e->person:w - + husband1:e->person:w - + husband1:e->person:w - + sister1:e->person:w - + sister1:e->person:w - + mother1:e->person:w - + mother1:e->person:w - + sister5:e->person:w - + sister5:e->person:w - + aunt:e->person:w - + aunt:e->person:w - + daughter:e->person:w - + daughter:e->person:w - + niece2:e->person:w - + niece2:e->person:w - + daughter3:e->person:w - + daughter3:e->person:w - + son2:e->person:w - + son2:e->person:w - + niece5:e->person:w - + niece5:e->person:w - + sister3:e->person:w - + sister3:e->person:w - + uncle4:e->person:w - + uncle4:e->person:w - + daughter2:e->person:w - + daughter2:e->person:w - + son4:e->person:w - + son4:e->person:w - + father4:e->person:w - + father4:e->person:w - + uncle2:e->person:w - + uncle2:e->person:w - + nephew2:e->person:w - + nephew2:e->person:w - + uncle5:e->person:w - + uncle5:e->person:w - + brother3:e->person:w - + brother3:e->person:w - + husband:e->person:w - + husband:e->person:w - + niece1:e->person:w - + niece1:e->person:w - + nephew:e->person:w - + nephew:e->person:w - + brother2:e->person:w - + brother2:e->person:w - + mother:e->person:w - + mother:e->person:w - + aunt4:e->person:w - + aunt4:e->person:w - + brother1:e->person:w - + brother1:e->person:w - + daughter4:e->person:w - + daughter4:e->person:w - + father2:e->person:w - + father2:e->person:w - + father5:e->person:w - + father5:e->person:w - + nephew3:e->person:w - + nephew3:e->person:w - + uncle:e->person:w - + uncle:e->person:w - + father3:e->person:w - + father3:e->person:w - + brother4:e->person:w - + brother4:e->person:w - + mother3 - -mother3 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +mother3 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str person - -person - -86 rows - -__PK__ - -PK - -name - -str + +person + +86 rows + +__PK__ + +PK + +name + +str uncle1 - -uncle1 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +uncle1 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str wife - -wife - -25 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +wife + +25 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str father1 - -father1 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +father1 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str nephew4 - -nephew4 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +nephew4 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str nephew5 - -nephew5 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +nephew5 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str mother4 - -mother4 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +mother4 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str daughter1 - -daughter1 - -54 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +daughter1 + +54 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str husband2 - -husband2 - -25 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband2 + +25 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str sister - -sister - -47 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +sister + +47 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str aunt3 - -aunt3 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +aunt3 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str aunt2 - -aunt2 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +aunt2 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str husband3 - -husband3 - -25 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband3 + +25 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str niece - -niece - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +niece + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str mother5 - -mother5 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +mother5 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str sister2 - -sister2 - -47 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +sister2 + +47 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str nephew1 - -nephew1 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +nephew1 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str son3 - -son3 - -66 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +son3 + +66 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str sister4 - -sister4 - -47 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +sister4 + +47 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str brother - -brother - -59 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +brother + +59 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str son - -son - -66 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +son + +66 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str husband4 - -husband4 - -25 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband4 + +25 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str niece4 - -niece4 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +niece4 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str mother2 - -mother2 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +mother2 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str daughter5 - -daughter5 - -54 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +daughter5 + +54 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str husband5 - -husband5 - -25 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband5 + +25 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str father - -father - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +father + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str aunt5 - -aunt5 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +aunt5 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str uncle3 - -uncle3 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +uncle3 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str son1 - -son1 - -66 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +son1 + +66 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str son5 - -son5 - -66 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +son5 + +66 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str niece3 - -niece3 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +niece3 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str aunt1 - -aunt1 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +aunt1 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str brother5 - -brother5 - -59 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +brother5 + +59 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str husband1 - -husband1 - -25 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband1 + +25 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str sister1 - -sister1 - -47 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +sister1 + +47 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str mother1 - -mother1 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +mother1 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str sister5 - -sister5 - -47 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +sister5 + +47 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str aunt - -aunt - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +aunt + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str daughter - -daughter - -54 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +daughter + +54 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str niece2 - -niece2 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +niece2 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str daughter3 - -daughter3 - -54 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +daughter3 + +54 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str son2 - -son2 - -66 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +son2 + +66 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str niece5 - -niece5 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +niece5 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str sister3 - -sister3 - -47 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +sister3 + +47 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str uncle4 - -uncle4 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +uncle4 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str daughter2 - -daughter2 - -54 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +daughter2 + +54 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str son4 - -son4 - -66 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +son4 + +66 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str father4 - -father4 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +father4 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str uncle2 - -uncle2 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +uncle2 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str nephew2 - -nephew2 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +nephew2 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str uncle5 - -uncle5 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +uncle5 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str brother3 - -brother3 - -59 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +brother3 + +59 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str husband - -husband - -25 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +husband + +25 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str niece1 - -niece1 - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +niece1 + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str nephew - -nephew - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +nephew + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str brother2 - -brother2 - -59 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +brother2 + +59 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str mother - -mother - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +mother + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str aunt4 - -aunt4 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +aunt4 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str brother1 - -brother1 - -59 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +brother1 + +59 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str daughter4 - -daughter4 - -54 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +daughter4 + +54 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str father2 - -father2 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +father2 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str father5 - -father5 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +father5 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str nephew3 - -nephew3 - -82 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +nephew3 + +82 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str uncle - -uncle - -92 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +uncle + +92 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str father3 - -father3 - -60 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +father3 + +60 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str brother4 - -brother4 - -59 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +brother4 + +59 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str diff --git a/ctu-movielens/README.md b/ctu-movielens/README.md index 10eb26ad9ee258bbf825805665acf9bbe1dbfe59..b2252be57aae5a4ef9bc324404a63830f62f076b 100644 --- a/ctu-movielens/README.md +++ b/ctu-movielens/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-movielens ---- - # ctu-movielens MovieLens data set from the UC Irvine machine learning repository. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ MovieLens data set from the UC Irvine machine learning repository. Sourced from ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-movielens") -task = relbench.load_task("ctu-movielens", "") +ds = relbench.load_dataset("relbench/redelex/ctu-movielens") +task = relbench.load_task("relbench/redelex/ctu-movielens", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-movielens/schema.svg b/ctu-movielens/schema.svg index c65cc61bdf9dc6d94c6404396e5134530ebfb3de..caf2c64fbfee4520fed91291be6695f9e7398954 100644 --- a/ctu-movielens/schema.svg +++ b/ctu-movielens/schema.svg @@ -1,216 +1,216 @@ - - + + schema movies2directors:e->movies:w - + movies2directors:e->directors:w - + movies2actors:e->actors:w - + movies2actors:e->movies:w - + u2base:e->users:w - + u2base:e->movies:w - + actors - -actors - -99K rows - -__PK__ - -PK - -a_quality - -int - -a_gender - -dictionary<values=string, indices=int8, ordered=0> + +actors + +99K rows + +__PK__ + +PK + +a_quality + +int + +a_gender + +dictionary<values=string, indices=int8, ordered=0> movies2directors - -movies2directors - -4K rows - -__PK__ - -PK - -FK_directors_directorid - -FK - -FK_movies_movieid - -FK - -movieid - -int - -directorid - -int - -genre - -str + +movies2directors + +4K rows + +__PK__ + +PK + +FK_directors_directorid + +FK + +FK_movies_movieid + +FK + +movieid + +int + +directorid + +int + +genre + +str movies - -movies - -4K rows - -__PK__ - -PK - -year - -int - -runningtime - -int - -country - -str - -isEnglish - -dictionary<values=string, indices=int8, ordered=0> + +movies + +4K rows + +__PK__ + +PK + +year + +int + +runningtime + +int + +country + +str + +isEnglish + +dictionary<values=string, indices=int8, ordered=0> directors - -directors - -2K rows - -__PK__ - -PK - -d_quality - -int - -avg_revenue - -int + +directors + +2K rows + +__PK__ + +PK + +d_quality + +int + +avg_revenue + +int users - -users - -6K rows - -__PK__ - -PK - -age - -str - -u_gender - -str - -occupation - -str + +users + +6K rows + +__PK__ + +PK + +age + +str + +u_gender + +str + +occupation + +str movies2actors - -movies2actors - -138K rows - -__PK__ - -PK - -FK_actors_actorid - -FK - -FK_movies_movieid - -FK - -movieid - -int - -actorid - -int - -cast_num - -int + +movies2actors + +138K rows + +__PK__ + +PK + +FK_actors_actorid + +FK + +FK_movies_movieid + +FK + +movieid + +int + +actorid + +int + +cast_num + +int u2base - -u2base - -996K rows - -__PK__ - -PK - -FK_movies_movieid - -FK - -FK_users_userid - -FK - -userid - -int - -movieid - -int - -rating - -str + +u2base + +996K rows + +__PK__ + +PK + +FK_movies_movieid + +FK + +FK_users_userid + +FK + +userid + +int + +movieid + +int + +rating + +str diff --git a/ctu-musklarge/README.md b/ctu-musklarge/README.md index 74e83cbeabbcf0c8b431cbc056264c5030b1bad1..61bd9c0fe9502126bfc104e92e3a82ce79cf9fb3 100644 --- a/ctu-musklarge/README.md +++ b/ctu-musklarge/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-musklarge ---- - # ctu-musklarge The Musk database describes molecules occurring in different conformations. Each molecule is either musk or non-musk and one of the conformations determines this property. Such a problem is known as a multiple-instance problem, and is modeled by two tables molecule and conformation, joined by a one-to-many association. Confirmation contains a molecule identifier plus 166 continuous features. Molecule just contains the identifier and the class. There are two versions of the dataset, MuskSmall, containing 92 molecules and 476 confirmations, and MuskLarge, containing 102 molecules and 6598 confirmations. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The Musk database describes molecules occurring in different conformations. Each ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-musklarge") -task = relbench.load_task("ctu-musklarge", "") +ds = relbench.load_dataset("relbench/redelex/ctu-musklarge") +task = relbench.load_task("relbench/redelex/ctu-musklarge", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-musklarge/schema.svg b/ctu-musklarge/schema.svg index 0b3b3de70112a4c817e5a1328c3d4978061d1449..2a325a75ed9fc3cf97d79a1b8ce419c4e8576399 100644 --- a/ctu-musklarge/schema.svg +++ b/ctu-musklarge/schema.svg @@ -1,708 +1,708 @@ - - + + schema conformation:e->molecule:w - + molecule - -molecule - -102 rows - -__PK__ - -PK - -class - -int + +molecule + +102 rows + +__PK__ + +PK + +class + +int conformation - -conformation - -7K rows - -__PK__ - -PK - -FK_molecule_molecule_name - -FK - -f1 - -int - -f2 - -int - -f3 - -int - -f4 - -int - -f5 - -int - -f6 - -int - -f7 - -int - -f8 - -int - -f9 - -int - -f10 - -int - -f11 - -int - -f12 - -int - -f13 - -int - -f14 - -int - -f15 - -int - -f16 - -int - -f17 - -int - -f18 - -int - -f19 - -int - -f20 - -int - -f21 - -int - -f22 - -int - -f23 - -int - -f24 - -int - -f25 - -int - -f26 - -int - -f27 - -int - -f28 - -int - -f29 - -int - -f30 - -int - -f31 - -int - -f32 - -int - -f33 - -int - -f34 - -int - -f35 - -int - -f36 - -int - -f37 - -int - -f38 - -int - -f39 - -int - -f40 - -int - -f41 - -int - -f42 - -int - -f43 - -int - -f44 - -int - -f45 - -int - -f46 - -int - -f47 - -int - -f48 - -int - -f49 - -int - -f50 - -int - -f51 - -int - -f52 - -int - -f53 - -int - -f54 - -int - -f55 - -int - -f56 - -int - -f57 - -int - -f58 - -int - -f59 - -int - -f60 - -int - -f61 - -int - -f62 - -int - -f63 - -int - -f64 - -int - -f65 - -int - -f66 - -int - -f67 - -int - -f68 - -int - -f69 - -int - -f70 - -int - -f71 - -int - -f72 - -int - -f73 - -int - -f74 - -int - -f75 - -int - -f76 - -int - -f77 - -int - -f78 - -int - -f79 - -int - -f80 - -int - -f81 - -int - -f82 - -int - -f83 - -int - -f84 - -int - -f85 - -int - -f86 - -int - -f87 - -int - -f88 - -int - -f89 - -int - -f90 - -int - -f91 - -int - -f92 - -int - -f93 - -int - -f94 - -int - -f95 - -int - -f96 - -int - -f97 - -int - -f98 - -int - -f99 - -int - -f100 - -int - -f101 - -int - -f102 - -int - -f103 - -int - -f104 - -int - -f105 - -int - -f106 - -int - -f107 - -int - -f108 - -int - -f109 - -int - -f110 - -int - -f111 - -int - -f112 - -int - -f113 - -int - -f114 - -int - -f115 - -int - -f116 - -int - -f117 - -int - -f118 - -int - -f119 - -int - -f120 - -int - -f121 - -int - -f122 - -int - -f123 - -int - -f124 - -int - -f125 - -int - -f126 - -int - -f127 - -int - -f128 - -int - -f129 - -int - -f130 - -int - -f131 - -int - -f132 - -int - -f133 - -int - -f134 - -int - -f135 - -int - -f136 - -int - -f137 - -int - -f138 - -int - -f139 - -int - -f140 - -int - -f141 - -int - -f142 - -int - -f143 - -int - -f144 - -int - -f145 - -int - -f146 - -int - -f147 - -int - -f148 - -int - -f149 - -int - -f150 - -int - -f151 - -int - -f152 - -int - -f153 - -int - -f154 - -int - -f155 - -int - -f156 - -int - -f157 - -int - -f158 - -int - -f159 - -int - -f160 - -int - -f161 - -int - -f162 - -int - -f163 - -int - -f164 - -int - -f165 - -int - -f166 - -int - -molecule_name - -str + +conformation + +7K rows + +__PK__ + +PK + +FK_molecule_molecule_name + +FK + +f1 + +int + +f2 + +int + +f3 + +int + +f4 + +int + +f5 + +int + +f6 + +int + +f7 + +int + +f8 + +int + +f9 + +int + +f10 + +int + +f11 + +int + +f12 + +int + +f13 + +int + +f14 + +int + +f15 + +int + +f16 + +int + +f17 + +int + +f18 + +int + +f19 + +int + +f20 + +int + +f21 + +int + +f22 + +int + +f23 + +int + +f24 + +int + +f25 + +int + +f26 + +int + +f27 + +int + +f28 + +int + +f29 + +int + +f30 + +int + +f31 + +int + +f32 + +int + +f33 + +int + +f34 + +int + +f35 + +int + +f36 + +int + +f37 + +int + +f38 + +int + +f39 + +int + +f40 + +int + +f41 + +int + +f42 + +int + +f43 + +int + +f44 + +int + +f45 + +int + +f46 + +int + +f47 + +int + +f48 + +int + +f49 + +int + +f50 + +int + +f51 + +int + +f52 + +int + +f53 + +int + +f54 + +int + +f55 + +int + +f56 + +int + +f57 + +int + +f58 + +int + +f59 + +int + +f60 + +int + +f61 + +int + +f62 + +int + +f63 + +int + +f64 + +int + +f65 + +int + +f66 + +int + +f67 + +int + +f68 + +int + +f69 + +int + +f70 + +int + +f71 + +int + +f72 + +int + +f73 + +int + +f74 + +int + +f75 + +int + +f76 + +int + +f77 + +int + +f78 + +int + +f79 + +int + +f80 + +int + +f81 + +int + +f82 + +int + +f83 + +int + +f84 + +int + +f85 + +int + +f86 + +int + +f87 + +int + +f88 + +int + +f89 + +int + +f90 + +int + +f91 + +int + +f92 + +int + +f93 + +int + +f94 + +int + +f95 + +int + +f96 + +int + +f97 + +int + +f98 + +int + +f99 + +int + +f100 + +int + +f101 + +int + +f102 + +int + +f103 + +int + +f104 + +int + +f105 + +int + +f106 + +int + +f107 + +int + +f108 + +int + +f109 + +int + +f110 + +int + +f111 + +int + +f112 + +int + +f113 + +int + +f114 + +int + +f115 + +int + +f116 + +int + +f117 + +int + +f118 + +int + +f119 + +int + +f120 + +int + +f121 + +int + +f122 + +int + +f123 + +int + +f124 + +int + +f125 + +int + +f126 + +int + +f127 + +int + +f128 + +int + +f129 + +int + +f130 + +int + +f131 + +int + +f132 + +int + +f133 + +int + +f134 + +int + +f135 + +int + +f136 + +int + +f137 + +int + +f138 + +int + +f139 + +int + +f140 + +int + +f141 + +int + +f142 + +int + +f143 + +int + +f144 + +int + +f145 + +int + +f146 + +int + +f147 + +int + +f148 + +int + +f149 + +int + +f150 + +int + +f151 + +int + +f152 + +int + +f153 + +int + +f154 + +int + +f155 + +int + +f156 + +int + +f157 + +int + +f158 + +int + +f159 + +int + +f160 + +int + +f161 + +int + +f162 + +int + +f163 + +int + +f164 + +int + +f165 + +int + +f166 + +int + +molecule_name + +str diff --git a/ctu-musksmall/README.md b/ctu-musksmall/README.md index 446b0775c649925a5fbe35d4a2ebe5fccc350988..65eee0233f38f4ec5c72ac61fb38c4bdefd7d792 100644 --- a/ctu-musksmall/README.md +++ b/ctu-musksmall/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-musksmall ---- - # ctu-musksmall The Musk database describes molecules occurring in different conformations. Each molecule is either musk or non-musk and one of the conformations determines this property. Such a problem is known as a multiple-instance problem, and is modeled by two tables molecule and conformation, joined by a one-to-many association. Confirmation contains a molecule identifier plus 166 continuous features. Molecule just contains the identifier and the class. There are two versions of the dataset, MuskSmall, containing 92 molecules and 476 confirmations, and MuskLarge, containing 102 molecules and 6598 confirmations. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The Musk database describes molecules occurring in different conformations. Each ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-musksmall") -task = relbench.load_task("ctu-musksmall", "") +ds = relbench.load_dataset("relbench/redelex/ctu-musksmall") +task = relbench.load_task("relbench/redelex/ctu-musksmall", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-musksmall/schema.svg b/ctu-musksmall/schema.svg index d5fa709be66750bab74771d8da54e92426d62198..4db5a7db8aab26aa440b452473f61d573a8624d2 100644 --- a/ctu-musksmall/schema.svg +++ b/ctu-musksmall/schema.svg @@ -1,708 +1,708 @@ - - + + schema conformation:e->molecule:w - + conformation - -conformation - -476 rows - -__PK__ - -PK - -FK_molecule_molecule_name - -FK - -f1 - -int - -f2 - -int - -f3 - -int - -f4 - -int - -f5 - -int - -f6 - -int - -f7 - -int - -f8 - -int - -f9 - -int - -f10 - -int - -f11 - -int - -f12 - -int - -f13 - -int - -f14 - -int - -f15 - -int - -f16 - -int - -f17 - -int - -f18 - -int - -f19 - -int - -f20 - -int - -f21 - -int - -f22 - -int - -f23 - -int - -f24 - -int - -f25 - -int - -f26 - -int - -f27 - -int - -f28 - -int - -f29 - -int - -f30 - -int - -f31 - -int - -f32 - -int - -f33 - -int - -f34 - -int - -f35 - -int - -f36 - -int - -f37 - -int - -f38 - -int - -f39 - -int - -f40 - -int - -f41 - -int - -f42 - -int - -f43 - -int - -f44 - -int - -f45 - -int - -f46 - -int - -f47 - -int - -f48 - -int - -f49 - -int - -f50 - -int - -f51 - -int - -f52 - -int - -f53 - -int - -f54 - -int - -f55 - -int - -f56 - -int - -f57 - -int - -f58 - -int - -f59 - -int - -f60 - -int - -f61 - -int - -f62 - -int - -f63 - -int - -f64 - -int - -f65 - -int - -f66 - -int - -f67 - -int - -f68 - -int - -f69 - -int - -f70 - -int - -f71 - -int - -f72 - -int - -f73 - -int - -f74 - -int - -f75 - -int - -f76 - -int - -f77 - -int - -f78 - -int - -f79 - -int - -f80 - -int - -f81 - -int - -f82 - -int - -f83 - -int - -f84 - -int - -f85 - -int - -f86 - -int - -f87 - -int - -f88 - -int - -f89 - -int - -f90 - -int - -f91 - -int - -f92 - -int - -f93 - -int - -f94 - -int - -f95 - -int - -f96 - -int - -f97 - -int - -f98 - -int - -f99 - -int - -f100 - -int - -f101 - -int - -f102 - -int - -f103 - -int - -f104 - -int - -f105 - -int - -f106 - -int - -f107 - -int - -f108 - -int - -f109 - -int - -f110 - -int - -f111 - -int - -f112 - -int - -f113 - -int - -f114 - -int - -f115 - -int - -f116 - -int - -f117 - -int - -f118 - -int - -f119 - -int - -f120 - -int - -f121 - -int - -f122 - -int - -f123 - -int - -f124 - -int - -f125 - -int - -f126 - -int - -f127 - -int - -f128 - -int - -f129 - -int - -f130 - -int - -f131 - -int - -f132 - -int - -f133 - -int - -f134 - -int - -f135 - -int - -f136 - -int - -f137 - -int - -f138 - -int - -f139 - -int - -f140 - -int - -f141 - -int - -f142 - -int - -f143 - -int - -f144 - -int - -f145 - -int - -f146 - -int - -f147 - -int - -f148 - -int - -f149 - -int - -f150 - -int - -f151 - -int - -f152 - -int - -f153 - -int - -f154 - -int - -f155 - -int - -f156 - -int - -f157 - -int - -f158 - -int - -f159 - -int - -f160 - -int - -f161 - -int - -f162 - -int - -f163 - -int - -f164 - -int - -f165 - -int - -f166 - -int - -molecule_name - -str + +conformation + +476 rows + +__PK__ + +PK + +FK_molecule_molecule_name + +FK + +f1 + +int + +f2 + +int + +f3 + +int + +f4 + +int + +f5 + +int + +f6 + +int + +f7 + +int + +f8 + +int + +f9 + +int + +f10 + +int + +f11 + +int + +f12 + +int + +f13 + +int + +f14 + +int + +f15 + +int + +f16 + +int + +f17 + +int + +f18 + +int + +f19 + +int + +f20 + +int + +f21 + +int + +f22 + +int + +f23 + +int + +f24 + +int + +f25 + +int + +f26 + +int + +f27 + +int + +f28 + +int + +f29 + +int + +f30 + +int + +f31 + +int + +f32 + +int + +f33 + +int + +f34 + +int + +f35 + +int + +f36 + +int + +f37 + +int + +f38 + +int + +f39 + +int + +f40 + +int + +f41 + +int + +f42 + +int + +f43 + +int + +f44 + +int + +f45 + +int + +f46 + +int + +f47 + +int + +f48 + +int + +f49 + +int + +f50 + +int + +f51 + +int + +f52 + +int + +f53 + +int + +f54 + +int + +f55 + +int + +f56 + +int + +f57 + +int + +f58 + +int + +f59 + +int + +f60 + +int + +f61 + +int + +f62 + +int + +f63 + +int + +f64 + +int + +f65 + +int + +f66 + +int + +f67 + +int + +f68 + +int + +f69 + +int + +f70 + +int + +f71 + +int + +f72 + +int + +f73 + +int + +f74 + +int + +f75 + +int + +f76 + +int + +f77 + +int + +f78 + +int + +f79 + +int + +f80 + +int + +f81 + +int + +f82 + +int + +f83 + +int + +f84 + +int + +f85 + +int + +f86 + +int + +f87 + +int + +f88 + +int + +f89 + +int + +f90 + +int + +f91 + +int + +f92 + +int + +f93 + +int + +f94 + +int + +f95 + +int + +f96 + +int + +f97 + +int + +f98 + +int + +f99 + +int + +f100 + +int + +f101 + +int + +f102 + +int + +f103 + +int + +f104 + +int + +f105 + +int + +f106 + +int + +f107 + +int + +f108 + +int + +f109 + +int + +f110 + +int + +f111 + +int + +f112 + +int + +f113 + +int + +f114 + +int + +f115 + +int + +f116 + +int + +f117 + +int + +f118 + +int + +f119 + +int + +f120 + +int + +f121 + +int + +f122 + +int + +f123 + +int + +f124 + +int + +f125 + +int + +f126 + +int + +f127 + +int + +f128 + +int + +f129 + +int + +f130 + +int + +f131 + +int + +f132 + +int + +f133 + +int + +f134 + +int + +f135 + +int + +f136 + +int + +f137 + +int + +f138 + +int + +f139 + +int + +f140 + +int + +f141 + +int + +f142 + +int + +f143 + +int + +f144 + +int + +f145 + +int + +f146 + +int + +f147 + +int + +f148 + +int + +f149 + +int + +f150 + +int + +f151 + +int + +f152 + +int + +f153 + +int + +f154 + +int + +f155 + +int + +f156 + +int + +f157 + +int + +f158 + +int + +f159 + +int + +f160 + +int + +f161 + +int + +f162 + +int + +f163 + +int + +f164 + +int + +f165 + +int + +f166 + +int + +molecule_name + +str molecule - -molecule - -92 rows - -__PK__ - -PK - -class - -int + +molecule + +92 rows + +__PK__ + +PK + +class + +int diff --git a/ctu-mutagenesis/README.md b/ctu-mutagenesis/README.md index ab12d807d0ed0ff6ff03a2a0d7da2460fdeae16d..12deb6d819a916a945087b8d7a4e1b79c868fa10 100644 --- a/ctu-mutagenesis/README.md +++ b/ctu-mutagenesis/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-mutagenesis ---- - # ctu-mutagenesis The dataset comprises of 230 molecules trialed for mutagenicity on Salmonella typhimurium. A subset of 188 molecules is learnable using linear regression. This subset was later termed the ”regression friendly” dataset. The remaining subset of 42 molecules is named the ”regression unfriendly” dataset. Note that authors use this dataset with a variable set of the background knowledge and consequently, the reported accuracies do not have to be directly comparable. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The dataset comprises of 230 molecules trialed for mutagenicity on Salmonella ty ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-mutagenesis") -task = relbench.load_task("ctu-mutagenesis", "") +ds = relbench.load_dataset("relbench/redelex/ctu-mutagenesis") +task = relbench.load_task("relbench/redelex/ctu-mutagenesis", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-mutagenesis/schema.svg b/ctu-mutagenesis/schema.svg index a125cc5e25b5eee73f0d5fab87c32d03e104a3de..41d95f6a2533c9fdef04946ec8520e2ff7db9f74 100644 --- a/ctu-mutagenesis/schema.svg +++ b/ctu-mutagenesis/schema.svg @@ -1,112 +1,112 @@ - - + + schema bond:e->atom:w - + bond:e->atom:w - + atom:e->molecule:w - + molecule - -molecule - -188 rows - -__PK__ - -PK - -logp - -float - -lumo - -float - -ind1 - -int - -inda - -int - -mutagenic - -str + +molecule + +188 rows + +__PK__ + +PK + +logp + +float + +lumo + +float + +ind1 + +int + +inda + +int + +mutagenic + +str bond - -bond - -5K rows - -__PK__ - -PK - -FK_atom_atom1_id - -FK - -FK_atom_atom2_id - -FK - -type - -int - -atom1_id - -str - -atom2_id - -str + +bond + +5K rows + +__PK__ + +PK + +FK_atom_atom1_id + +FK + +FK_atom_atom2_id + +FK + +type + +int + +atom1_id + +str + +atom2_id + +str atom - -atom - -5K rows - -__PK__ - -PK - -FK_molecule_molecule_id - -FK - -charge - -float - -type - -int - -molecule_id - -str - -element - -str + +atom + +5K rows + +__PK__ + +PK + +FK_molecule_molecule_id + +FK + +charge + +float + +type + +int + +molecule_id + +str + +element + +str diff --git a/ctu-ncaa/README.md b/ctu-ncaa/README.md index 121e5f59eeeff1bf2454485487ed9202f83d36fe..ad420514e013aa5a1a378ff325434e45a0b7b886 100644 --- a/ctu-ncaa/README.md +++ b/ctu-ncaa/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-ncaa ---- - # ctu-ncaa NCAA Basketball Tournament. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ NCAA Basketball Tournament. Sourced from the CTU Prague Relational Learning Repo ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2010-11-01 00:00:00`, test `2012-11-05 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2010-11-01 00:00:00`, test `2012-11-05 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-ncaa") -task = relbench.load_task("ctu-ncaa", "") +ds = relbench.load_dataset("relbench/redelex/ctu-ncaa") +task = relbench.load_task("relbench/redelex/ctu-ncaa", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-ncaa/schema.svg b/ctu-ncaa/schema.svg index f2e3eb5bd84467694eda3fc277e9d379abab8123..2469b84e6e15d9280032c6cd9c27821154fda1bf 100644 --- a/ctu-ncaa/schema.svg +++ b/ctu-ncaa/schema.svg @@ -1,660 +1,660 @@ - - + + schema regular_season_detailed_results:e->seasons:w - + regular_season_detailed_results:e->teams:w - + regular_season_detailed_results:e->teams:w - + tourney_detailed_results:e->seasons:w - + tourney_detailed_results:e->teams:w - + tourney_detailed_results:e->teams:w - + tourney_seeds:e->seasons:w - + tourney_seeds:e->teams:w - + tourney_slots:e->seasons:w - + tourney_compact_results:e->seasons:w - + tourney_compact_results:e->teams:w - + tourney_compact_results:e->teams:w - + regular_season_compact_results:e->seasons:w - + regular_season_compact_results:e->teams:w - + regular_season_compact_results:e->teams:w - + target:e->teams:w - + target:e->teams:w - + regular_season_detailed_results - -regular_season_detailed_results - -61K rows - -__PK__ - -PK - -FK_seasons_season - -FK - -FK_teams_wteam - -FK - -FK_teams_lteam - -FK - -date - -TIME - -season - -int - -wteam - -int - -wscore - -int - -lteam - -int - -lscore - -int - -numot - -int - -wfgm - -int - -wfga - -int - -wfgm3 - -int - -wfga3 - -int - -wftm - -int - -wfta - -int - -wor - -int - -wdr - -int - -wast - -int - -wto - -int - -wstl - -int - -wblk - -int - -wpf - -int - -lfgm - -int - -lfga - -int - -lfgm3 - -int - -lfga3 - -int - -lftm - -int - -lfta - -int - -lor - -int - -ldr - -int - -last - -int - -lto - -int - -lstl - -int - -lblk - -int - -lpf - -int - -wloc - -str + +regular_season_detailed_results + +61K rows + +__PK__ + +PK + +FK_seasons_season + +FK + +FK_teams_wteam + +FK + +FK_teams_lteam + +FK + +date + +TIME + +season + +int + +wteam + +int + +wscore + +int + +lteam + +int + +lscore + +int + +numot + +int + +wfgm + +int + +wfga + +int + +wfgm3 + +int + +wfga3 + +int + +wftm + +int + +wfta + +int + +wor + +int + +wdr + +int + +wast + +int + +wto + +int + +wstl + +int + +wblk + +int + +wpf + +int + +lfgm + +int + +lfga + +int + +lfgm3 + +int + +lfga3 + +int + +lftm + +int + +lfta + +int + +lor + +int + +ldr + +int + +last + +int + +lto + +int + +lstl + +int + +lblk + +int + +lpf + +int + +wloc + +str seasons - -seasons - -31 rows - -__PK__ - -PK - -dayzero - -TIME - -regionW - -str - -regionX - -str - -regionY - -str - -regionZ - -str + +seasons + +31 rows + +__PK__ + +PK + +dayzero + +TIME + +regionW + +str + +regionX + +str + +regionY + +str + +regionZ + +str teams - -teams - -364 rows - -__PK__ - -PK - -team_name - -str + +teams + +364 rows + +__PK__ + +PK + +team_name + +str tourney_detailed_results - -tourney_detailed_results - -780 rows - -__PK__ - -PK - -FK_seasons_season - -FK - -FK_teams_wteam - -FK - -FK_teams_lteam - -FK - -date - -TIME - -season - -int - -wteam - -int - -wscore - -int - -lteam - -int - -lscore - -int - -numot - -int - -wfgm - -int - -wfga - -int - -wfgm3 - -int - -wfga3 - -int - -wftm - -int - -wfta - -int - -wor - -int - -wdr - -int - -wast - -int - -wto - -int - -wstl - -int - -wblk - -int - -wpf - -int - -lfgm - -int - -lfga - -int - -lfgm3 - -int - -lfga3 - -int - -lftm - -int - -lfta - -int - -lor - -int - -ldr - -int - -last - -int - -lto - -int - -lstl - -int - -lblk - -int - -lpf - -int - -wloc - -str + +tourney_detailed_results + +780 rows + +__PK__ + +PK + +FK_seasons_season + +FK + +FK_teams_wteam + +FK + +FK_teams_lteam + +FK + +date + +TIME + +season + +int + +wteam + +int + +wscore + +int + +lteam + +int + +lscore + +int + +numot + +int + +wfgm + +int + +wfga + +int + +wfgm3 + +int + +wfga3 + +int + +wftm + +int + +wfta + +int + +wor + +int + +wdr + +int + +wast + +int + +wto + +int + +wstl + +int + +wblk + +int + +wpf + +int + +lfgm + +int + +lfga + +int + +lfgm3 + +int + +lfga3 + +int + +lftm + +int + +lfta + +int + +lor + +int + +ldr + +int + +last + +int + +lto + +int + +lstl + +int + +lblk + +int + +lpf + +int + +wloc + +str tourney_seeds - -tourney_seeds - -2K rows - -__PK__ - -PK - -FK_seasons_season - -FK - -FK_teams_team - -FK - -date - -TIME - -season - -int - -team - -int - -seed - -str + +tourney_seeds + +2K rows + +__PK__ + +PK + +FK_seasons_season + +FK + +FK_teams_team + +FK + +date + +TIME + +season + +int + +team + +int + +seed + +str tourney_slots - -tourney_slots - -2K rows - -__PK__ - -PK - -FK_seasons_season - -FK - -date - -TIME - -season - -int - -slot - -str - -strongseed - -str - -weakseed - -str + +tourney_slots + +2K rows + +__PK__ + +PK + +FK_seasons_season + +FK + +date + +TIME + +season + +int + +slot + +str + +strongseed + +str + +weakseed + +str tourney_compact_results - -tourney_compact_results - -2K rows - -__PK__ - -PK - -FK_seasons_season - -FK - -FK_teams_wteam - -FK - -FK_teams_lteam - -FK - -date - -TIME - -season - -int - -wteam - -int - -wscore - -int - -lteam - -int - -lscore - -int - -numot - -int - -wloc - -str + +tourney_compact_results + +2K rows + +__PK__ + +PK + +FK_seasons_season + +FK + +FK_teams_wteam + +FK + +FK_teams_lteam + +FK + +date + +TIME + +season + +int + +wteam + +int + +wscore + +int + +lteam + +int + +lscore + +int + +numot + +int + +wloc + +str regular_season_compact_results - -regular_season_compact_results - -135K rows - -__PK__ - -PK - -FK_seasons_season - -FK - -FK_teams_wteam - -FK - -FK_teams_lteam - -FK - -date - -TIME - -season - -int - -wteam - -int - -wscore - -int - -lteam - -int - -lscore - -int - -numot - -int - -wloc - -str + +regular_season_compact_results + +135K rows + +__PK__ + +PK + +FK_seasons_season + +FK + +FK_teams_wteam + +FK + +FK_teams_lteam + +FK + +date + +TIME + +season + +int + +wteam + +int + +wscore + +int + +lteam + +int + +lscore + +int + +numot + +int + +wloc + +str target - -target - -268 rows - -__PK__ - -PK - -FK_teams_team_id1 - -FK - -FK_teams_team_id2 - -FK - -season - -int - -team_id1 - -int - -team_id2 - -int - -team_id1_wins - -int + +target + +268 rows + +__PK__ + +PK + +FK_teams_team_id1 + +FK + +FK_teams_team_id2 + +FK + +season + +int + +team_id1 + +int + +team_id2 + +int + +team_id1_wins + +int diff --git a/ctu-northwind/README.md b/ctu-northwind/README.md index 5d74c30196f973d53adf74479a43ff24b9a13e5c..3644f80f2f2d3d64f20a26cfc1cc0b2357d1200d 100644 --- a/ctu-northwind/README.md +++ b/ctu-northwind/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-northwind ---- - # ctu-northwind The Northwind database contains the sales data for a fictitious company called Northwind Traders, which imports and exports specialty foods from around the world. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The Northwind database contains the sales data for a fictitious company called N ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `1998-02-01 00:00:00`, test `1998-04-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `1998-02-01 00:00:00`, test `1998-04-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-northwind") -task = relbench.load_task("ctu-northwind", "") +ds = relbench.load_dataset("relbench/redelex/ctu-northwind") +task = relbench.load_task("relbench/redelex/ctu-northwind", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-northwind/schema.svg b/ctu-northwind/schema.svg index ac44ac2fca41525e989d6dbcd7f4ecc6910d9f3f..6266f77231204a698c3c22db8a0dbffe9166eda6 100644 --- a/ctu-northwind/schema.svg +++ b/ctu-northwind/schema.svg @@ -1,580 +1,580 @@ - - + + schema Order Details:e->Orders:w - + Order Details:e->Products:w - + EmployeeTerritories:e->Territories:w - + EmployeeTerritories:e->Employees:w - + Territories:e->Region:w - + Employees:e->Employees:w - + Orders:e->Employees:w - + Orders:e->Shippers:w - + Orders:e->Customers:w - + Products:e->Categories:w - + Products:e->Suppliers:w - + CustomerCustomerDemo:e->CustomerDemographics:w - + CustomerCustomerDemo:e->Customers:w - + Categories - -Categories - -8 rows - -__PK__ - -PK - -CategoryName - -str - -Description - -str - -Picture - -binary + +Categories + +8 rows + +__PK__ + +PK + +CategoryName + +str + +Description + +str + +Picture + +binary Region - -Region - -4 rows - -__PK__ - -PK - -RegionDescription - -str + +Region + +4 rows + +__PK__ + +PK + +RegionDescription + +str Suppliers - -Suppliers - -29 rows - -__PK__ - -PK - -CompanyName - -str - -ContactName - -str - -ContactTitle - -str - -Address - -str - -City - -str - -Region - -str - -PostalCode - -str - -Country - -str - -Phone - -str - -Fax - -str - -HomePage - -str + +Suppliers + +29 rows + +__PK__ + +PK + +CompanyName + +str + +ContactName + +str + +ContactTitle + +str + +Address + +str + +City + +str + +Region + +str + +PostalCode + +str + +Country + +str + +Phone + +str + +Fax + +str + +HomePage + +str Order Details - -Order Details - -2K rows - -__PK__ - -PK - -FK_Orders_OrderID - -FK - -FK_Products_ProductID - -FK - -UnitPrice - -float - -Discount - -float - -OrderID - -int - -ProductID - -int - -Quantity - -int + +Order Details + +2K rows + +__PK__ + +PK + +FK_Orders_OrderID + +FK + +FK_Products_ProductID + +FK + +UnitPrice + +float + +Discount + +float + +OrderID + +int + +ProductID + +int + +Quantity + +int Orders - -Orders - -830 rows - -__PK__ - -PK - -FK_Customers_CustomerID - -FK - -FK_Employees_EmployeeID - -FK - -FK_Shippers_ShipVia - -FK - -OrderDate - -TIME - -Freight - -float - -EmployeeID - -int - -ShipVia - -int - -CustomerID - -str - -ShipName - -str - -ShipAddress - -str - -ShipCity - -str - -ShipRegion - -str - -ShipPostalCode - -str - -ShipCountry - -str - -RequiredDate - -datetime - -ShippedDate - -datetime + +Orders + +830 rows + +__PK__ + +PK + +FK_Customers_CustomerID + +FK + +FK_Employees_EmployeeID + +FK + +FK_Shippers_ShipVia + +FK + +OrderDate + +TIME + +Freight + +float + +EmployeeID + +int + +ShipVia + +int + +CustomerID + +str + +ShipName + +str + +ShipAddress + +str + +ShipCity + +str + +ShipRegion + +str + +ShipPostalCode + +str + +ShipCountry + +str + +RequiredDate + +datetime + +ShippedDate + +datetime Products - -Products - -77 rows - -__PK__ - -PK - -FK_Categories_CategoryID - -FK - -FK_Suppliers_SupplierID - -FK - -UnitPrice - -float - -SupplierID - -int - -CategoryID - -int - -UnitsInStock - -int - -UnitsOnOrder - -int - -ReorderLevel - -int - -Discontinued - -int - -ProductName - -str - -QuantityPerUnit - -str + +Products + +77 rows + +__PK__ + +PK + +FK_Categories_CategoryID + +FK + +FK_Suppliers_SupplierID + +FK + +UnitPrice + +float + +SupplierID + +int + +CategoryID + +int + +UnitsInStock + +int + +UnitsOnOrder + +int + +ReorderLevel + +int + +Discontinued + +int + +ProductName + +str + +QuantityPerUnit + +str EmployeeTerritories - -EmployeeTerritories - -49 rows - -__PK__ - -PK - -FK_Employees_EmployeeID - -FK - -FK_Territories_TerritoryID - -FK - -EmployeeID - -int - -TerritoryID - -str + +EmployeeTerritories + +49 rows + +__PK__ + +PK + +FK_Employees_EmployeeID + +FK + +FK_Territories_TerritoryID + +FK + +EmployeeID + +int + +TerritoryID + +str Territories - -Territories - -53 rows - -__PK__ - -PK - -FK_Region_RegionID - -FK - -RegionID - -int - -TerritoryDescription - -str + +Territories + +53 rows + +__PK__ + +PK + +FK_Region_RegionID + +FK + +RegionID + +int + +TerritoryDescription + +str Employees - -Employees - -9 rows - -__PK__ - -PK - -FK_Employees_ReportsTo - -FK - -HireDate - -TIME - -Salary - -float - -ReportsTo - -int - -LastName - -str - -FirstName - -str - -Title - -str - -TitleOfCourtesy - -str - -Address - -str - -City - -str - -Region - -str - -PostalCode - -str - -Country - -str - -HomePhone - -str - -Extension - -str - -Notes - -str - -PhotoPath - -str - -BirthDate - -datetime - -Photo - -binary + +Employees + +9 rows + +__PK__ + +PK + +FK_Employees_ReportsTo + +FK + +HireDate + +TIME + +Salary + +float + +ReportsTo + +int + +LastName + +str + +FirstName + +str + +Title + +str + +TitleOfCourtesy + +str + +Address + +str + +City + +str + +Region + +str + +PostalCode + +str + +Country + +str + +HomePhone + +str + +Extension + +str + +Notes + +str + +PhotoPath + +str + +BirthDate + +datetime + +Photo + +binary CustomerDemographics - -CustomerDemographics - -0 rows - -__PK__ - -PK - -CustomerDesc - -str + +CustomerDemographics + +0 rows + +__PK__ + +PK + +CustomerDesc + +str Shippers - -Shippers - -3 rows - -__PK__ - -PK - -CompanyName - -str - -Phone - -str + +Shippers + +3 rows + +__PK__ + +PK + +CompanyName + +str + +Phone + +str Customers - -Customers - -91 rows - -__PK__ - -PK - -CompanyName - -str - -ContactName - -str - -ContactTitle - -str - -Address - -str - -City - -str - -Region - -str - -PostalCode - -str - -Country - -str - -Phone - -str - -Fax - -str + +Customers + +91 rows + +__PK__ + +PK + +CompanyName + +str + +ContactName + +str + +ContactTitle + +str + +Address + +str + +City + +str + +Region + +str + +PostalCode + +str + +Country + +str + +Phone + +str + +Fax + +str CustomerCustomerDemo - -CustomerCustomerDemo - -0 rows - -__PK__ - -PK - -FK_CustomerDemographics_CustomerTypeID - -FK - -FK_Customers_CustomerID - -FK - -CustomerID - -str - -CustomerTypeID - -str + +CustomerCustomerDemo + +0 rows + +__PK__ + +PK + +FK_CustomerDemographics_CustomerTypeID + +FK + +FK_Customers_CustomerID + +FK + +CustomerID + +str + +CustomerTypeID + +str diff --git a/ctu-pima/README.md b/ctu-pima/README.md index 85659f21fe51d0803724fd06d4f28709a0235728..c8192036284d754f79613aa268c94740069c61ba 100644 --- a/ctu-pima/README.md +++ b/ctu-pima/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-pima ---- - # ctu-pima The National Institute of Diabetes and Digestive and Kidney Diseases conducted a study on 768 adult female Pima Indians living near Phoenix. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The National Institute of Diabetes and Digestive and Kidney Diseases conducted a ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-pima") -task = relbench.load_task("ctu-pima", "") +ds = relbench.load_dataset("relbench/redelex/ctu-pima") +task = relbench.load_task("relbench/redelex/ctu-pima", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-pima/schema.svg b/ctu-pima/schema.svg index db7c9b6fc1cf6709754439362306ea0655ca92bc..49cb79154115f72a2c91c649c43f8217d8c52a09 100644 --- a/ctu-pima/schema.svg +++ b/ctu-pima/schema.svg @@ -1,212 +1,212 @@ - - + + schema age:e->pima:w - + pedigree:e->pima:w - + serum:e->pima:w - + numPreg:e->pima:w - + bmi:e->pima:w - + diastolic:e->pima:w - + tricepts:e->pima:w - + plasma:e->pima:w - + age - -age - -768 rows - -__PK__ - -PK - -FK_pima_arg1 - -FK - -arg2 - -float + +age + +768 rows + +__PK__ + +PK + +FK_pima_arg1 + +FK + +arg2 + +float pima - -pima - -768 rows - -__PK__ - -PK - -arg2 - -str + +pima + +768 rows + +__PK__ + +PK + +arg2 + +str pedigree - -pedigree - -768 rows - -__PK__ - -PK - -FK_pima_arg1 - -FK - -arg2 - -float + +pedigree + +768 rows + +__PK__ + +PK + +FK_pima_arg1 + +FK + +arg2 + +float serum - -serum - -768 rows - -__PK__ - -PK - -FK_pima_arg1 - -FK - -arg2 - -float + +serum + +768 rows + +__PK__ + +PK + +FK_pima_arg1 + +FK + +arg2 + +float numPreg - -numPreg - -768 rows - -__PK__ - -PK - -FK_pima_arg1 - -FK - -arg2 - -float + +numPreg + +768 rows + +__PK__ + +PK + +FK_pima_arg1 + +FK + +arg2 + +float bmi - -bmi - -768 rows - -__PK__ - -PK - -FK_pima_arg1 - -FK - -arg2 - -float + +bmi + +768 rows + +__PK__ + +PK + +FK_pima_arg1 + +FK + +arg2 + +float diastolic - -diastolic - -768 rows - -__PK__ - -PK - -FK_pima_arg1 - -FK - -arg2 - -float + +diastolic + +768 rows + +__PK__ + +PK + +FK_pima_arg1 + +FK + +arg2 + +float tricepts - -tricepts - -768 rows - -__PK__ - -PK - -FK_pima_arg1 - -FK - -arg2 - -float + +tricepts + +768 rows + +__PK__ + +PK + +FK_pima_arg1 + +FK + +arg2 + +float plasma - -plasma - -768 rows - -__PK__ - -PK - -FK_pima_arg1 - -FK - -arg2 - -float + +plasma + +768 rows + +__PK__ + +PK + +FK_pima_arg1 + +FK + +arg2 + +float diff --git a/ctu-premiereleague/README.md b/ctu-premiereleague/README.md index 946cb023d56e20915abb4d94a9089c92cfa2bc19..77cfaed34e45f0eb2f2ca4f330374c9e5c143a36 100644 --- a/ctu-premiereleague/README.md +++ b/ctu-premiereleague/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-premiereleague ---- - # ctu-premiereleague A database with information about football matches from the UK Premier League. Lists Players, Teams, and matches with action counts for each player. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ A database with information about football matches from the UK Premier League. L ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2012-04-01 00:00:00`, test `2012-05-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2012-04-01 00:00:00`, test `2012-05-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-premiereleague") -task = relbench.load_task("ctu-premiereleague", "") +ds = relbench.load_dataset("relbench/redelex/ctu-premiereleague") +task = relbench.load_task("relbench/redelex/ctu-premiereleague", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-premiereleague/schema.svg b/ctu-premiereleague/schema.svg index 13012b1e34c6f0de4527fb8123c544c6b50f92f2..37521699c70fa989db79e8beceee7979385301b1 100644 --- a/ctu-premiereleague/schema.svg +++ b/ctu-premiereleague/schema.svg @@ -1,948 +1,948 @@ - - + + schema Actions:e->Teams:w - + Actions:e->Matches:w - + Actions:e->Players:w - + Matches:e->Teams:w - + Matches:e->Teams:w - + Teams - -Teams - -20 rows - -__PK__ - -PK - -Name - -str + +Teams + +20 rows + +__PK__ + +PK + +Name + +str Actions - -Actions - -10K rows - -__PK__ - -PK - -FK_Matches_MatchID - -FK - -FK_Players_PlayerID - -FK - -FK_Teams_TeamID - -FK - -shot_eff - -float - -passes_eff - -float - -tackle_eff - -float - -dribble_eff - -float - -PlayerID - -int - -MatchID - -int - -TeamID - -int - -FirstGoal - -int - -WinningGoal - -int - -ShotsonTargetincgoals - -int - -SavesMade - -int - -TimePlayed - -int - -PositionID - -int - -Starts - -int - -SubstituteOn - -int - -SubstituteOff - -int - -Goals - -int - -ShotsOffTargetincwoodwork - -int - -BlockedShots - -int - -PenaltiesTaken - -int - -PenaltyGoals - -int - -PenaltiesSaved - -int - -PenaltiesOffTarget - -int - -PenaltiesNotScored - -int - -DirectFreekickGoals - -int - -DirectFreekickOnTarget - -int - -DirectFreekickOffTarget - -int - -BlockedDirectFreekick - -int - -GoalsfromInsideBox - -int - -ShotsOnfromInsideBox - -int - -ShotsOfffromInsideBox - -int - -BlockedShotsfromInsideBox - -int - -GoalsfromOutsideBox - -int - -ShotsOnTargetOutsideBox - -int - -ShotsOffTargetOutsideBox - -int - -BlockedShotsOutsideBox - -int - -HeadedGoals - -int - -HeadedShotsOnTarget - -int - -HeadedShotsOffTarget - -int - -HeadedBlockedShots - -int - -LeftFootGoals - -int - -LeftFootShotsOnTarget - -int - -LeftFootShotsOffTarget - -int - -LeftFootBlockedShots - -int - -RightFootGoals - -int - -RightFootShotsOnTarget - -int - -RightFootShotsOffTarget - -int - -RightFootBlockedShots - -int - -OtherGoals - -int - -OtherShotsOnTarget - -int - -OtherShotsOffTarget - -int - -OtherBlockedShots - -int - -ShotsClearedoffLine - -int - -ShotsClearedoffLineInsideArea - -int - -ShotsClearedoffLineOutsideArea - -int - -GoalsOpenPlay - -int - -GoalsfromCorners - -int - -GoalsfromThrows - -int - -GoalsfromDirectFreeKick - -int - -GoalsfromSetPlay - -int - -Goalsfrompenalties - -int - -AttemptsOpenPlayontarget - -int - -AttemptsfromCornersontarget - -int - -AttemptsfromThrowsontarget - -int - -AttemptsfromDirectFreeKickontarget - -int - -AttemptsfromSetPlayontarget - -int - -AttemptsfromPenaltiesontarget - -int - -AttemptsOpenPlayofftarget - -int - -AttemptsfromCornersofftarget - -int - -AttemptsfromThrowsofftarget - -int - -AttemptsfromDirectFreeKickofftarget - -int - -AttemptsfromSetPlayofftarget - -int - -AttemptsfromPenaltiesofftarget - -int - -Goalsasasubstitute - -int - -TotalSuccessfulPassesAll - -int - -TotalUnsuccessfulPassesAll - -int - -Assists - -int - -KeyPasses - -int - -TotalSuccessfulPassesExclCrossesCorners - -int - -TotalUnsuccessfulPassesExclCrossesCorners - -int - -SuccessfulPassesOwnHalf - -int - -UnsuccessfulPassesOwnHalf - -int - -SuccessfulPassesOppositionHalf - -int - -UnsuccessfulPassesOppositionHalf - -int - -SuccessfulPassesDefensivethird - -int - -UnsuccessfulPassesDefensivethird - -int - -SuccessfulPassesMiddlethird - -int - -UnsuccessfulPassesMiddlethird - -int - -SuccessfulPassesFinalthird - -int - -UnsuccessfulPassesFinalthird - -int - -SuccessfulShortPasses - -int - -UnsuccessfulShortPasses - -int - -SuccessfulLongPasses - -int - -UnsuccessfulLongPasses - -int - -SuccessfulFlickOns - -int - -UnsuccessfulFlickOns - -int - -SuccessfulCrossesCorners - -int - -UnsuccessfulCrossesCorners - -int - -CornersTakeninclshortcorners - -int - -CornersConceded - -int - -SuccessfulCornersintoBox - -int - -UnsuccessfulCornersintoBox - -int - -ShortCorners - -int - -ThrowInstoOwnPlayer - -int - -ThrowInstoOppositionPlayer - -int - -SuccessfulDribbles - -int - -UnsuccessfulDribbles - -int - -SuccessfulCrossesCornersLeft - -int - -UnsuccessfulCrossesCornersLeft - -int - -SuccessfulCrossesLeft - -int - -UnsuccessfulCrossesLeft - -int - -SuccessfulCornersLeft - -int - -UnsuccessfulCornersLeft - -int - -SuccessfulCrossesCornersRight - -int - -UnsuccessfulCrossesCornersRight - -int - -SuccessfulCrossesRight - -int - -UnsuccessfulCrossesRight - -int - -SuccessfulCornersRight - -int - -UnsuccessfulCornersRight - -int - -SuccessfulLongBalls - -int - -UnsuccessfulLongBalls - -int - -SuccessfulLayOffs - -int - -UnsuccessfulLayOffs - -int - -ThroughBall - -int - -SuccessfulCrossesCornersintheair - -int - -UnsuccessfulCrossesCornersintheair - -int - -Successfulcrossesintheair - -int - -Unsuccessfulcrossesintheair - -int - -Successfulopenplaycrosses - -int - -Unsuccessfulopenplaycrosses - -int - -Touches - -int - -GoalAssistCorner - -int - -GoalAssistFreeKick - -int - -GoalAssistThrowIn - -int - -GoalAssistGoalKick - -int - -GoalAssistSetPiece - -int - -KeyCorner - -int - -KeyFreeKick - -int - -KeyThrowIn - -int - -KeyGoalKick - -int - -KeySetPieces - -int - -Duelswon - -int - -Duelslost - -int - -AerialDuelswon - -int - -AerialDuelslost - -int - -GroundDuelswon - -int - -GroundDuelslost - -int - -TacklesWon - -int - -TacklesLost - -int - -LastManTackle - -int - -TotalClearances - -int - -HeadedClearances - -int - -OtherClearances - -int - -ClearancesOfftheLine - -int - -Blocks - -int - -Interceptions - -int - -Recoveries - -int - -TotalFoulsConceded - -int - -FoulsConcededexchandballspens - -int - -TotalFoulsWon - -int - -FoulsWoninDangerAreaincpens - -int - -FoulsWonnotindangerarea - -int - -FoulWonPenalty - -int - -HandballsConceded - -int - -PenaltiesConceded - -int - -Offsides - -int - -YellowCards - -int - -RedCards - -int - -GoalsConceded - -int - -GoalsConcededInsideBox - -int - -GoalsConcededOutsideBox - -int - -SavesMadefromInsideBox - -int - -SavesMadefromOutsideBox - -int - -SavesfromPenalty - -int - -Catches - -int - -Punches - -int - -Drops - -int - -CrossesnotClaimed - -int - -GKDistribution - -int - -GKSuccessfulDistribution - -int - -GKUnsuccessfulDistribution - -int - -CleanSheets - -int - -TeamCleansheet - -int - -ErrorleadingtoGoal - -int - -Errorleadingtoattempt - -int - -ChallengeLost - -int - -ShotsOnConceded - -int - -ShotsOnConcededInsideBox - -int - -ShotsOnConcededOutsideBox - -int - -PositioninFormation - -int - -Turnovers - -int - -Dispossessed - -int - -BigChances - -int - -BigChancesFaced - -int - -PassForward - -int - -PassBackward - -int - -PassLeft - -int - -PassRight - -int - -UnsuccessfulBallTouch - -int - -SuccessfulBallTouch - -int - -TakeOnsOverrun - -int - -Touchesopenplayfinalthird - -int - -Touchesopenplayoppbox - -int - -Touchesopenplayoppsixyards - -int - -Team1 - -str - -Team2 - -str + +Actions + +10K rows + +__PK__ + +PK + +FK_Matches_MatchID + +FK + +FK_Players_PlayerID + +FK + +FK_Teams_TeamID + +FK + +shot_eff + +float + +passes_eff + +float + +tackle_eff + +float + +dribble_eff + +float + +PlayerID + +int + +MatchID + +int + +TeamID + +int + +FirstGoal + +int + +WinningGoal + +int + +ShotsonTargetincgoals + +int + +SavesMade + +int + +TimePlayed + +int + +PositionID + +int + +Starts + +int + +SubstituteOn + +int + +SubstituteOff + +int + +Goals + +int + +ShotsOffTargetincwoodwork + +int + +BlockedShots + +int + +PenaltiesTaken + +int + +PenaltyGoals + +int + +PenaltiesSaved + +int + +PenaltiesOffTarget + +int + +PenaltiesNotScored + +int + +DirectFreekickGoals + +int + +DirectFreekickOnTarget + +int + +DirectFreekickOffTarget + +int + +BlockedDirectFreekick + +int + +GoalsfromInsideBox + +int + +ShotsOnfromInsideBox + +int + +ShotsOfffromInsideBox + +int + +BlockedShotsfromInsideBox + +int + +GoalsfromOutsideBox + +int + +ShotsOnTargetOutsideBox + +int + +ShotsOffTargetOutsideBox + +int + +BlockedShotsOutsideBox + +int + +HeadedGoals + +int + +HeadedShotsOnTarget + +int + +HeadedShotsOffTarget + +int + +HeadedBlockedShots + +int + +LeftFootGoals + +int + +LeftFootShotsOnTarget + +int + +LeftFootShotsOffTarget + +int + +LeftFootBlockedShots + +int + +RightFootGoals + +int + +RightFootShotsOnTarget + +int + +RightFootShotsOffTarget + +int + +RightFootBlockedShots + +int + +OtherGoals + +int + +OtherShotsOnTarget + +int + +OtherShotsOffTarget + +int + +OtherBlockedShots + +int + +ShotsClearedoffLine + +int + +ShotsClearedoffLineInsideArea + +int + +ShotsClearedoffLineOutsideArea + +int + +GoalsOpenPlay + +int + +GoalsfromCorners + +int + +GoalsfromThrows + +int + +GoalsfromDirectFreeKick + +int + +GoalsfromSetPlay + +int + +Goalsfrompenalties + +int + +AttemptsOpenPlayontarget + +int + +AttemptsfromCornersontarget + +int + +AttemptsfromThrowsontarget + +int + +AttemptsfromDirectFreeKickontarget + +int + +AttemptsfromSetPlayontarget + +int + +AttemptsfromPenaltiesontarget + +int + +AttemptsOpenPlayofftarget + +int + +AttemptsfromCornersofftarget + +int + +AttemptsfromThrowsofftarget + +int + +AttemptsfromDirectFreeKickofftarget + +int + +AttemptsfromSetPlayofftarget + +int + +AttemptsfromPenaltiesofftarget + +int + +Goalsasasubstitute + +int + +TotalSuccessfulPassesAll + +int + +TotalUnsuccessfulPassesAll + +int + +Assists + +int + +KeyPasses + +int + +TotalSuccessfulPassesExclCrossesCorners + +int + +TotalUnsuccessfulPassesExclCrossesCorners + +int + +SuccessfulPassesOwnHalf + +int + +UnsuccessfulPassesOwnHalf + +int + +SuccessfulPassesOppositionHalf + +int + +UnsuccessfulPassesOppositionHalf + +int + +SuccessfulPassesDefensivethird + +int + +UnsuccessfulPassesDefensivethird + +int + +SuccessfulPassesMiddlethird + +int + +UnsuccessfulPassesMiddlethird + +int + +SuccessfulPassesFinalthird + +int + +UnsuccessfulPassesFinalthird + +int + +SuccessfulShortPasses + +int + +UnsuccessfulShortPasses + +int + +SuccessfulLongPasses + +int + +UnsuccessfulLongPasses + +int + +SuccessfulFlickOns + +int + +UnsuccessfulFlickOns + +int + +SuccessfulCrossesCorners + +int + +UnsuccessfulCrossesCorners + +int + +CornersTakeninclshortcorners + +int + +CornersConceded + +int + +SuccessfulCornersintoBox + +int + +UnsuccessfulCornersintoBox + +int + +ShortCorners + +int + +ThrowInstoOwnPlayer + +int + +ThrowInstoOppositionPlayer + +int + +SuccessfulDribbles + +int + +UnsuccessfulDribbles + +int + +SuccessfulCrossesCornersLeft + +int + +UnsuccessfulCrossesCornersLeft + +int + +SuccessfulCrossesLeft + +int + +UnsuccessfulCrossesLeft + +int + +SuccessfulCornersLeft + +int + +UnsuccessfulCornersLeft + +int + +SuccessfulCrossesCornersRight + +int + +UnsuccessfulCrossesCornersRight + +int + +SuccessfulCrossesRight + +int + +UnsuccessfulCrossesRight + +int + +SuccessfulCornersRight + +int + +UnsuccessfulCornersRight + +int + +SuccessfulLongBalls + +int + +UnsuccessfulLongBalls + +int + +SuccessfulLayOffs + +int + +UnsuccessfulLayOffs + +int + +ThroughBall + +int + +SuccessfulCrossesCornersintheair + +int + +UnsuccessfulCrossesCornersintheair + +int + +Successfulcrossesintheair + +int + +Unsuccessfulcrossesintheair + +int + +Successfulopenplaycrosses + +int + +Unsuccessfulopenplaycrosses + +int + +Touches + +int + +GoalAssistCorner + +int + +GoalAssistFreeKick + +int + +GoalAssistThrowIn + +int + +GoalAssistGoalKick + +int + +GoalAssistSetPiece + +int + +KeyCorner + +int + +KeyFreeKick + +int + +KeyThrowIn + +int + +KeyGoalKick + +int + +KeySetPieces + +int + +Duelswon + +int + +Duelslost + +int + +AerialDuelswon + +int + +AerialDuelslost + +int + +GroundDuelswon + +int + +GroundDuelslost + +int + +TacklesWon + +int + +TacklesLost + +int + +LastManTackle + +int + +TotalClearances + +int + +HeadedClearances + +int + +OtherClearances + +int + +ClearancesOfftheLine + +int + +Blocks + +int + +Interceptions + +int + +Recoveries + +int + +TotalFoulsConceded + +int + +FoulsConcededexchandballspens + +int + +TotalFoulsWon + +int + +FoulsWoninDangerAreaincpens + +int + +FoulsWonnotindangerarea + +int + +FoulWonPenalty + +int + +HandballsConceded + +int + +PenaltiesConceded + +int + +Offsides + +int + +YellowCards + +int + +RedCards + +int + +GoalsConceded + +int + +GoalsConcededInsideBox + +int + +GoalsConcededOutsideBox + +int + +SavesMadefromInsideBox + +int + +SavesMadefromOutsideBox + +int + +SavesfromPenalty + +int + +Catches + +int + +Punches + +int + +Drops + +int + +CrossesnotClaimed + +int + +GKDistribution + +int + +GKSuccessfulDistribution + +int + +GKUnsuccessfulDistribution + +int + +CleanSheets + +int + +TeamCleansheet + +int + +ErrorleadingtoGoal + +int + +Errorleadingtoattempt + +int + +ChallengeLost + +int + +ShotsOnConceded + +int + +ShotsOnConcededInsideBox + +int + +ShotsOnConcededOutsideBox + +int + +PositioninFormation + +int + +Turnovers + +int + +Dispossessed + +int + +BigChances + +int + +BigChancesFaced + +int + +PassForward + +int + +PassBackward + +int + +PassLeft + +int + +PassRight + +int + +UnsuccessfulBallTouch + +int + +SuccessfulBallTouch + +int + +TakeOnsOverrun + +int + +Touchesopenplayfinalthird + +int + +Touchesopenplayoppbox + +int + +Touchesopenplayoppsixyards + +int + +Team1 + +str + +Team2 + +str Matches - -Matches - -380 rows - -__PK__ - -PK - -FK_Teams_TeamAwayID - -FK - -FK_Teams_TeamHomeID - -FK - -Date - -TIME - -TeamHomeID - -int - -TeamAwayID - -int - -TeamHomeFormation - -int - -TeamAwayFormation - -int - -ResultOfTeamHome - -int + +Matches + +380 rows + +__PK__ + +PK + +FK_Teams_TeamAwayID + +FK + +FK_Teams_TeamHomeID + +FK + +Date + +TIME + +TeamHomeID + +int + +TeamAwayID + +int + +TeamHomeFormation + +int + +TeamAwayFormation + +int + +ResultOfTeamHome + +int Players - -Players - -539 rows - -__PK__ - -PK - -Name - -str + +Players + +539 rows + +__PK__ + +PK + +Name + +str diff --git a/ctu-restbase/README.md b/ctu-restbase/README.md index cd596573b0f9ce5af536d31c2ca7329da57a7e89..61923178965540c47e4f31cc82ab4c3c31bb05d2 100644 --- a/ctu-restbase/README.md +++ b/ctu-restbase/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-restbase ---- - # ctu-restbase A database of restaurants in the San Francisco Bay Area. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ A database of restaurants in the San Francisco Bay Area. Sourced from the CTU Pr ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-restbase") -task = relbench.load_task("ctu-restbase", "") +ds = relbench.load_dataset("relbench/redelex/ctu-restbase") +task = relbench.load_task("relbench/redelex/ctu-restbase", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-restbase/schema.svg b/ctu-restbase/schema.svg index 5c796e658c382580ef765baab127a140a9f9b242..d571d8cf61eca0542fab5d6caf4ae36b776f2453 100644 --- a/ctu-restbase/schema.svg +++ b/ctu-restbase/schema.svg @@ -1,104 +1,104 @@ - - + + schema generalinfo:e->geographic:w - + location:e->generalinfo:w - + location:e->geographic:w - + generalinfo - -generalinfo - -10K rows - -__PK__ - -PK - -FK_geographic_city - -FK - -review - -float - -label - -str - -food_type - -str - -city - -str + +generalinfo + +10K rows + +__PK__ + +PK + +FK_geographic_city + +FK + +review + +float + +label + +str + +food_type + +str + +city + +str geographic - -geographic - -168 rows - -__PK__ - -PK - -city - -str - -county - -str - -region - -str + +geographic + +168 rows + +__PK__ + +PK + +city + +str + +county + +str + +region + +str location - -location - -10K rows - -__PK__ - -PK - -FK_geographic_city - -FK - -FK_generalinfo_id_restaurant - -FK - -street_num - -int - -street_name - -str - -city - -str + +location + +10K rows + +__PK__ + +PK + +FK_geographic_city + +FK + +FK_generalinfo_id_restaurant + +FK + +street_num + +int + +street_name + +str + +city + +str diff --git a/ctu-sakila/README.md b/ctu-sakila/README.md index 44b6acd0d0fe419197a374e6c652102f26d75b19..dd4e4ccbde47ecda6cb2fc4f003dcffe214ace71 100644 --- a/ctu-sakila/README.md +++ b/ctu-sakila/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-sakila ---- - # ctu-sakila The Sakila sample database is designed to represent a DVD rental store. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The Sakila sample database is designed to represent a DVD rental store. Sourced ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2005-08-19 00:00:00`, test `2005-08-21 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2005-08-19 00:00:00`, test `2005-08-21 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-sakila") -task = relbench.load_task("ctu-sakila", "") +ds = relbench.load_dataset("relbench/redelex/ctu-sakila") +task = relbench.load_task("relbench/redelex/ctu-sakila", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-sakila/schema.svg b/ctu-sakila/schema.svg index b8da9d3234021a44cbd0a55b27ce3e75b76b2e11..bf195feef8366e5ea92c99e097f87b2ea196ceb8 100644 --- a/ctu-sakila/schema.svg +++ b/ctu-sakila/schema.svg @@ -1,680 +1,680 @@ - - + + schema customer:e->store:w - + customer:e->address:w - + film:e->language:w - + film:e->language:w - + staff:e->store:w - + staff:e->address:w - + film_text:e->film:w - + film_actor:e->film:w - + film_actor:e->actor:w - + rental:e->customer:w - + rental:e->staff:w - + rental:e->inventory:w - + city:e->country:w - + store:e->staff:w - + store:e->address:w - + payment:e->customer:w - + payment:e->staff:w - + payment:e->rental:w - + address:e->city:w - + film_category:e->film:w - + film_category:e->category:w - + inventory:e->film:w - + inventory:e->store:w - + customer - -customer - -599 rows - -__PK__ - -PK - -FK_address_address_id - -FK - -FK_store_store_id - -FK - -store_id - -int - -address_id - -int - -active - -int - -first_name - -str - -last_name - -str - -email - -str - -create_date - -datetime - -last_update - -datetime + +customer + +599 rows + +__PK__ + +PK + +FK_address_address_id + +FK + +FK_store_store_id + +FK + +store_id + +int + +address_id + +int + +active + +int + +first_name + +str + +last_name + +str + +email + +str + +create_date + +datetime + +last_update + +datetime store - -store - -2 rows - -__PK__ - -PK - -FK_address_address_id - -FK - -FK_staff_manager_staff_id - -FK - -manager_staff_id - -int - -address_id - -int - -last_update - -datetime + +store + +2 rows + +__PK__ + +PK + +FK_address_address_id + +FK + +FK_staff_manager_staff_id + +FK + +manager_staff_id + +int + +address_id + +int + +last_update + +datetime address - -address - -603 rows - -__PK__ - -PK - -FK_city_city_id - -FK - -city_id - -int - -address - -str - -address2 - -str - -district - -str - -postal_code - -str - -phone - -str - -last_update - -datetime + +address + +603 rows + +__PK__ + +PK + +FK_city_city_id + +FK + +city_id + +int + +address + +str + +address2 + +str + +district + +str + +postal_code + +str + +phone + +str + +last_update + +datetime film - -film - -1K rows - -__PK__ - -PK - -FK_language_language_id - -FK - -FK_language_original_language_id - -FK - -rental_rate - -float - -replacement_cost - -float - -release_year - -int - -language_id - -int - -original_language_id - -int - -rental_duration - -int - -length - -int - -title - -str - -description - -str - -special_features - -str - -rating - -dictionary<values=string, indices=int8, ordered=0> - -last_update - -datetime + +film + +1K rows + +__PK__ + +PK + +FK_language_language_id + +FK + +FK_language_original_language_id + +FK + +rental_rate + +float + +replacement_cost + +float + +release_year + +int + +language_id + +int + +original_language_id + +int + +rental_duration + +int + +length + +int + +title + +str + +description + +str + +special_features + +str + +rating + +dictionary<values=string, indices=int8, ordered=0> + +last_update + +datetime language - -language - -6 rows - -__PK__ - -PK - -name - -str - -last_update - -datetime + +language + +6 rows + +__PK__ + +PK + +name + +str + +last_update + +datetime staff - -staff - -2 rows - -__PK__ - -PK - -FK_address_address_id - -FK - -FK_store_store_id - -FK - -address_id - -int - -store_id - -int - -active - -int - -first_name - -str - -last_name - -str - -email - -str - -username - -str - -password - -str - -picture - -binary - -last_update - -datetime + +staff + +2 rows + +__PK__ + +PK + +FK_address_address_id + +FK + +FK_store_store_id + +FK + +address_id + +int + +store_id + +int + +active + +int + +first_name + +str + +last_name + +str + +email + +str + +username + +str + +password + +str + +picture + +binary + +last_update + +datetime category - -category - -16 rows - -__PK__ - -PK - -name - -str - -last_update - -datetime + +category + +16 rows + +__PK__ + +PK + +name + +str + +last_update + +datetime film_text - -film_text - -1K rows - -__PK__ - -PK - -FK_film_film_id - -FK - -title - -str - -description - -str + +film_text + +1K rows + +__PK__ + +PK + +FK_film_film_id + +FK + +title + +str + +description + +str film_actor - -film_actor - -5K rows - -__PK__ - -PK - -FK_actor_actor_id - -FK - -FK_film_film_id - -FK - -actor_id - -int - -film_id - -int - -last_update - -datetime + +film_actor + +5K rows + +__PK__ + +PK + +FK_actor_actor_id + +FK + +FK_film_film_id + +FK + +actor_id + +int + +film_id + +int + +last_update + +datetime actor - -actor - -200 rows - -__PK__ - -PK - -first_name - -str - -last_name - -str - -last_update - -datetime + +actor + +200 rows + +__PK__ + +PK + +first_name + +str + +last_name + +str + +last_update + +datetime rental - -rental - -16K rows - -__PK__ - -PK - -FK_customer_customer_id - -FK - -FK_inventory_inventory_id - -FK - -FK_staff_staff_id - -FK - -rental_date - -TIME - -inventory_id - -int - -customer_id - -int - -staff_id - -int - -return_date - -datetime - -last_update - -datetime + +rental + +16K rows + +__PK__ + +PK + +FK_customer_customer_id + +FK + +FK_inventory_inventory_id + +FK + +FK_staff_staff_id + +FK + +rental_date + +TIME + +inventory_id + +int + +customer_id + +int + +staff_id + +int + +return_date + +datetime + +last_update + +datetime inventory - -inventory - -5K rows - -__PK__ - -PK - -FK_film_film_id - -FK - -FK_store_store_id - -FK - -film_id - -int - -store_id - -int - -last_update - -datetime + +inventory + +5K rows + +__PK__ + +PK + +FK_film_film_id + +FK + +FK_store_store_id + +FK + +film_id + +int + +store_id + +int + +last_update + +datetime city - -city - -600 rows - -__PK__ - -PK - -FK_country_country_id - -FK - -country_id - -int - -city - -str - -last_update - -datetime + +city + +600 rows + +__PK__ + +PK + +FK_country_country_id + +FK + +country_id + +int + +city + +str + +last_update + +datetime country - -country - -109 rows - -__PK__ - -PK - -country - -str - -last_update - -datetime + +country + +109 rows + +__PK__ + +PK + +country + +str + +last_update + +datetime payment - -payment - -16K rows - -__PK__ - -PK - -FK_customer_customer_id - -FK - -FK_rental_rental_id - -FK - -FK_staff_staff_id - -FK - -payment_date - -TIME - -amount - -float - -customer_id - -int - -staff_id - -int - -rental_id - -int - -last_update - -datetime + +payment + +16K rows + +__PK__ + +PK + +FK_customer_customer_id + +FK + +FK_rental_rental_id + +FK + +FK_staff_staff_id + +FK + +payment_date + +TIME + +amount + +float + +customer_id + +int + +staff_id + +int + +rental_id + +int + +last_update + +datetime film_category - -film_category - -1K rows - -__PK__ - -PK - -FK_category_category_id - -FK - -FK_film_film_id - -FK - -film_id - -int - -category_id - -int - -last_update - -datetime + +film_category + +1K rows + +__PK__ + +PK + +FK_category_category_id + +FK + +FK_film_film_id + +FK + +film_id + +int + +category_id + +int + +last_update + +datetime diff --git a/ctu-sales/README.md b/ctu-sales/README.md index 51c518f2c5c41697ff1bf2471e123331670e4dd4..8a29af2a911dc2a5765b1c7e031cfa18a3c894ce 100644 --- a/ctu-sales/README.md +++ b/ctu-sales/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-sales ---- - # ctu-sales A simple artificial database in star schema. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ A simple artificial database in star schema. Sourced from the CTU Prague Relatio ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-sales") -task = relbench.load_task("ctu-sales", "") +ds = relbench.load_dataset("relbench/redelex/ctu-sales") +task = relbench.load_task("relbench/redelex/ctu-sales", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-sales/schema.svg b/ctu-sales/schema.svg index 2d8a2057a59381d557110cc7c4734cb0447d20c8..ac6af10ccd863c7816fde12f595a85d6702fa2ff 100644 --- a/ctu-sales/schema.svg +++ b/ctu-sales/schema.svg @@ -1,124 +1,124 @@ - - + + schema Sales:e->Employees:w - + Sales:e->Products:w - + Sales:e->Customers:w - + Employees - -Employees - -23 rows - -__PK__ - -PK - -FirstName - -str - -MiddleInitial - -str - -LastName - -str + +Employees + +23 rows + +__PK__ + +PK + +FirstName + +str + +MiddleInitial + +str + +LastName + +str Sales - -Sales - -7M rows - -__PK__ - -PK - -FK_Employees_SalesPersonID - -FK - -FK_Customers_CustomerID - -FK - -FK_Products_ProductID - -FK - -SalesPersonID - -int - -CustomerID - -int - -ProductID - -int - -Quantity - -int + +Sales + +7M rows + +__PK__ + +PK + +FK_Employees_SalesPersonID + +FK + +FK_Customers_CustomerID + +FK + +FK_Products_ProductID + +FK + +SalesPersonID + +int + +CustomerID + +int + +ProductID + +int + +Quantity + +int Products - -Products - -504 rows - -__PK__ - -PK - -Price - -float - -Name - -str + +Products + +504 rows + +__PK__ + +PK + +Price + +float + +Name + +str Customers - -Customers - -20K rows - -__PK__ - -PK - -FirstName - -str - -MiddleInitial - -str - -LastName - -str + +Customers + +20K rows + +__PK__ + +PK + +FirstName + +str + +MiddleInitial + +str + +LastName + +str diff --git a/ctu-samegen/README.md b/ctu-samegen/README.md index 8b23b5ee8c20c280c0d4ed3e14345d84f55a2c83..722ac3eae8356d77cc61b95e4cb4999b93391f0e 100644 --- a/ctu-samegen/README.md +++ b/ctu-samegen/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-samegen ---- - # ctu-samegen Small database of family relations. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,16 +6,10 @@ Small database of family relations. Sourced from the CTU Prague Relational Learn ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Loading ```python import relbench -ds = relbench.load_dataset("ctu-samegen") -task = relbench.load_task("ctu-samegen", "") +ds = relbench.load_dataset("relbench/redelex/ctu-samegen") +task = relbench.load_task("relbench/redelex/ctu-samegen", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-samegen/schema.svg b/ctu-samegen/schema.svg index b3df1c4f5fc78eec7f811a9cead3e5c2d15c871b..b7936ea4387abfb0085740a54f41c88e730151e3 100644 --- a/ctu-samegen/schema.svg +++ b/ctu-samegen/schema.svg @@ -1,132 +1,132 @@ - - + + schema parent:e->person:w - + parent:e->person:w - + target:e->person:w - + target:e->person:w - + same_gen:e->person:w - + same_gen:e->person:w - + parent - -parent - -64 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +parent + +64 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str person - -person - -47 rows - -__PK__ - -PK - -name - -str + +person + +47 rows + +__PK__ + +PK + +name + +str target - -target - -1K rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -target - -int - -name1 - -str - -name2 - -str + +target + +1K rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +target + +int + +name1 + +str + +name2 + +str same_gen - -same_gen - -344 rows - -__PK__ - -PK - -FK_person_name1 - -FK - -FK_person_name2 - -FK - -name1 - -str - -name2 - -str + +same_gen + +344 rows + +__PK__ + +PK + +FK_person_name1 + +FK + +FK_person_name2 + +FK + +name1 + +str + +name2 + +str diff --git a/ctu-sap/README.md b/ctu-sap/README.md index aa890adffa2e6b68a0f8c07c0beb6a40612a1a1b..0d0f4aab4fd7306ff4169f5efa4399e3cbab5398 100644 --- a/ctu-sap/README.md +++ b/ctu-sap/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-sap ---- - # ctu-sap Syntetic dataset containing information about sales of a Credit++. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,24 +6,18 @@ Syntetic dataset containing information about sales of a Credit++. Sourced from ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2007-06-10 00:00:00`, test `2007-06-20 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | |---|---|---|---| | `sap-original` | external | binary_classification | Predict the binary `RESPONSE` label of each `Mailings`. (random split) | -| `sap-sales` | external | regression | Predict the `AMOUNT` of each `Sales`. (random split) | | `sap-sales-temporal` | external | regression | Predict the `AMOUNT` of each `Sales`. (temporal split) | +| `sap-sales` | external | regression | Predict the `AMOUNT` of each `Sales`. (random split) | ## Loading ```python import relbench -ds = relbench.load_dataset("ctu-sap") -task = relbench.load_task("ctu-sap", "") +ds = relbench.load_dataset("relbench/redelex/ctu-sap") +task = relbench.load_task("relbench/redelex/ctu-sap", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-sap/schema.svg b/ctu-sap/schema.svg index 2461034aacdafa4ea0419e3a47bbf88b6a4c23c3..ab4cc5bbb91a4076f7dd640dc24588ec96c47f07 100644 --- a/ctu-sap/schema.svg +++ b/ctu-sap/schema.svg @@ -1,216 +1,216 @@ - - + + schema Customers:e->Demog:w - + Sales:e->Customers:w - + Mailings:e->Customers:w - + Customers - -Customers - -360K rows - -__PK__ - -PK - -FK_Demog_GEOID - -FK - -DATA1 - -float - -DATA2 - -float - -DATA3 - -float - -EDUCATIONNUM - -int - -age - -int - -SEX - -str - -MARITAL_STATUS - -str - -OCCUPATION - -str - -NOM1 - -str - -NOM2 - -str - -NOM3 - -str + +Customers + +360K rows + +__PK__ + +PK + +FK_Demog_GEOID + +FK + +DATA1 + +float + +DATA2 + +float + +DATA3 + +float + +EDUCATIONNUM + +int + +age + +int + +SEX + +str + +MARITAL_STATUS + +str + +OCCUPATION + +str + +NOM1 + +str + +NOM2 + +str + +NOM3 + +str Demog - -Demog - -200 rows - -__PK__ - -PK - -INHABITANTS_K - -float - -INCOME_K - -float - -A_VAR1 - -float - -A_VAR2 - -float - -A_VAR3 - -float - -A_VAR4 - -float - -A_VAR5 - -float - -A_VAR6 - -float - -A_VAR7 - -float - -A_VAR8 - -float - -A_VAR9 - -float - -A_VAR10 - -float - -A_VAR11 - -float - -A_VAR12 - -float - -A_VAR13 - -float - -A_VAR14 - -float - -A_VAR15 - -float - -A_VAR16 - -float - -A_VAR17 - -float - -A_VAR18 - -float + +Demog + +200 rows + +__PK__ + +PK + +INHABITANTS_K + +float + +INCOME_K + +float + +A_VAR1 + +float + +A_VAR2 + +float + +A_VAR3 + +float + +A_VAR4 + +float + +A_VAR5 + +float + +A_VAR6 + +float + +A_VAR7 + +float + +A_VAR8 + +float + +A_VAR9 + +float + +A_VAR10 + +float + +A_VAR11 + +float + +A_VAR12 + +float + +A_VAR13 + +float + +A_VAR14 + +float + +A_VAR15 + +float + +A_VAR16 + +float + +A_VAR17 + +float + +A_VAR18 + +float Sales - -Sales - -3M rows - -__PK__ - -PK - -FK_Customers_REFID - -FK - -EVENT_DATE - -TIME - -AMOUNT - -float + +Sales + +3M rows + +__PK__ + +PK + +FK_Customers_REFID + +FK + +EVENT_DATE + +TIME + +AMOUNT + +float Mailings - -Mailings - -360K rows - -__PK__ - -PK - -FK_Customers_REFID - -FK - -REF_DATE - -TIME - -RESPONSE - -str + +Mailings + +360K rows + +__PK__ + +PK + +FK_Customers_REFID + +FK + +REF_DATE + +TIME + +RESPONSE + +str diff --git a/ctu-satellite/README.md b/ctu-satellite/README.md index 565d93993792560e8fab78be487a81e181441fc5..1df35f9bebe61c581aa4d50001e952f089baf79c 100644 --- a/ctu-satellite/README.md +++ b/ctu-satellite/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-satellite ---- - # ctu-satellite Communications satellite data. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,16 +6,10 @@ Communications satellite data. Sourced from the CTU Prague Relational Learning R ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Loading ```python import relbench -ds = relbench.load_dataset("ctu-satellite") -task = relbench.load_task("ctu-satellite", "") +ds = relbench.load_dataset("relbench/redelex/ctu-satellite") +task = relbench.load_task("relbench/redelex/ctu-satellite", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-satellite/schema.svg b/ctu-satellite/schema.svg index c8ef477050c43b452c39601e12de18c2f2fbe3ac..9a45c9b2555a8509820cca396971032450d98508 100644 --- a/ctu-satellite/schema.svg +++ b/ctu-satellite/schema.svg @@ -1,952 +1,952 @@ - - + + schema tm002_battov_temp:e->time:w - + fault_test:e->time:w - + tm018_switch:e->time:w - + tm011_eod_override:e->time:w - + tm222_charging:e->time:w - + tm070_supply_3c:e->time:w - + tm220_supply_1c:e->time:w - + tm013_switch:e->time:w - + tm058_asr_or_switch_10:e->time:w - + succ:e->time:w - + succ:e->time:w - + tm015_eod_signaled:e->time:w - + tm057_supply_2c:e->time:w - + tm042_switch:e->time:w - + tm007_switch:e->time:w - + tm257_battery_voltage:e->time:w - + tm043_switch:e->time:w - + tm001_eod_relay:e->time:w - + tm038_switch:e->time:w - + tm211_bus_voltage:e->time:w - + tm004_eoc_signaled:e->time:w - + tm040_switch:e->time:w - + tm039_eod_disabled:e->time:w - + tm031_switch:e->time:w - + tm071_asr_or_switch_20:e->time:w - + tm055_supply_1b:e->time:w - + tm022_switch:e->time:w - + fault:e->time:w - + tm017_switch:e->time:w - + tm054_supply_1a:e->time:w - + tm029_ovt_disabled:e->time:w - + tm021_eoc_disabled:e->time:w - + tm009_switch:e->time:w - + gmt_mission_phase:e->time:w - + tm002_battov_temp - -tm002_battov_temp - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm002_battov_temp + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str time - -time - -1K rows - -__PK__ - -PK - -tm - -int + +time + +1K rows + +__PK__ + +PK + +tm + +int fault_test - -fault_test - -724 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -tf - -str + +fault_test + +724 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +tf + +str tm018_switch - -tm018_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm018_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm011_eod_override - -tm011_eod_override - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm011_eod_override + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm222_charging - -tm222_charging - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm222_charging + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm070_supply_3c - -tm070_supply_3c - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm070_supply_3c + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm220_supply_1c - -tm220_supply_1c - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm220_supply_1c + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm013_switch - -tm013_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm013_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm058_asr_or_switch_10 - -tm058_asr_or_switch_10 - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm058_asr_or_switch_10 + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str succ - -succ - -1K rows - -__PK__ - -PK - -FK_time_tm1 - -FK - -FK_time_tm2 - -FK - -tm1 - -int - -tm2 - -int + +succ + +1K rows + +__PK__ + +PK + +FK_time_tm1 + +FK + +FK_time_tm2 + +FK + +tm1 + +int + +tm2 + +int tm015_eod_signaled - -tm015_eod_signaled - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm015_eod_signaled + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm057_supply_2c - -tm057_supply_2c - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm057_supply_2c + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm042_switch - -tm042_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm042_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm007_switch - -tm007_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm007_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm257_battery_voltage - -tm257_battery_voltage - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm257_battery_voltage + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm043_switch - -tm043_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm043_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm001_eod_relay - -tm001_eod_relay - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm001_eod_relay + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm038_switch - -tm038_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm038_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm211_bus_voltage - -tm211_bus_voltage - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm211_bus_voltage + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm004_eoc_signaled - -tm004_eoc_signaled - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm004_eoc_signaled + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm040_switch - -tm040_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm040_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm039_eod_disabled - -tm039_eod_disabled - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm039_eod_disabled + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm031_switch - -tm031_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm031_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm071_asr_or_switch_20 - -tm071_asr_or_switch_20 - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm071_asr_or_switch_20 + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm055_supply_1b - -tm055_supply_1b - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm055_supply_1b + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm022_switch - -tm022_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm022_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str fault - -fault - -76 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -tf - -str + +fault + +76 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +tf + +str tm017_switch - -tm017_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm017_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm054_supply_1a - -tm054_supply_1a - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm054_supply_1a + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm029_ovt_disabled - -tm029_ovt_disabled - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm029_ovt_disabled + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm021_eoc_disabled - -tm021_eoc_disabled - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm021_eoc_disabled + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str tm009_switch - -tm009_switch - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -class - -str + +tm009_switch + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +class + +str gmt_mission_phase - -gmt_mission_phase - -560 rows - -__PK__ - -PK - -FK_time_tm - -FK - -tm - -int - -state - -str + +gmt_mission_phase + +560 rows + +__PK__ + +PK + +FK_time_tm + +FK + +tm + +int + +state + +str diff --git a/ctu-seznam/README.md b/ctu-seznam/README.md index cf08bd6cc549fbff85b60fe1f05353f8bc3520ab..928226799283bf4d57a262fcb7caefa5fec7663f 100644 --- a/ctu-seznam/README.md +++ b/ctu-seznam/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-seznam ---- - # ctu-seznam Seznam.cz is a web portal and search engine in the Czech Republic. The data represent online advertisement expenditures from Seznam's "wallet". Table description: client: location and domain field of the client (anonymized) dobito: prepaid into a wallet in Czech currency probehnuto: charged from the wallet in Czech currency probehnuto_mimo_penezenku: charged in Czech currency, but not from the wallet. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Seznam.cz is a web portal and search engine in the Czech Republic. The data repr ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2015-03-01 00:00:00`, test `2015-07-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2015-03-01 00:00:00`, test `2015-07-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-seznam") -task = relbench.load_task("ctu-seznam", "") +ds = relbench.load_dataset("relbench/redelex/ctu-seznam") +task = relbench.load_task("relbench/redelex/ctu-seznam", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-seznam/schema.svg b/ctu-seznam/schema.svg index bb913512c7703d78c4e7b163132c571dfb87b340..3a17b7310a8e4417c4d9036d61a7e68d3f7f3d32 100644 --- a/ctu-seznam/schema.svg +++ b/ctu-seznam/schema.svg @@ -1,128 +1,128 @@ - - + + schema probehnuto_mimo_penezenku:e->client:w - + probehnuto:e->client:w - + dobito:e->client:w - + probehnuto_mimo_penezenku - -probehnuto_mimo_penezenku - -599K rows - -__PK__ - -PK - -FK_client_client_id - -FK - -Month_Year - -TIME - -client_id - -int - -probehla_inzerce_mimo_penezenku - -str + +probehnuto_mimo_penezenku + +599K rows + +__PK__ + +PK + +FK_client_client_id + +FK + +Month_Year + +TIME + +client_id + +int + +probehla_inzerce_mimo_penezenku + +str client - -client - -73K rows - -__PK__ - -PK - -kraj - -str - -obor - -str + +client + +73K rows + +__PK__ + +PK + +kraj + +str + +obor + +str probehnuto - -probehnuto - -1M rows - -__PK__ - -PK - -FK_client_client_id - -FK - -month_year_datum_transakce - -TIME - -kc_proklikano - -float - -client_id - -int - -sluzba - -str + +probehnuto + +1M rows + +__PK__ + +PK + +FK_client_client_id + +FK + +month_year_datum_transakce + +TIME + +kc_proklikano + +float + +client_id + +int + +sluzba + +str dobito - -dobito - -554K rows - -__PK__ - -PK - -FK_client_client_id - -FK - -month_year_datum_transakce - -TIME - -kc_dobito - -float - -client_id - -int - -sluzba - -str + +dobito + +554K rows + +__PK__ + +PK + +FK_client_client_id + +FK + +month_year_datum_transakce + +TIME + +kc_dobito + +float + +client_id + +int + +sluzba + +str diff --git a/ctu-sfscores/README.md b/ctu-sfscores/README.md index 849da4b61147a328221c2af1b938e0659b78ec66..d091d63911f4ec0d94407efc5fa4769792c72400 100644 --- a/ctu-sfscores/README.md +++ b/ctu-sfscores/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-sfscores ---- - # ctu-sfscores The San Francisco Dept. of Public Health's database of eateries, inspections of those eateries, and violations found during the inspections. The scores of inspections range from 1 to 100, where 100 means that the establishment meets all required standards. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The San Francisco Dept. of Public Health's database of eateries, inspections of ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2016-03-01 00:00:00`, test `2016-07-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2016-03-01 00:00:00`, test `2016-07-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-sfscores") -task = relbench.load_task("ctu-sfscores", "") +ds = relbench.load_dataset("relbench/redelex/ctu-sfscores") +task = relbench.load_task("relbench/redelex/ctu-sfscores", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-sfscores/schema.svg b/ctu-sfscores/schema.svg index a45428da970903aa2cb6b05fbdb7cf3800091df5..c11bdd8ad149a2b20b9ee6edd9709b4c28e886e2 100644 --- a/ctu-sfscores/schema.svg +++ b/ctu-sfscores/schema.svg @@ -1,152 +1,152 @@ - - + + schema violations:e->businesses:w - + inspections:e->businesses:w - + violations - -violations - -36K rows - -__PK__ - -PK - -FK_businesses_business_id - -FK - -date - -TIME - -business_id - -int - -violation_type_id - -str - -risk_category - -str - -description - -str + +violations + +36K rows + +__PK__ + +PK + +FK_businesses_business_id + +FK + +date + +TIME + +business_id + +int + +violation_type_id + +str + +risk_category + +str + +description + +str businesses - -businesses - -6K rows - -__PK__ - -PK - -latitude - -float - -longitude - -float - -phone_number - -int - -business_certificate - -int - -name - -str - -address - -str - -city - -str - -postal_code - -str - -tax_code - -str - -owner_name - -str - -owner_address - -str - -owner_city - -str - -owner_state - -str - -owner_zip - -str - -application_date - -datetime + +businesses + +6K rows + +__PK__ + +PK + +latitude + +float + +longitude + +float + +phone_number + +int + +business_certificate + +int + +name + +str + +address + +str + +city + +str + +postal_code + +str + +tax_code + +str + +owner_name + +str + +owner_address + +str + +owner_city + +str + +owner_state + +str + +owner_zip + +str + +application_date + +datetime inspections - -inspections - -24K rows - -__PK__ - -PK - -FK_businesses_business_id - -FK - -date - -TIME - -business_id - -int - -score - -int - -type - -str + +inspections + +24K rows + +__PK__ + +PK + +FK_businesses_business_id + +FK + +date + +TIME + +business_id + +int + +score + +int + +type + +str diff --git a/ctu-shakespeare/README.md b/ctu-shakespeare/README.md index cd711a6f3112892962d0fd63f67f8684e6e13867..31463bee173ed1c219f9839272a2f3801dabcea7 100644 --- a/ctu-shakespeare/README.md +++ b/ctu-shakespeare/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-shakespeare ---- - # ctu-shakespeare The Open Source Shakespeare is a collection of Shakespeare's complete works. This is a much more interesting data set than some boring imaginary online retailer. In this dataset, people die! Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,16 +6,10 @@ The Open Source Shakespeare is a collection of Shakespeare's complete works. Thi ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Loading ```python import relbench -ds = relbench.load_dataset("ctu-shakespeare") -task = relbench.load_task("ctu-shakespeare", "") +ds = relbench.load_dataset("relbench/redelex/ctu-shakespeare") +task = relbench.load_task("relbench/redelex/ctu-shakespeare", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-shakespeare/schema.svg b/ctu-shakespeare/schema.svg index 8e9f45c1f4e6610d33263bb65bfd66452c0f58de..7ff9be2536fcccd01c54f0fba5d0856a5b356867 100644 --- a/ctu-shakespeare/schema.svg +++ b/ctu-shakespeare/schema.svg @@ -1,136 +1,136 @@ - - + + schema chapters:e->works:w - + paragraphs:e->chapters:w - + paragraphs:e->characters:w - + chapters - -chapters - -945 rows - -__PK__ - -PK - -FK_works_work_id - -FK - -Act - -int - -Scene - -int - -work_id - -int - -Description - -str + +chapters + +945 rows + +__PK__ + +PK + +FK_works_work_id + +FK + +Act + +int + +Scene + +int + +work_id + +int + +Description + +str works - -works - -43 rows - -__PK__ - -PK - -Date - -int - -Title - -str - -LongTitle - -str - -GenreType - -str + +works + +43 rows + +__PK__ + +PK + +Date + +int + +Title + +str + +LongTitle + +str + +GenreType + +str paragraphs - -paragraphs - -35K rows - -__PK__ - -PK - -FK_characters_character_id - -FK - -FK_chapters_chapter_id - -FK - -ParagraphNum - -int - -character_id - -int - -chapter_id - -int - -PlainText - -str + +paragraphs + +35K rows + +__PK__ + +PK + +FK_characters_character_id + +FK + +FK_chapters_chapter_id + +FK + +ParagraphNum + +int + +character_id + +int + +chapter_id + +int + +PlainText + +str characters - -characters - -1K rows - -__PK__ - -PK - -CharName - -str - -Abbrev - -str - -Description - -str + +characters + +1K rows + +__PK__ + +PK + +CharName + +str + +Abbrev + +str + +Description + +str diff --git a/ctu-stats/README.md b/ctu-stats/README.md index a9360bb3226448493e29954252a201eb44c2cf70..7291553daad2ed97f74a0ed373cdc6093a45da2a 100644 --- a/ctu-stats/README.md +++ b/ctu-stats/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-stats ---- - # ctu-stats An anonymized dump of all user-contributed content on the Stats Stack Exchange network. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ An anonymized dump of all user-contributed content on the Stats Stack Exchange n ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2014-03-01 00:00:00`, test `2014-06-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2014-03-01 00:00:00`, test `2014-06-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-stats") -task = relbench.load_task("ctu-stats", "") +ds = relbench.load_dataset("relbench/redelex/ctu-stats") +task = relbench.load_task("relbench/redelex/ctu-stats", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-stats/schema.svg b/ctu-stats/schema.svg index 4cc2c3dddfdcdcfb23de6bf8430c5b8e210f0dd2..99d5138290dbdd552cce16953a9fd214a1b032b0 100644 --- a/ctu-stats/schema.svg +++ b/ctu-stats/schema.svg @@ -1,456 +1,456 @@ - - + + schema badges:e->users:w - + tags:e->posts:w - + posts:e->users:w - + posts:e->users:w - + posts:e->posts:w - + votes:e->users:w - + votes:e->posts:w - + comments:e->users:w - + comments:e->posts:w - + postLinks:e->posts:w - + postLinks:e->posts:w - + postHistory:e->users:w - + postHistory:e->posts:w - + badges - -badges - -80K rows - -__PK__ - -PK - -FK_users_UserId - -FK - -Date - -TIME - -UserId - -int - -Name - -str + +badges + +80K rows + +__PK__ + +PK + +FK_users_UserId + +FK + +Date + +TIME + +UserId + +int + +Name + +str users - -users - -40K rows - -__PK__ - -PK - -CreationDate - -TIME - -Reputation - -int - -Views - -int - -UpVotes - -int - -DownVotes - -int - -AccountId - -int - -Age - -int - -DisplayName - -str - -WebsiteUrl - -str - -Location - -str - -AboutMe - -str - -ProfileImageUrl - -str - -LastAccessDate - -datetime + +users + +40K rows + +__PK__ + +PK + +CreationDate + +TIME + +Reputation + +int + +Views + +int + +UpVotes + +int + +DownVotes + +int + +AccountId + +int + +Age + +int + +DisplayName + +str + +WebsiteUrl + +str + +Location + +str + +AboutMe + +str + +ProfileImageUrl + +str + +LastAccessDate + +datetime tags - -tags - -1K rows - -__PK__ - -PK - -FK_posts_ExcerptPostId - -FK - -Count - -int - -ExcerptPostId - -int - -WikiPostId - -int - -TagName - -str + +tags + +1K rows + +__PK__ + +PK + +FK_posts_ExcerptPostId + +FK + +Count + +int + +ExcerptPostId + +int + +WikiPostId + +int + +TagName + +str posts - -posts - -92K rows - -__PK__ - -PK - -FK_users_LastEditorUserId - -FK - -FK_users_OwnerUserId - -FK - -FK_posts_ParentId - -FK - -CreaionDate - -TIME - -PostTypeId - -int - -AcceptedAnswerId - -int - -Score - -int - -ViewCount - -int - -OwnerUserId - -int - -AnswerCount - -int - -CommentCount - -int - -FavoriteCount - -int - -LastEditorUserId - -int - -ParentId - -int - -Body - -str - -Title - -str - -Tags - -str - -OwnerDisplayName - -str - -LastEditorDisplayName - -str - -LasActivityDate - -datetime - -LastEditDate - -datetime - -CommunityOwnedDate - -datetime - -ClosedDate - -datetime + +posts + +92K rows + +__PK__ + +PK + +FK_users_LastEditorUserId + +FK + +FK_users_OwnerUserId + +FK + +FK_posts_ParentId + +FK + +CreaionDate + +TIME + +PostTypeId + +int + +AcceptedAnswerId + +int + +Score + +int + +ViewCount + +int + +OwnerUserId + +int + +AnswerCount + +int + +CommentCount + +int + +FavoriteCount + +int + +LastEditorUserId + +int + +ParentId + +int + +Body + +str + +Title + +str + +Tags + +str + +OwnerDisplayName + +str + +LastEditorDisplayName + +str + +LasActivityDate + +datetime + +LastEditDate + +datetime + +CommunityOwnedDate + +datetime + +ClosedDate + +datetime votes - -votes - -328K rows - -__PK__ - -PK - -FK_posts_PostId - -FK - -FK_users_UserId - -FK - -CreationDate - -TIME - -PostId - -int - -VoteTypeId - -int - -UserId - -int - -BountyAmount - -int + +votes + +328K rows + +__PK__ + +PK + +FK_posts_PostId + +FK + +FK_users_UserId + +FK + +CreationDate + +TIME + +PostId + +int + +VoteTypeId + +int + +UserId + +int + +BountyAmount + +int comments - -comments - -174K rows - -__PK__ - -PK - -FK_posts_PostId - -FK - -FK_users_UserId - -FK - -CreationDate - -TIME - -PostId - -int - -Score - -int - -UserId - -int - -Text - -str - -UserDisplayName - -str + +comments + +174K rows + +__PK__ + +PK + +FK_posts_PostId + +FK + +FK_users_UserId + +FK + +CreationDate + +TIME + +PostId + +int + +Score + +int + +UserId + +int + +Text + +str + +UserDisplayName + +str postLinks - -postLinks - -11K rows - -__PK__ - -PK - -FK_posts_PostId - -FK - -FK_posts_RelatedPostId - -FK - -CreationDate - -TIME - -PostId - -int - -RelatedPostId - -int - -LinkTypeId - -int + +postLinks + +11K rows + +__PK__ + +PK + +FK_posts_PostId + +FK + +FK_posts_RelatedPostId + +FK + +CreationDate + +TIME + +PostId + +int + +RelatedPostId + +int + +LinkTypeId + +int postHistory - -postHistory - -303K rows - -__PK__ - -PK - -FK_posts_PostId - -FK - -FK_users_UserId - -FK - -CreationDate - -TIME - -PostHistoryTypeId - -int - -PostId - -int - -UserId - -int - -RevisionGUID - -str - -Text - -str - -Comment - -str - -UserDisplayName - -str + +postHistory + +303K rows + +__PK__ + +PK + +FK_posts_PostId + +FK + +FK_users_UserId + +FK + +CreationDate + +TIME + +PostHistoryTypeId + +int + +PostId + +int + +UserId + +int + +RevisionGUID + +str + +Text + +str + +Comment + +str + +UserDisplayName + +str diff --git a/ctu-studentloan/README.md b/ctu-studentloan/README.md index 936e5f71b8fbbb4b6a829be98b0c901bc72ff2fa..864ce86e04cbfc12d5c0f83fe5872e38e3291126 100644 --- a/ctu-studentloan/README.md +++ b/ctu-studentloan/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-studentloan ---- - # ctu-studentloan Student Loan contains data about students enrollment and employment status, and the aim is to find rules that define a students' obligation for paying his/her loan back. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Student Loan contains data about students enrollment and employment status, and ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-studentloan") -task = relbench.load_task("ctu-studentloan", "") +ds = relbench.load_dataset("relbench/redelex/ctu-studentloan") +task = relbench.load_task("relbench/redelex/ctu-studentloan", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-studentloan/schema.svg b/ctu-studentloan/schema.svg index 2de3e38758670b4475ee0405c6591c7df62c1e82..f3167fa6272eaf835b7f9ede3efcbfb4d8f65f6e 100644 --- a/ctu-studentloan/schema.svg +++ b/ctu-studentloan/schema.svg @@ -1,256 +1,256 @@ - - + + schema filed_for_bankrupcy:e->person:w - + unemployed:e->person:w - + enrolled:e->person:w - + no_payment_due:e->bool:w - + no_payment_due:e->person:w - + disabled:e->person:w - + male:e->person:w - + longest_absense_from_school:e->person:w - + enlist:e->person:w - + bool - -bool - -2 rows - -__PK__ - -PK - -name - -str + +bool + +2 rows + +__PK__ + +PK + +name + +str person - -person - -1K rows - -__PK__ - -PK - -name - -str + +person + +1K rows + +__PK__ + +PK + +name + +str filed_for_bankrupcy - -filed_for_bankrupcy - -96 rows - -__PK__ - -PK - -FK_person_name - -FK - -name - -str + +filed_for_bankrupcy + +96 rows + +__PK__ + +PK + +FK_person_name + +FK + +name + +str unemployed - -unemployed - -98 rows - -__PK__ - -PK - -FK_person_name - -FK - -name - -str + +unemployed + +98 rows + +__PK__ + +PK + +FK_person_name + +FK + +name + +str enrolled - -enrolled - -1K rows - -__PK__ - -PK - -FK_person_name - -FK - -month - -int - -name - -str - -school - -str + +enrolled + +1K rows + +__PK__ + +PK + +FK_person_name + +FK + +month + +int + +name + +str + +school + +str no_payment_due - -no_payment_due - -1K rows - -__PK__ - -PK - -FK_person_name - -FK - -FK_bool_bool - -FK - -name - -str - -bool - -str + +no_payment_due + +1K rows + +__PK__ + +PK + +FK_person_name + +FK + +FK_bool_bool + +FK + +name + +str + +bool + +str disabled - -disabled - -95 rows - -__PK__ - -PK - -FK_person_name - -FK - -name - -str + +disabled + +95 rows + +__PK__ + +PK + +FK_person_name + +FK + +name + +str male - -male - -497 rows - -__PK__ - -PK - -FK_person_name - -FK - -name - -str + +male + +497 rows + +__PK__ + +PK + +FK_person_name + +FK + +name + +str longest_absense_from_school - -longest_absense_from_school - -1K rows - -__PK__ - -PK - -FK_person_name - -FK - -month - -int - -name - -str + +longest_absense_from_school + +1K rows + +__PK__ + +PK + +FK_person_name + +FK + +month + +int + +name + +str enlist - -enlist - -306 rows - -__PK__ - -PK - -FK_person_name - -FK - -name - -str - -organ - -str + +enlist + +306 rows + +__PK__ + +PK + +FK_person_name + +FK + +name + +str + +organ + +str diff --git a/ctu-thrombosis/README.md b/ctu-thrombosis/README.md index 59f18658a16a7585c1252378f59ead0939a722f1..f080ed81358ed2358fe35074ccf9fa76a1d2ba37 100644 --- a/ctu-thrombosis/README.md +++ b/ctu-thrombosis/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-thrombosis ---- - # ctu-thrombosis PKDD'99 Medical dataset describes 41 patients with Thrombosis. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ PKDD'99 Medical dataset describes 41 patients with Thrombosis. Sourced from the ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `1996-01-01 00:00:00`, test `1997-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `1996-01-01 00:00:00`, test `1997-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-thrombosis") -task = relbench.load_task("ctu-thrombosis", "") +ds = relbench.load_dataset("relbench/redelex/ctu-thrombosis") +task = relbench.load_task("relbench/redelex/ctu-thrombosis", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-thrombosis/schema.svg b/ctu-thrombosis/schema.svg index ba54d7ff85d984e186d8d191c853e965734e6e11..db5791503a7b039cac9f9be389cfe7c0c2dd62f0 100644 --- a/ctu-thrombosis/schema.svg +++ b/ctu-thrombosis/schema.svg @@ -1,308 +1,308 @@ - - + + schema Examination:e->Patient:w - + Laboratory:e->Patient:w - + Patient - -Patient - -1K rows - -__PK__ - -PK - -SEX - -str - -Admission - -str - -Diagnosis - -str - -Birthday - -datetime - -Description - -datetime - -First Date - -datetime + +Patient + +1K rows + +__PK__ + +PK + +SEX + +str + +Admission + +str + +Diagnosis + +str + +Birthday + +datetime + +Description + +datetime + +First Date + +datetime Examination - -Examination - -796 rows - -__PK__ - -PK - -FK_Patient_ID - -FK - -aCL IgG - -float - -aCL IgM - -float - -ID - -int - -ANA - -int - -aCL IgA - -int - -Thrombosis - -int - -ANA Pattern - -str - -Diagnosis - -str - -KCT - -str - -RVVT - -str - -LAC - -str - -Symptoms - -str - -Examination Date - -datetime + +Examination + +796 rows + +__PK__ + +PK + +FK_Patient_ID + +FK + +aCL IgG + +float + +aCL IgM + +float + +ID + +int + +ANA + +int + +aCL IgA + +int + +Thrombosis + +int + +ANA Pattern + +str + +Diagnosis + +str + +KCT + +str + +RVVT + +str + +LAC + +str + +Symptoms + +str + +Examination Date + +datetime Laboratory - -Laboratory - -14K rows - -__PK__ - -PK - -FK_Patient_ID - -FK - -Date - -TIME - -TP - -float - -ALB - -float - -UA - -float - -CRE - -float - -T-BIL - -float - -WBC - -float - -RBC - -float - -HGB - -float - -HCT - -float - -PT - -float - -FG - -float - -ID - -int - -GOT - -int - -GPT - -int - -LDH - -int - -ALP - -int - -UN - -int - -T-CHO - -int - -TG - -int - -CPK - -int - -GLU - -int - -PLT - -int - -APTT - -int - -PIC - -int - -TAT - -int - -TAT2 - -int - -IGG - -int - -IGA - -int - -IGM - -int - -C3 - -int - -C4 - -int - -DNA-II - -int - -U-PRO - -str - -CRP - -str - -RA - -str - -RF - -str - -RNP - -str - -SM - -str - -SC170 - -str - -SSA - -str - -SSB - -str - -CENTROMEA - -str - -DNA - -str + +Laboratory + +14K rows + +__PK__ + +PK + +FK_Patient_ID + +FK + +Date + +TIME + +TP + +float + +ALB + +float + +UA + +float + +CRE + +float + +T-BIL + +float + +WBC + +float + +RBC + +float + +HGB + +float + +HCT + +float + +PT + +float + +FG + +float + +ID + +int + +GOT + +int + +GPT + +int + +LDH + +int + +ALP + +int + +UN + +int + +T-CHO + +int + +TG + +int + +CPK + +int + +GLU + +int + +PLT + +int + +APTT + +int + +PIC + +int + +TAT + +int + +TAT2 + +int + +IGG + +int + +IGA + +int + +IGM + +int + +C3 + +int + +C4 + +int + +DNA-II + +int + +U-PRO + +str + +CRP + +str + +RA + +str + +RF + +str + +RNP + +str + +SM + +str + +SC170 + +str + +SSA + +str + +SSB + +str + +CENTROMEA + +str + +DNA + +str diff --git a/ctu-toxicology/README.md b/ctu-toxicology/README.md index 2b13b4985cecefd68930c6b8cbdf99e8166e5a17..6f0d7850678a44b1938af5bdf6c0f5103309f014 100644 --- a/ctu-toxicology/README.md +++ b/ctu-toxicology/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-toxicology ---- - # ctu-toxicology Predictive Toxicology Challenge (2000) consists of more than three hundreds of organic molecules marked according to their carcinogenicity on male and female mice and rats. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Predictive Toxicology Challenge (2000) consists of more than three hundreds of o ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-toxicology") -task = relbench.load_task("ctu-toxicology", "") +ds = relbench.load_dataset("relbench/redelex/ctu-toxicology") +task = relbench.load_task("relbench/redelex/ctu-toxicology", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-toxicology/schema.svg b/ctu-toxicology/schema.svg index 1ca719df183b41345b792f4af77374778f9aca95..379022a050122fdcad9fcc45f6809d02764bc889 100644 --- a/ctu-toxicology/schema.svg +++ b/ctu-toxicology/schema.svg @@ -1,124 +1,124 @@ - - + + schema bond:e->molecule:w - + connected:e->bond:w - + connected:e->atom:w - + connected:e->atom:w - + atom:e->molecule:w - + bond - -bond - -12K rows - -__PK__ - -PK - -FK_molecule_molecule_id - -FK - -molecule_id - -str - -bond_type - -str + +bond + +12K rows + +__PK__ + +PK + +FK_molecule_molecule_id + +FK + +molecule_id + +str + +bond_type + +str molecule - -molecule - -343 rows - -__PK__ - -PK - -label - -str + +molecule + +343 rows + +__PK__ + +PK + +label + +str connected - -connected - -25K rows - -__PK__ - -PK - -FK_atom_atom_id - -FK - -FK_atom_atom_id2 - -FK - -FK_bond_bond_id - -FK - -atom_id - -str - -atom_id2 - -str - -bond_id - -str + +connected + +25K rows + +__PK__ + +PK + +FK_atom_atom_id + +FK + +FK_atom_atom_id2 + +FK + +FK_bond_bond_id + +FK + +atom_id + +str + +atom_id2 + +str + +bond_id + +str atom - -atom - -12K rows - -__PK__ - -PK - -FK_molecule_molecule_id - -FK - -molecule_id - -str - -element - -str + +atom + +12K rows + +__PK__ + +PK + +FK_molecule_molecule_id + +FK + +molecule_id + +str + +element + +str diff --git a/ctu-tpcc/README.md b/ctu-tpcc/README.md index a6931ad8d6cdabbe4a29bd4e042f34004cacaeff..c8891c2601da955bddb55b5fb9a4a341d2db260b 100644 --- a/ctu-tpcc/README.md +++ b/ctu-tpcc/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-tpcc ---- - # ctu-tpcc TPC-C is the benchmark published by the Transaction Processing Performance Council (TPC) for Online Transaction Processing (OLTP). Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ TPC-C is the benchmark published by the Transaction Processing Performance Counc ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-tpcc") -task = relbench.load_task("ctu-tpcc", "") +ds = relbench.load_dataset("relbench/redelex/ctu-tpcc") +task = relbench.load_task("relbench/redelex/ctu-tpcc", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-tpcc/schema.svg b/ctu-tpcc/schema.svg index d98596b533f003cc3e22b2b0bf5f69ddf5ccd3a0..84c4eb3d8aa933a5935d032e094ce343533bb90d 100644 --- a/ctu-tpcc/schema.svg +++ b/ctu-tpcc/schema.svg @@ -1,564 +1,564 @@ - - + + schema C_New_Order:e->C_Order:w - + C_Order:e->C_Customer:w - + C_Stock:e->C_Warehouse:w - + C_Stock:e->C_Item:w - + C_Order_Line:e->C_Order:w - + C_Order_Line:e->C_Stock:w - + C_Customer:e->C_District:w - + C_District:e->C_Warehouse:w - + C_History:e->C_Customer:w - + C_History:e->C_District:w - + C_New_Order - -C_New_Order - -9K rows - -__PK__ - -PK - -FK_C_Order_no_o_id_no_d_id_no_w_id - -FK - -no_o_id - -int - -no_d_id - -int - -no_w_id - -int + +C_New_Order + +9K rows + +__PK__ + +PK + +FK_C_Order_no_o_id_no_d_id_no_w_id + +FK + +no_o_id + +int + +no_d_id + +int + +no_w_id + +int C_Order - -C_Order - -30K rows - -__PK__ - -PK - -FK_C_Customer_o_d_id_o_c_id_o_w_id - -FK - -o_id - -int - -o_d_id - -int - -o_w_id - -int - -o_c_id - -int - -o_carrier_id - -int - -o_ol_cnt - -int - -o_all_local - -int - -o_entry_d - -datetime + +C_Order + +30K rows + +__PK__ + +PK + +FK_C_Customer_o_d_id_o_c_id_o_w_id + +FK + +o_id + +int + +o_d_id + +int + +o_w_id + +int + +o_c_id + +int + +o_carrier_id + +int + +o_ol_cnt + +int + +o_all_local + +int + +o_entry_d + +datetime C_Customer - -C_Customer - -30K rows - -__PK__ - -PK - -FK_C_District_c_d_id - -FK - -c_credit_lim - -float - -c_discount - -float - -c_balance - -float - -c_ytd_payment - -float - -c_id - -int - -c_d_id - -int - -c_w_id - -int - -c_payment_cnt - -int - -c_delivery_cnt - -int - -c_first - -str - -c_middle - -str - -c_last - -str - -c_street_1 - -str - -c_street_2 - -str - -c_city - -str - -c_state - -str - -c_zip - -str - -c_phone - -str - -c_credit - -str - -c_data1 - -str - -c_data2 - -str - -c_since - -datetime + +C_Customer + +30K rows + +__PK__ + +PK + +FK_C_District_c_d_id + +FK + +c_credit_lim + +float + +c_discount + +float + +c_balance + +float + +c_ytd_payment + +float + +c_id + +int + +c_d_id + +int + +c_w_id + +int + +c_payment_cnt + +int + +c_delivery_cnt + +int + +c_first + +str + +c_middle + +str + +c_last + +str + +c_street_1 + +str + +c_street_2 + +str + +c_city + +str + +c_state + +str + +c_zip + +str + +c_phone + +str + +c_credit + +str + +c_data1 + +str + +c_data2 + +str + +c_since + +datetime C_Stock - -C_Stock - -100K rows - -__PK__ - -PK - -FK_C_Item_s_i_id - -FK - -FK_C_Warehouse_s_w_id - -FK - -s_i_id - -int - -s_w_id - -int - -s_quantity - -int - -s_ytd - -int - -s_order_cnt - -int - -s_remote_cnt - -int - -s_dist_01 - -str - -s_dist_02 - -str - -s_dist_03 - -str - -s_dist_04 - -str - -s_dist_05 - -str - -s_dist_06 - -str - -s_dist_07 - -str - -s_dist_08 - -str - -s_dist_09 - -str - -s_dist_10 - -str - -s_data - -str + +C_Stock + +100K rows + +__PK__ + +PK + +FK_C_Item_s_i_id + +FK + +FK_C_Warehouse_s_w_id + +FK + +s_i_id + +int + +s_w_id + +int + +s_quantity + +int + +s_ytd + +int + +s_order_cnt + +int + +s_remote_cnt + +int + +s_dist_01 + +str + +s_dist_02 + +str + +s_dist_03 + +str + +s_dist_04 + +str + +s_dist_05 + +str + +s_dist_06 + +str + +s_dist_07 + +str + +s_dist_08 + +str + +s_dist_09 + +str + +s_dist_10 + +str + +s_data + +str C_Warehouse - -C_Warehouse - -1 rows - -__PK__ - -PK - -w_tax - -float - -w_ytd - -float - -w_id - -int - -w_name - -str - -w_street_1 - -str - -w_street_2 - -str - -w_city - -str - -w_state - -str - -w_zip - -str + +C_Warehouse + +1 rows + +__PK__ + +PK + +w_tax + +float + +w_ytd + +float + +w_id + +int + +w_name + +str + +w_street_1 + +str + +w_street_2 + +str + +w_city + +str + +w_state + +str + +w_zip + +str C_Item - -C_Item - -100K rows - -__PK__ - -PK - -i_price - -float - -i_id - -int - -i_im_id - -int - -i_name - -str - -i_data - -str + +C_Item + +100K rows + +__PK__ + +PK + +i_price + +float + +i_id + +int + +i_im_id + +int + +i_name + +str + +i_data + +str C_Order_Line - -C_Order_Line - -301K rows - -__PK__ - -PK - -FK_C_Order_ol_o_id_ol_d_id_ol_w_id - -FK - -FK_C_Stock_ol_i_id_ol_supply_w_id - -FK - -ol_amount - -float - -ol_o_id - -int - -ol_d_id - -int - -ol_w_id - -int - -ol_number - -int - -ol_i_id - -int - -ol_supply_w_id - -int - -ol_quantity - -int - -ol_dist_info - -str - -ol_delivery_d - -datetime + +C_Order_Line + +301K rows + +__PK__ + +PK + +FK_C_Order_ol_o_id_ol_d_id_ol_w_id + +FK + +FK_C_Stock_ol_i_id_ol_supply_w_id + +FK + +ol_amount + +float + +ol_o_id + +int + +ol_d_id + +int + +ol_w_id + +int + +ol_number + +int + +ol_i_id + +int + +ol_supply_w_id + +int + +ol_quantity + +int + +ol_dist_info + +str + +ol_delivery_d + +datetime C_District - -C_District - -10 rows - -__PK__ - -PK - -FK_C_Warehouse_d_w_id - -FK - -d_tax - -float - -d_ytd - -float - -d_id - -int - -d_w_id - -int - -d_next_o_id - -int - -d_name - -str - -d_street_1 - -str - -d_street_2 - -str - -d_city - -str - -d_state - -str - -d_zip - -str + +C_District + +10 rows + +__PK__ + +PK + +FK_C_Warehouse_d_w_id + +FK + +d_tax + +float + +d_ytd + +float + +d_id + +int + +d_w_id + +int + +d_next_o_id + +int + +d_name + +str + +d_street_1 + +str + +d_street_2 + +str + +d_city + +str + +d_state + +str + +d_zip + +str C_History - -C_History - -30K rows - -__PK__ - -PK - -FK_C_Customer_h_c_id_h_c_d_id_h_c_w_id - -FK - -FK_C_District_h_d_id_h_w_id - -FK - -h_amount - -float - -h_c_id - -int - -h_c_d_id - -int - -h_c_w_id - -int - -h_d_id - -int - -h_w_id - -int - -h_data - -str - -h_date - -datetime + +C_History + +30K rows + +__PK__ + +PK + +FK_C_Customer_h_c_id_h_c_d_id_h_c_w_id + +FK + +FK_C_District_h_d_id_h_w_id + +FK + +h_amount + +float + +h_c_id + +int + +h_c_d_id + +int + +h_c_w_id + +int + +h_d_id + +int + +h_w_id + +int + +h_data + +str + +h_date + +datetime diff --git a/ctu-tpcd/README.md b/ctu-tpcd/README.md index 207ebeccb2011885095aea2cbe39c4f4a7ca8c9e..503c01684991a1e2c41a09adb212a59956c667d7 100644 --- a/ctu-tpcd/README.md +++ b/ctu-tpcd/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-tpcd ---- - # ctu-tpcd TPC-D represents a broad range of decision support (DS) applications that require complex, long running queries against large complex data structures. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ TPC-D represents a broad range of decision support (DS) applications that requir ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `1997-01-01 00:00:00`, test `1998-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `1997-01-01 00:00:00`, test `1998-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-tpcd") -task = relbench.load_task("ctu-tpcd", "") +ds = relbench.load_dataset("relbench/redelex/ctu-tpcd") +task = relbench.load_task("relbench/redelex/ctu-tpcd", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-tpcd/schema.svg b/ctu-tpcd/schema.svg index 464ac145dac75a9c97e8fc1a50afd3231ed2359f..20c1db9cac4fc64964f7aae0518b8edfa5a091ab 100644 --- a/ctu-tpcd/schema.svg +++ b/ctu-tpcd/schema.svg @@ -1,356 +1,356 @@ - - + + schema dss_lineitem:e->dss_order:w - + dss_customer:e->dss_nation:w - + dss_supplier:e->dss_nation:w - + dss_nation:e->dss_region:w - + dss_order:e->dss_customer:w - + dss_partsupp:e->dss_lineitem:w - + dss_partsupp:e->dss_supplier:w - + dss_partsupp:e->dss_part:w - + dss_lineitem - -dss_lineitem - -6M rows - -__PK__ - -PK - -FK_dss_order_l_orderkey - -FK - -l_shipdate - -TIME - -l_quantity - -float - -l_extendedprice - -float - -l_discount - -float - -l_tax - -float - -l_partkey - -int - -l_suppkey - -int - -l_linenumber - -int - -l_returnflag - -str - -l_linestatus - -str - -l_shipinstruct - -str - -l_shipmode - -str - -l_comment - -str - -l_commitdate - -datetime - -l_receiptdate - -datetime + +dss_lineitem + +6M rows + +__PK__ + +PK + +FK_dss_order_l_orderkey + +FK + +l_shipdate + +TIME + +l_quantity + +float + +l_extendedprice + +float + +l_discount + +float + +l_tax + +float + +l_partkey + +int + +l_suppkey + +int + +l_linenumber + +int + +l_returnflag + +str + +l_linestatus + +str + +l_shipinstruct + +str + +l_shipmode + +str + +l_comment + +str + +l_commitdate + +datetime + +l_receiptdate + +datetime dss_order - -dss_order - -2M rows - -__PK__ - -PK - -FK_dss_customer_o_custkey - -FK - -o_orderdate - -TIME - -o_totalprice - -float - -o_shippriority - -int - -o_orderstatus - -str - -o_orderpriority - -str - -o_clerk - -str - -o_comment - -str + +dss_order + +2M rows + +__PK__ + +PK + +FK_dss_customer_o_custkey + +FK + +o_orderdate + +TIME + +o_totalprice + +float + +o_shippriority + +int + +o_orderstatus + +str + +o_orderpriority + +str + +o_clerk + +str + +o_comment + +str dss_customer - -dss_customer - -150K rows - -__PK__ - -PK - -FK_dss_nation_c_nationkey - -FK - -c_acctbal - -float - -c_name - -str - -c_address - -str - -c_phone - -str - -c_mktsegment - -str - -c_comment - -str + +dss_customer + +150K rows + +__PK__ + +PK + +FK_dss_nation_c_nationkey + +FK + +c_acctbal + +float + +c_name + +str + +c_address + +str + +c_phone + +str + +c_mktsegment + +str + +c_comment + +str dss_nation - -dss_nation - -25 rows - -__PK__ - -PK - -FK_dss_region_n_regionkey - -FK - -n_name - -str - -n_comment - -str + +dss_nation + +25 rows + +__PK__ + +PK + +FK_dss_region_n_regionkey + +FK + +n_name + +str + +n_comment + +str dss_supplier - -dss_supplier - -10K rows - -__PK__ - -PK - -FK_dss_nation_s_nationkey - -FK - -s_acctbal - -float - -s_name - -str - -s_address - -str - -s_phone - -str - -s_comment - -str + +dss_supplier + +10K rows + +__PK__ + +PK + +FK_dss_nation_s_nationkey + +FK + +s_acctbal + +float + +s_name + +str + +s_address + +str + +s_phone + +str + +s_comment + +str dss_part - -dss_part - -200K rows - -__PK__ - -PK - -p_retailprice - -float - -p_size - -int - -p_name - -str - -p_mfgr - -str - -p_brand - -str - -p_type - -str - -p_container - -str - -p_comment - -str + +dss_part + +200K rows + +__PK__ + +PK + +p_retailprice + +float + +p_size + +int + +p_name + +str + +p_mfgr + +str + +p_brand + +str + +p_type + +str + +p_container + +str + +p_comment + +str dss_region - -dss_region - -5 rows - -__PK__ - -PK - -r_name - -str - -r_comment - -str + +dss_region + +5 rows + +__PK__ + +PK + +r_name + +str + +r_comment + +str dss_partsupp - -dss_partsupp - -800K rows - -__PK__ - -PK - -FK_dss_supplier_ps_suppkey - -FK - -FK_dss_part_ps_partkey - -FK - -FK_dss_lineitem_ps_partkey_ps_suppkey - -FK - -ps_supplycost - -float - -ps_availqty - -int - -ps_comment - -str + +dss_partsupp + +800K rows + +__PK__ + +PK + +FK_dss_supplier_ps_suppkey + +FK + +FK_dss_part_ps_partkey + +FK + +FK_dss_lineitem_ps_partkey_ps_suppkey + +FK + +ps_supplycost + +float + +ps_availqty + +int + +ps_comment + +str diff --git a/ctu-tpcds/README.md b/ctu-tpcds/README.md index 06c357f0610389f5a16d616d7f92823a2a1bc4a8..ec77ab5805aaca0de04fc8ced83c2e4826c730e3 100644 --- a/ctu-tpcds/README.md +++ b/ctu-tpcds/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-tpcds ---- - # ctu-tpcds TPC-DS is the new decision support benchmark that models several generally applicable aspects of a decision support system, including queries and data maintenance. Although the underlying business model of TPC-DS is a retail product supplier, the database schema, data population, queries, data maintenance model and implementation rules have been designed to be broadly representative of modern decision support systems. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ TPC-DS is the new decision support benchmark that models several generally appli ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2001-01-01 00:00:00`, test `2002-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2001-01-01 00:00:00`, test `2002-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-tpcds") -task = relbench.load_task("ctu-tpcds", "") +ds = relbench.load_dataset("relbench/redelex/ctu-tpcds") +task = relbench.load_task("relbench/redelex/ctu-tpcds", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-tpcds/schema.svg b/ctu-tpcds/schema.svg index 67db663cce6f14cef7a77642cbc92814f34e0745..e05a85fb9ab9672cee6ef6a27881f96bd78f6042 100644 --- a/ctu-tpcds/schema.svg +++ b/ctu-tpcds/schema.svg @@ -1,2348 +1,2348 @@ - - + + schema web_returns:e->item:w - + web_returns:e->customer:w - + web_returns:e->customer:w - + web_returns:e->customer_address:w - + web_returns:e->customer_address:w - + web_returns:e->reason:w - + web_returns:e->household_demographics:w - + web_returns:e->household_demographics:w - + web_returns:e->web_page:w - + web_returns:e->customer_demographics:w - + web_returns:e->customer_demographics:w - + web_sales:e->item:w - + web_sales:e->customer:w - + web_sales:e->customer:w - + web_sales:e->ship_mode:w - + web_sales:e->customer_address:w - + web_sales:e->customer_address:w - + web_sales:e->household_demographics:w - + web_sales:e->household_demographics:w - + web_sales:e->warehouse:w - + web_sales:e->web_site:w - + web_sales:e->web_page:w - + web_sales:e->customer_demographics:w - + web_sales:e->customer_demographics:w - + web_sales:e->promotion:w - + customer:e->customer_address:w - + customer:e->household_demographics:w - + customer:e->customer_demographics:w - + inventory:e->item:w - + inventory:e->warehouse:w - + household_demographics:e->income_band:w - + store_returns:e->item:w - + store_returns:e->customer:w - + store_returns:e->customer_address:w - + store_returns:e->reason:w - + store_returns:e->household_demographics:w - + store_returns:e->store:w - + store_returns:e->customer_demographics:w - + catalog_returns:e->item:w - + catalog_returns:e->catalog_page:w - + catalog_returns:e->customer:w - + catalog_returns:e->customer:w - + catalog_returns:e->ship_mode:w - + catalog_returns:e->customer_address:w - + catalog_returns:e->customer_address:w - + catalog_returns:e->reason:w - + catalog_returns:e->household_demographics:w - + catalog_returns:e->household_demographics:w - + catalog_returns:e->warehouse:w - + catalog_returns:e->customer_demographics:w - + catalog_returns:e->customer_demographics:w - + catalog_returns:e->call_center:w - + promotion:e->item:w - + catalog_sales:e->item:w - + catalog_sales:e->catalog_page:w - + catalog_sales:e->customer:w - + catalog_sales:e->customer:w - + catalog_sales:e->ship_mode:w - + catalog_sales:e->customer_address:w - + catalog_sales:e->customer_address:w - + catalog_sales:e->household_demographics:w - + catalog_sales:e->household_demographics:w - + catalog_sales:e->warehouse:w - + catalog_sales:e->customer_demographics:w - + catalog_sales:e->customer_demographics:w - + catalog_sales:e->promotion:w - + catalog_sales:e->call_center:w - + store_sales:e->item:w - + store_sales:e->customer:w - + store_sales:e->customer_address:w - + store_sales:e->household_demographics:w - + store_sales:e->store:w - + store_sales:e->customer_demographics:w - + store_sales:e->promotion:w - + web_returns - -web_returns - -72K rows - -__PK__ - -PK - -FK_item_wr_item_sk - -FK - -FK_reason_wr_reason_sk - -FK - -FK_customer_address_wr_refunded_addr_sk - -FK - -FK_customer_wr_refunded_customer_sk - -FK - -FK_customer_demographics_wr_refunded_cdemo_sk - -FK - -FK_household_demographics_wr_refunded_hdemo_sk - -FK - -FK_customer_address_wr_returning_addr_sk - -FK - -FK_customer_wr_returning_customer_sk - -FK - -FK_customer_demographics_wr_returning_cdemo_sk - -FK - -FK_household_demographics_wr_returning_hdemo_sk - -FK - -FK_web_page_wr_web_page_sk - -FK - -wr_return_amt - -float - -wr_return_tax - -float - -wr_return_amt_inc_tax - -float - -wr_fee - -float - -wr_return_ship_cost - -float - -wr_refunded_cash - -float - -wr_reversed_charge - -float - -wr_account_credit - -float - -wr_net_loss - -float - -wr_returned_time_sk - -int - -wr_item_sk - -int - -wr_refunded_customer_sk - -int - -wr_refunded_cdemo_sk - -int - -wr_refunded_hdemo_sk - -int - -wr_refunded_addr_sk - -int - -wr_returning_customer_sk - -int - -wr_returning_cdemo_sk - -int - -wr_returning_hdemo_sk - -int - -wr_returning_addr_sk - -int - -wr_web_page_sk - -int - -wr_reason_sk - -int - -wr_order_number - -int - -wr_return_quantity - -int - -wr_returned_date_sk - -datetime + +web_returns + +72K rows + +__PK__ + +PK + +FK_item_wr_item_sk + +FK + +FK_reason_wr_reason_sk + +FK + +FK_customer_address_wr_refunded_addr_sk + +FK + +FK_customer_wr_refunded_customer_sk + +FK + +FK_customer_demographics_wr_refunded_cdemo_sk + +FK + +FK_household_demographics_wr_refunded_hdemo_sk + +FK + +FK_customer_address_wr_returning_addr_sk + +FK + +FK_customer_wr_returning_customer_sk + +FK + +FK_customer_demographics_wr_returning_cdemo_sk + +FK + +FK_household_demographics_wr_returning_hdemo_sk + +FK + +FK_web_page_wr_web_page_sk + +FK + +wr_return_amt + +float + +wr_return_tax + +float + +wr_return_amt_inc_tax + +float + +wr_fee + +float + +wr_return_ship_cost + +float + +wr_refunded_cash + +float + +wr_reversed_charge + +float + +wr_account_credit + +float + +wr_net_loss + +float + +wr_returned_time_sk + +int + +wr_item_sk + +int + +wr_refunded_customer_sk + +int + +wr_refunded_cdemo_sk + +int + +wr_refunded_hdemo_sk + +int + +wr_refunded_addr_sk + +int + +wr_returning_customer_sk + +int + +wr_returning_cdemo_sk + +int + +wr_returning_hdemo_sk + +int + +wr_returning_addr_sk + +int + +wr_web_page_sk + +int + +wr_reason_sk + +int + +wr_order_number + +int + +wr_return_quantity + +int + +wr_returned_date_sk + +datetime item - -item - -18K rows - -__PK__ - -PK - -i_rec_start_date - -TIME - -i_current_price - -float - -i_wholesale_cost - -float - -i_brand_id - -int - -i_class_id - -int - -i_category_id - -int - -i_manufact_id - -int - -i_manager_id - -int - -i_item_id - -str - -i_item_desc - -str - -i_brand - -str - -i_class - -str - -i_category - -str - -i_manufact - -str - -i_size - -str - -i_formulation - -str - -i_color - -str - -i_units - -str - -i_container - -str - -i_product_name - -str - -i_rec_end_date - -datetime + +item + +18K rows + +__PK__ + +PK + +i_rec_start_date + +TIME + +i_current_price + +float + +i_wholesale_cost + +float + +i_brand_id + +int + +i_class_id + +int + +i_category_id + +int + +i_manufact_id + +int + +i_manager_id + +int + +i_item_id + +str + +i_item_desc + +str + +i_brand + +str + +i_class + +str + +i_category + +str + +i_manufact + +str + +i_size + +str + +i_formulation + +str + +i_color + +str + +i_units + +str + +i_container + +str + +i_product_name + +str + +i_rec_end_date + +datetime customer - -customer - -100K rows - -__PK__ - -PK - -FK_customer_address_c_current_addr_sk - -FK - -FK_customer_demographics_c_current_cdemo_sk - -FK - -FK_household_demographics_c_current_hdemo_sk - -FK - -c_first_sales_date_sk - -TIME - -c_current_cdemo_sk - -int - -c_current_hdemo_sk - -int - -c_current_addr_sk - -int - -c_birth_day - -int - -c_birth_month - -int - -c_birth_year - -int - -c_customer_id - -str - -c_salutation - -str - -c_first_name - -str - -c_last_name - -str - -c_preferred_cust_flag - -str - -c_birth_country - -str - -c_login - -str - -c_email_address - -str - -c_last_review_date - -str - -c_first_shipto_date_sk - -datetime + +customer + +100K rows + +__PK__ + +PK + +FK_customer_address_c_current_addr_sk + +FK + +FK_customer_demographics_c_current_cdemo_sk + +FK + +FK_household_demographics_c_current_hdemo_sk + +FK + +c_first_sales_date_sk + +TIME + +c_current_cdemo_sk + +int + +c_current_hdemo_sk + +int + +c_current_addr_sk + +int + +c_birth_day + +int + +c_birth_month + +int + +c_birth_year + +int + +c_customer_id + +str + +c_salutation + +str + +c_first_name + +str + +c_last_name + +str + +c_preferred_cust_flag + +str + +c_birth_country + +str + +c_login + +str + +c_email_address + +str + +c_last_review_date + +str + +c_first_shipto_date_sk + +datetime customer_address - -customer_address - -50K rows - -__PK__ - -PK - -ca_gmt_offset - -float - -ca_address_id - -str - -ca_street_number - -str - -ca_street_name - -str - -ca_street_type - -str - -ca_suite_number - -str - -ca_city - -str - -ca_county - -str - -ca_state - -str - -ca_zip - -str - -ca_country - -str - -ca_location_type - -str + +customer_address + +50K rows + +__PK__ + +PK + +ca_gmt_offset + +float + +ca_address_id + +str + +ca_street_number + +str + +ca_street_name + +str + +ca_street_type + +str + +ca_suite_number + +str + +ca_city + +str + +ca_county + +str + +ca_state + +str + +ca_zip + +str + +ca_country + +str + +ca_location_type + +str reason - -reason - -35 rows - -__PK__ - -PK - -r_reason_id - -str - -r_reason_desc - -str + +reason + +35 rows + +__PK__ + +PK + +r_reason_id + +str + +r_reason_desc + +str household_demographics - -household_demographics - -7K rows - -__PK__ - -PK - -FK_income_band_hd_income_band_sk - -FK - -hd_income_band_sk - -int - -hd_dep_count - -int - -hd_vehicle_count - -int - -hd_buy_potential - -str + +household_demographics + +7K rows + +__PK__ + +PK + +FK_income_band_hd_income_band_sk + +FK + +hd_income_band_sk + +int + +hd_dep_count + +int + +hd_vehicle_count + +int + +hd_buy_potential + +str web_page - -web_page - -60 rows - -__PK__ - -PK - -wp_creation_date_sk - -TIME - -wp_customer_sk - -int - -wp_char_count - -int - -wp_link_count - -int - -wp_image_count - -int - -wp_max_ad_count - -int - -wp_web_page_id - -str - -wp_autogen_flag - -str - -wp_url - -str - -wp_type - -str - -wp_rec_start_date - -datetime - -wp_rec_end_date - -datetime - -wp_access_date_sk - -datetime + +web_page + +60 rows + +__PK__ + +PK + +wp_creation_date_sk + +TIME + +wp_customer_sk + +int + +wp_char_count + +int + +wp_link_count + +int + +wp_image_count + +int + +wp_max_ad_count + +int + +wp_web_page_id + +str + +wp_autogen_flag + +str + +wp_url + +str + +wp_type + +str + +wp_rec_start_date + +datetime + +wp_rec_end_date + +datetime + +wp_access_date_sk + +datetime customer_demographics - -customer_demographics - -2M rows - -__PK__ - -PK - -cd_purchase_estimate - -int - -cd_dep_count - -int - -cd_dep_employed_count - -int - -cd_dep_college_count - -int - -cd_gender - -str - -cd_marital_status - -str - -cd_education_status - -str - -cd_credit_rating - -str + +customer_demographics + +2M rows + +__PK__ + +PK + +cd_purchase_estimate + +int + +cd_dep_count + +int + +cd_dep_employed_count + +int + +cd_dep_college_count + +int + +cd_gender + +str + +cd_marital_status + +str + +cd_education_status + +str + +cd_credit_rating + +str web_sales - -web_sales - -719K rows - -__PK__ - -PK - -FK_customer_address_ws_bill_addr_sk - -FK - -FK_customer_ws_bill_customer_sk - -FK - -FK_customer_demographics_ws_bill_cdemo_sk - -FK - -FK_household_demographics_ws_bill_hdemo_sk - -FK - -FK_item_ws_item_sk - -FK - -FK_promotion_ws_promo_sk - -FK - -FK_customer_address_ws_ship_addr_sk - -FK - -FK_customer_ws_ship_customer_sk - -FK - -FK_customer_demographics_ws_ship_cdemo_sk - -FK - -FK_household_demographics_ws_ship_hdemo_sk - -FK - -FK_ship_mode_ws_ship_mode_sk - -FK - -FK_warehouse_ws_warehouse_sk - -FK - -FK_web_page_ws_web_page_sk - -FK - -FK_web_site_ws_web_site_sk - -FK - -ws_ship_date_sk - -TIME - -ws_wholesale_cost - -float - -ws_list_price - -float - -ws_sales_price - -float - -ws_ext_discount_amt - -float - -ws_ext_sales_price - -float - -ws_ext_wholesale_cost - -float - -ws_ext_list_price - -float - -ws_ext_tax - -float - -ws_coupon_amt - -float - -ws_ext_ship_cost - -float - -ws_net_paid - -float - -ws_net_paid_inc_tax - -float - -ws_net_paid_inc_ship - -float - -ws_net_paid_inc_ship_tax - -float - -ws_net_profit - -float - -ws_sold_time_sk - -int - -ws_item_sk - -int - -ws_bill_customer_sk - -int - -ws_bill_cdemo_sk - -int - -ws_bill_hdemo_sk - -int - -ws_bill_addr_sk - -int - -ws_ship_customer_sk - -int - -ws_ship_cdemo_sk - -int - -ws_ship_hdemo_sk - -int - -ws_ship_addr_sk - -int - -ws_web_page_sk - -int - -ws_web_site_sk - -int - -ws_ship_mode_sk - -int - -ws_warehouse_sk - -int - -ws_promo_sk - -int - -ws_order_number - -int - -ws_quantity - -int - -ws_sold_date_sk - -datetime + +web_sales + +719K rows + +__PK__ + +PK + +FK_customer_address_ws_bill_addr_sk + +FK + +FK_customer_ws_bill_customer_sk + +FK + +FK_customer_demographics_ws_bill_cdemo_sk + +FK + +FK_household_demographics_ws_bill_hdemo_sk + +FK + +FK_item_ws_item_sk + +FK + +FK_promotion_ws_promo_sk + +FK + +FK_customer_address_ws_ship_addr_sk + +FK + +FK_customer_ws_ship_customer_sk + +FK + +FK_customer_demographics_ws_ship_cdemo_sk + +FK + +FK_household_demographics_ws_ship_hdemo_sk + +FK + +FK_ship_mode_ws_ship_mode_sk + +FK + +FK_warehouse_ws_warehouse_sk + +FK + +FK_web_page_ws_web_page_sk + +FK + +FK_web_site_ws_web_site_sk + +FK + +ws_ship_date_sk + +TIME + +ws_wholesale_cost + +float + +ws_list_price + +float + +ws_sales_price + +float + +ws_ext_discount_amt + +float + +ws_ext_sales_price + +float + +ws_ext_wholesale_cost + +float + +ws_ext_list_price + +float + +ws_ext_tax + +float + +ws_coupon_amt + +float + +ws_ext_ship_cost + +float + +ws_net_paid + +float + +ws_net_paid_inc_tax + +float + +ws_net_paid_inc_ship + +float + +ws_net_paid_inc_ship_tax + +float + +ws_net_profit + +float + +ws_sold_time_sk + +int + +ws_item_sk + +int + +ws_bill_customer_sk + +int + +ws_bill_cdemo_sk + +int + +ws_bill_hdemo_sk + +int + +ws_bill_addr_sk + +int + +ws_ship_customer_sk + +int + +ws_ship_cdemo_sk + +int + +ws_ship_hdemo_sk + +int + +ws_ship_addr_sk + +int + +ws_web_page_sk + +int + +ws_web_site_sk + +int + +ws_ship_mode_sk + +int + +ws_warehouse_sk + +int + +ws_promo_sk + +int + +ws_order_number + +int + +ws_quantity + +int + +ws_sold_date_sk + +datetime ship_mode - -ship_mode - -20 rows - -__PK__ - -PK - -sm_ship_mode_id - -str - -sm_type - -str - -sm_code - -str - -sm_carrier - -str - -sm_contract - -str + +ship_mode + +20 rows + +__PK__ + +PK + +sm_ship_mode_id + +str + +sm_type + +str + +sm_code + +str + +sm_carrier + +str + +sm_contract + +str warehouse - -warehouse - -5 rows - -__PK__ - -PK - -w_gmt_offset - -float - -w_warehouse_sq_ft - -int - -w_warehouse_id - -str - -w_warehouse_name - -str - -w_street_number - -str - -w_street_name - -str - -w_street_type - -str - -w_suite_number - -str - -w_city - -str - -w_county - -str - -w_state - -str - -w_zip - -str - -w_country - -str + +warehouse + +5 rows + +__PK__ + +PK + +w_gmt_offset + +float + +w_warehouse_sq_ft + +int + +w_warehouse_id + +str + +w_warehouse_name + +str + +w_street_number + +str + +w_street_name + +str + +w_street_type + +str + +w_suite_number + +str + +w_city + +str + +w_county + +str + +w_state + +str + +w_zip + +str + +w_country + +str web_site - -web_site - -30 rows - -__PK__ - -PK - -web_open_date_sk - -TIME - -web_gmt_offset - -float - -web_tax_percentage - -float - -web_mkt_id - -int - -web_company_id - -int - -web_site_id - -str - -web_name - -str - -web_class - -str - -web_manager - -str - -web_mkt_class - -str - -web_mkt_desc - -str - -web_market_manager - -str - -web_company_name - -str - -web_street_number - -str - -web_street_name - -str - -web_street_type - -str - -web_suite_number - -str - -web_city - -str - -web_county - -str - -web_state - -str - -web_zip - -str - -web_country - -str - -web_rec_start_date - -datetime - -web_rec_end_date - -datetime - -web_close_date_sk - -datetime + +web_site + +30 rows + +__PK__ + +PK + +web_open_date_sk + +TIME + +web_gmt_offset + +float + +web_tax_percentage + +float + +web_mkt_id + +int + +web_company_id + +int + +web_site_id + +str + +web_name + +str + +web_class + +str + +web_manager + +str + +web_mkt_class + +str + +web_mkt_desc + +str + +web_market_manager + +str + +web_company_name + +str + +web_street_number + +str + +web_street_name + +str + +web_street_type + +str + +web_suite_number + +str + +web_city + +str + +web_county + +str + +web_state + +str + +web_zip + +str + +web_country + +str + +web_rec_start_date + +datetime + +web_rec_end_date + +datetime + +web_close_date_sk + +datetime promotion - -promotion - -300 rows - -__PK__ - -PK - -FK_item_p_item_sk - -FK - -p_start_date_sk - -TIME - -p_cost - -float - -p_item_sk - -int - -p_response_target - -int - -p_promo_id - -str - -p_promo_name - -str - -p_channel_dmail - -str - -p_channel_email - -str - -p_channel_catalog - -str - -p_channel_tv - -str - -p_channel_radio - -str - -p_channel_press - -str - -p_channel_event - -str - -p_channel_demo - -str - -p_channel_details - -str - -p_purpose - -str - -p_discount_active - -str - -p_end_date_sk - -datetime + +promotion + +300 rows + +__PK__ + +PK + +FK_item_p_item_sk + +FK + +p_start_date_sk + +TIME + +p_cost + +float + +p_item_sk + +int + +p_response_target + +int + +p_promo_id + +str + +p_promo_name + +str + +p_channel_dmail + +str + +p_channel_email + +str + +p_channel_catalog + +str + +p_channel_tv + +str + +p_channel_radio + +str + +p_channel_press + +str + +p_channel_event + +str + +p_channel_demo + +str + +p_channel_details + +str + +p_purpose + +str + +p_discount_active + +str + +p_end_date_sk + +datetime catalog_page - -catalog_page - -12K rows - -__PK__ - -PK - -cp_start_date_sk - -TIME - -cp_catalog_number - -int - -cp_catalog_page_number - -int - -cp_catalog_page_id - -str - -cp_department - -str - -cp_description - -str - -cp_type - -str - -cp_end_date_sk - -datetime + +catalog_page + +12K rows + +__PK__ + +PK + +cp_start_date_sk + +TIME + +cp_catalog_number + +int + +cp_catalog_page_number + +int + +cp_catalog_page_id + +str + +cp_department + +str + +cp_description + +str + +cp_type + +str + +cp_end_date_sk + +datetime inventory - -inventory - -12M rows - -__PK__ - -PK - -FK_item_inv_item_sk - -FK - -FK_warehouse_inv_warehouse_sk - -FK - -inv_date_sk - -TIME - -inv_item_sk - -int - -inv_warehouse_sk - -int - -inv_quantity_on_hand - -int + +inventory + +12M rows + +__PK__ + +PK + +FK_item_inv_item_sk + +FK + +FK_warehouse_inv_warehouse_sk + +FK + +inv_date_sk + +TIME + +inv_item_sk + +int + +inv_warehouse_sk + +int + +inv_quantity_on_hand + +int income_band - -income_band - -20 rows - -__PK__ - -PK - -ib_lower_bound - -int - -ib_upper_bound - -int + +income_band + +20 rows + +__PK__ + +PK + +ib_lower_bound + +int + +ib_upper_bound + +int store - -store - -12 rows - -__PK__ - -PK - -s_rec_start_date - -TIME - -s_gmt_offset - -float - -s_tax_precentage - -float - -s_number_employees - -int - -s_floor_space - -int - -s_market_id - -int - -s_division_id - -int - -s_company_id - -int - -s_store_id - -str - -s_store_name - -str - -s_hours - -str - -s_manager - -str - -s_geography_class - -str - -s_market_desc - -str - -s_market_manager - -str - -s_division_name - -str - -s_company_name - -str - -s_street_number - -str - -s_street_name - -str - -s_street_type - -str - -s_suite_number - -str - -s_city - -str - -s_county - -str - -s_state - -str - -s_zip - -str - -s_country - -str - -s_rec_end_date - -datetime - -s_closed_date_sk - -datetime + +store + +12 rows + +__PK__ + +PK + +s_rec_start_date + +TIME + +s_gmt_offset + +float + +s_tax_precentage + +float + +s_number_employees + +int + +s_floor_space + +int + +s_market_id + +int + +s_division_id + +int + +s_company_id + +int + +s_store_id + +str + +s_store_name + +str + +s_hours + +str + +s_manager + +str + +s_geography_class + +str + +s_market_desc + +str + +s_market_manager + +str + +s_division_name + +str + +s_company_name + +str + +s_street_number + +str + +s_street_name + +str + +s_street_type + +str + +s_suite_number + +str + +s_city + +str + +s_county + +str + +s_state + +str + +s_zip + +str + +s_country + +str + +s_rec_end_date + +datetime + +s_closed_date_sk + +datetime store_returns - -store_returns - -288K rows - -__PK__ - -PK - -FK_customer_address_sr_addr_sk - -FK - -FK_customer_sr_customer_sk - -FK - -FK_customer_demographics_sr_cdemo_sk - -FK - -FK_household_demographics_sr_hdemo_sk - -FK - -FK_item_sr_item_sk - -FK - -FK_reason_sr_reason_sk - -FK - -FK_store_sr_store_sk - -FK - -sr_returned_date_sk - -TIME - -sr_return_amt - -float - -sr_return_tax - -float - -sr_return_amt_inc_tax - -float - -sr_fee - -float - -sr_return_ship_cost - -float - -sr_refunded_cash - -float - -sr_reversed_charge - -float - -sr_store_credit - -float - -sr_net_loss - -float - -sr_return_time_sk - -int - -sr_item_sk - -int - -sr_customer_sk - -int - -sr_cdemo_sk - -int - -sr_hdemo_sk - -int - -sr_addr_sk - -int - -sr_store_sk - -int - -sr_reason_sk - -int - -sr_ticket_number - -int - -sr_return_quantity - -int + +store_returns + +288K rows + +__PK__ + +PK + +FK_customer_address_sr_addr_sk + +FK + +FK_customer_sr_customer_sk + +FK + +FK_customer_demographics_sr_cdemo_sk + +FK + +FK_household_demographics_sr_hdemo_sk + +FK + +FK_item_sr_item_sk + +FK + +FK_reason_sr_reason_sk + +FK + +FK_store_sr_store_sk + +FK + +sr_returned_date_sk + +TIME + +sr_return_amt + +float + +sr_return_tax + +float + +sr_return_amt_inc_tax + +float + +sr_fee + +float + +sr_return_ship_cost + +float + +sr_refunded_cash + +float + +sr_reversed_charge + +float + +sr_store_credit + +float + +sr_net_loss + +float + +sr_return_time_sk + +int + +sr_item_sk + +int + +sr_customer_sk + +int + +sr_cdemo_sk + +int + +sr_hdemo_sk + +int + +sr_addr_sk + +int + +sr_store_sk + +int + +sr_reason_sk + +int + +sr_ticket_number + +int + +sr_return_quantity + +int catalog_returns - -catalog_returns - -144K rows - -__PK__ - -PK - -FK_customer_address_cr_refunded_addr_sk - -FK - -FK_customer_address_cr_returning_addr_sk - -FK - -FK_customer_cr_refunded_customer_sk - -FK - -FK_customer_cr_returning_customer_sk - -FK - -FK_call_center_cr_call_center_sk - -FK - -FK_customer_demographics_cr_refunded_cdemo_sk - -FK - -FK_customer_demographics_cr_returning_cdemo_sk - -FK - -FK_catalog_page_cr_catalog_page_sk - -FK - -FK_household_demographics_cr_refunded_hdemo_sk - -FK - -FK_household_demographics_cr_returning_hdemo_sk - -FK - -FK_item_cr_item_sk - -FK - -FK_reason_cr_reason_sk - -FK - -FK_ship_mode_cr_ship_mode_sk - -FK - -FK_warehouse_cr_warehouse_sk - -FK - -cr_return_amount - -float - -cr_return_tax - -float - -cr_return_amt_inc_tax - -float - -cr_fee - -float - -cr_return_ship_cost - -float - -cr_refunded_cash - -float - -cr_reversed_charge - -float - -cr_store_credit - -float - -cr_net_loss - -float - -cr_returned_time_sk - -int - -cr_item_sk - -int - -cr_refunded_customer_sk - -int - -cr_refunded_cdemo_sk - -int - -cr_refunded_hdemo_sk - -int - -cr_refunded_addr_sk - -int - -cr_returning_customer_sk - -int - -cr_returning_cdemo_sk - -int - -cr_returning_hdemo_sk - -int - -cr_returning_addr_sk - -int - -cr_call_center_sk - -int - -cr_catalog_page_sk - -int - -cr_ship_mode_sk - -int - -cr_warehouse_sk - -int - -cr_reason_sk - -int - -cr_order_number - -int - -cr_return_quantity - -int - -cr_returned_date_sk - -datetime + +catalog_returns + +144K rows + +__PK__ + +PK + +FK_customer_address_cr_refunded_addr_sk + +FK + +FK_customer_address_cr_returning_addr_sk + +FK + +FK_customer_cr_refunded_customer_sk + +FK + +FK_customer_cr_returning_customer_sk + +FK + +FK_call_center_cr_call_center_sk + +FK + +FK_customer_demographics_cr_refunded_cdemo_sk + +FK + +FK_customer_demographics_cr_returning_cdemo_sk + +FK + +FK_catalog_page_cr_catalog_page_sk + +FK + +FK_household_demographics_cr_refunded_hdemo_sk + +FK + +FK_household_demographics_cr_returning_hdemo_sk + +FK + +FK_item_cr_item_sk + +FK + +FK_reason_cr_reason_sk + +FK + +FK_ship_mode_cr_ship_mode_sk + +FK + +FK_warehouse_cr_warehouse_sk + +FK + +cr_return_amount + +float + +cr_return_tax + +float + +cr_return_amt_inc_tax + +float + +cr_fee + +float + +cr_return_ship_cost + +float + +cr_refunded_cash + +float + +cr_reversed_charge + +float + +cr_store_credit + +float + +cr_net_loss + +float + +cr_returned_time_sk + +int + +cr_item_sk + +int + +cr_refunded_customer_sk + +int + +cr_refunded_cdemo_sk + +int + +cr_refunded_hdemo_sk + +int + +cr_refunded_addr_sk + +int + +cr_returning_customer_sk + +int + +cr_returning_cdemo_sk + +int + +cr_returning_hdemo_sk + +int + +cr_returning_addr_sk + +int + +cr_call_center_sk + +int + +cr_catalog_page_sk + +int + +cr_ship_mode_sk + +int + +cr_warehouse_sk + +int + +cr_reason_sk + +int + +cr_order_number + +int + +cr_return_quantity + +int + +cr_returned_date_sk + +datetime call_center - -call_center - -6 rows - -__PK__ - -PK - -cc_open_date_sk - -TIME - -cc_gmt_offset - -float - -cc_tax_percentage - -float - -cc_employees - -int - -cc_sq_ft - -int - -cc_mkt_id - -int - -cc_division - -int - -cc_company - -int - -cc_call_center_id - -str - -cc_name - -str - -cc_class - -str - -cc_hours - -str - -cc_manager - -str - -cc_mkt_class - -str - -cc_mkt_desc - -str - -cc_market_manager - -str - -cc_division_name - -str - -cc_company_name - -str - -cc_street_number - -str - -cc_street_name - -str - -cc_street_type - -str - -cc_suite_number - -str - -cc_city - -str - -cc_county - -str - -cc_state - -str - -cc_zip - -str - -cc_country - -str - -cc_rec_start_date - -datetime - -cc_rec_end_date - -datetime - -cc_closed_date_sk - -datetime + +call_center + +6 rows + +__PK__ + +PK + +cc_open_date_sk + +TIME + +cc_gmt_offset + +float + +cc_tax_percentage + +float + +cc_employees + +int + +cc_sq_ft + +int + +cc_mkt_id + +int + +cc_division + +int + +cc_company + +int + +cc_call_center_id + +str + +cc_name + +str + +cc_class + +str + +cc_hours + +str + +cc_manager + +str + +cc_mkt_class + +str + +cc_mkt_desc + +str + +cc_market_manager + +str + +cc_division_name + +str + +cc_company_name + +str + +cc_street_number + +str + +cc_street_name + +str + +cc_street_type + +str + +cc_suite_number + +str + +cc_city + +str + +cc_county + +str + +cc_state + +str + +cc_zip + +str + +cc_country + +str + +cc_rec_start_date + +datetime + +cc_rec_end_date + +datetime + +cc_closed_date_sk + +datetime catalog_sales - -catalog_sales - -1M rows - -__PK__ - -PK - -FK_customer_address_cs_bill_addr_sk - -FK - -FK_customer_cs_bill_customer_sk - -FK - -FK_customer_demographics_cs_bill_cdemo_sk - -FK - -FK_household_demographics_cs_bill_hdemo_sk - -FK - -FK_call_center_cs_call_center_sk - -FK - -FK_catalog_page_cs_catalog_page_sk - -FK - -FK_item_cs_item_sk - -FK - -FK_promotion_cs_promo_sk - -FK - -FK_customer_address_cs_ship_addr_sk - -FK - -FK_customer_cs_ship_customer_sk - -FK - -FK_customer_demographics_cs_ship_cdemo_sk - -FK - -FK_household_demographics_cs_ship_hdemo_sk - -FK - -FK_ship_mode_cs_ship_mode_sk - -FK - -FK_warehouse_cs_warehouse_sk - -FK - -cs_sold_date_sk - -TIME - -cs_wholesale_cost - -float - -cs_list_price - -float - -cs_sales_price - -float - -cs_ext_discount_amt - -float - -cs_ext_sales_price - -float - -cs_ext_wholesale_cost - -float - -cs_ext_list_price - -float - -cs_ext_tax - -float - -cs_coupon_amt - -float - -cs_ext_ship_cost - -float - -cs_net_paid - -float - -cs_net_paid_inc_tax - -float - -cs_net_paid_inc_ship - -float - -cs_net_paid_inc_ship_tax - -float - -cs_net_profit - -float - -cs_sold_time_sk - -int - -cs_bill_customer_sk - -int - -cs_bill_cdemo_sk - -int - -cs_bill_hdemo_sk - -int - -cs_bill_addr_sk - -int - -cs_ship_customer_sk - -int - -cs_ship_cdemo_sk - -int - -cs_ship_hdemo_sk - -int - -cs_ship_addr_sk - -int - -cs_call_center_sk - -int - -cs_catalog_page_sk - -int - -cs_ship_mode_sk - -int - -cs_warehouse_sk - -int - -cs_item_sk - -int - -cs_promo_sk - -int - -cs_order_number - -int - -cs_quantity - -int - -cs_ship_date_sk - -datetime + +catalog_sales + +1M rows + +__PK__ + +PK + +FK_customer_address_cs_bill_addr_sk + +FK + +FK_customer_cs_bill_customer_sk + +FK + +FK_customer_demographics_cs_bill_cdemo_sk + +FK + +FK_household_demographics_cs_bill_hdemo_sk + +FK + +FK_call_center_cs_call_center_sk + +FK + +FK_catalog_page_cs_catalog_page_sk + +FK + +FK_item_cs_item_sk + +FK + +FK_promotion_cs_promo_sk + +FK + +FK_customer_address_cs_ship_addr_sk + +FK + +FK_customer_cs_ship_customer_sk + +FK + +FK_customer_demographics_cs_ship_cdemo_sk + +FK + +FK_household_demographics_cs_ship_hdemo_sk + +FK + +FK_ship_mode_cs_ship_mode_sk + +FK + +FK_warehouse_cs_warehouse_sk + +FK + +cs_sold_date_sk + +TIME + +cs_wholesale_cost + +float + +cs_list_price + +float + +cs_sales_price + +float + +cs_ext_discount_amt + +float + +cs_ext_sales_price + +float + +cs_ext_wholesale_cost + +float + +cs_ext_list_price + +float + +cs_ext_tax + +float + +cs_coupon_amt + +float + +cs_ext_ship_cost + +float + +cs_net_paid + +float + +cs_net_paid_inc_tax + +float + +cs_net_paid_inc_ship + +float + +cs_net_paid_inc_ship_tax + +float + +cs_net_profit + +float + +cs_sold_time_sk + +int + +cs_bill_customer_sk + +int + +cs_bill_cdemo_sk + +int + +cs_bill_hdemo_sk + +int + +cs_bill_addr_sk + +int + +cs_ship_customer_sk + +int + +cs_ship_cdemo_sk + +int + +cs_ship_hdemo_sk + +int + +cs_ship_addr_sk + +int + +cs_call_center_sk + +int + +cs_catalog_page_sk + +int + +cs_ship_mode_sk + +int + +cs_warehouse_sk + +int + +cs_item_sk + +int + +cs_promo_sk + +int + +cs_order_number + +int + +cs_quantity + +int + +cs_ship_date_sk + +datetime store_sales - -store_sales - -3M rows - -__PK__ - -PK - -FK_customer_address_ss_addr_sk - -FK - -FK_customer_ss_customer_sk - -FK - -FK_customer_demographics_ss_cdemo_sk - -FK - -FK_household_demographics_ss_hdemo_sk - -FK - -FK_item_ss_item_sk - -FK - -FK_promotion_ss_promo_sk - -FK - -FK_store_ss_store_sk - -FK - -ss_wholesale_cost - -float - -ss_list_price - -float - -ss_sales_price - -float - -ss_ext_discount_amt - -float - -ss_ext_sales_price - -float - -ss_ext_wholesale_cost - -float - -ss_ext_list_price - -float - -ss_ext_tax - -float - -ss_coupon_amt - -float - -ss_net_paid - -float - -ss_net_paid_inc_tax - -float - -ss_net_profit - -float - -ss_sold_time_sk - -int - -ss_item_sk - -int - -ss_customer_sk - -int - -ss_cdemo_sk - -int - -ss_hdemo_sk - -int - -ss_addr_sk - -int - -ss_store_sk - -int - -ss_promo_sk - -int - -ss_ticket_number - -int - -ss_quantity - -int - -ss_sold_date_sk - -datetime + +store_sales + +3M rows + +__PK__ + +PK + +FK_customer_address_ss_addr_sk + +FK + +FK_customer_ss_customer_sk + +FK + +FK_customer_demographics_ss_cdemo_sk + +FK + +FK_household_demographics_ss_hdemo_sk + +FK + +FK_item_ss_item_sk + +FK + +FK_promotion_ss_promo_sk + +FK + +FK_store_ss_store_sk + +FK + +ss_wholesale_cost + +float + +ss_list_price + +float + +ss_sales_price + +float + +ss_ext_discount_amt + +float + +ss_ext_sales_price + +float + +ss_ext_wholesale_cost + +float + +ss_ext_list_price + +float + +ss_ext_tax + +float + +ss_coupon_amt + +float + +ss_net_paid + +float + +ss_net_paid_inc_tax + +float + +ss_net_profit + +float + +ss_sold_time_sk + +int + +ss_item_sk + +int + +ss_customer_sk + +int + +ss_cdemo_sk + +int + +ss_hdemo_sk + +int + +ss_addr_sk + +int + +ss_store_sk + +int + +ss_promo_sk + +int + +ss_ticket_number + +int + +ss_quantity + +int + +ss_sold_date_sk + +datetime diff --git a/ctu-tpch/README.md b/ctu-tpch/README.md index 158c70cec9d34bbfef78bd33bf060093dc7534a9..0e69188e1a0df4a138546e8249558f978ce1cfd3 100644 --- a/ctu-tpch/README.md +++ b/ctu-tpch/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-tpch ---- - # ctu-tpch TPC-H is the benchmark published by the Transaction Processing Performance Council (TPC) for decision support. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ TPC-H is the benchmark published by the Transaction Processing Performance Counc ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `1997-09-01 00:00:00`, test `1998-03-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `1997-09-01 00:00:00`, test `1998-03-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-tpch") -task = relbench.load_task("ctu-tpch", "") +ds = relbench.load_dataset("relbench/redelex/ctu-tpch") +task = relbench.load_task("relbench/redelex/ctu-tpch", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-tpch/schema.svg b/ctu-tpch/schema.svg index 3d5a2d30670b481fc138424fe1861de6be0ed374..668951346136893899e92df25412ecb7e91d6e5e 100644 --- a/ctu-tpch/schema.svg +++ b/ctu-tpch/schema.svg @@ -1,384 +1,384 @@ - - + + schema customer:e->nation:w - + nation:e->region:w - + lineitem:e->orders:w - + lineitem:e->partsupp:w - + orders:e->customer:w - + supplier:e->nation:w - + partsupp:e->supplier:w - + partsupp:e->part:w - + customer - -customer - -150K rows - -__PK__ - -PK - -FK_nation_c_nationkey - -FK - -c_acctbal - -float - -c_nationkey - -int - -c_mktsegment - -str - -c_name - -str - -c_address - -str - -c_phone - -str - -c_comment - -str + +customer + +150K rows + +__PK__ + +PK + +FK_nation_c_nationkey + +FK + +c_acctbal + +float + +c_nationkey + +int + +c_mktsegment + +str + +c_name + +str + +c_address + +str + +c_phone + +str + +c_comment + +str nation - -nation - -25 rows - -__PK__ - -PK - -FK_region_n_regionkey - -FK - -n_regionkey - -int - -n_name - -str - -n_comment - -str + +nation + +25 rows + +__PK__ + +PK + +FK_region_n_regionkey + +FK + +n_regionkey + +int + +n_name + +str + +n_comment + +str region - -region - -5 rows - -__PK__ - -PK - -r_name - -str - -r_comment - -str + +region + +5 rows + +__PK__ + +PK + +r_name + +str + +r_comment + +str lineitem - -lineitem - -4M rows - -__PK__ - -PK - -FK_orders_l_orderkey - -FK - -FK_partsupp_l_partkey_l_suppkey - -FK - -l_shipdate - -TIME - -l_discount - -float - -l_extendedprice - -float - -l_tax - -float - -l_orderkey - -int - -l_suppkey - -int - -l_quantity - -int - -l_partkey - -int - -l_linenumber - -int - -l_returnflag - -str - -l_linestatus - -str - -l_shipmode - -str - -l_shipinstruct - -str - -l_comment - -str - -l_commitdate - -datetime - -l_receiptdate - -datetime + +lineitem + +4M rows + +__PK__ + +PK + +FK_orders_l_orderkey + +FK + +FK_partsupp_l_partkey_l_suppkey + +FK + +l_shipdate + +TIME + +l_discount + +float + +l_extendedprice + +float + +l_tax + +float + +l_orderkey + +int + +l_suppkey + +int + +l_quantity + +int + +l_partkey + +int + +l_linenumber + +int + +l_returnflag + +str + +l_linestatus + +str + +l_shipmode + +str + +l_shipinstruct + +str + +l_comment + +str + +l_commitdate + +datetime + +l_receiptdate + +datetime orders - -orders - -2M rows - -__PK__ - -PK - -FK_customer_o_custkey - -FK - -o_orderdate - -TIME - -o_totalprice - -float - -o_custkey - -int - -o_shippriority - -int - -o_orderpriority - -str - -o_clerk - -str - -o_orderstatus - -str - -o_comment - -str + +orders + +2M rows + +__PK__ + +PK + +FK_customer_o_custkey + +FK + +o_orderdate + +TIME + +o_totalprice + +float + +o_custkey + +int + +o_shippriority + +int + +o_orderpriority + +str + +o_clerk + +str + +o_orderstatus + +str + +o_comment + +str partsupp - -partsupp - -800K rows - -__PK__ - -PK - -FK_part_ps_partkey - -FK - -FK_supplier_ps_suppkey - -FK - -ps_supplycost - -float - -ps_partkey - -int - -ps_suppkey - -int - -ps_availqty - -int - -ps_comment - -str + +partsupp + +800K rows + +__PK__ + +PK + +FK_part_ps_partkey + +FK + +FK_supplier_ps_suppkey + +FK + +ps_supplycost + +float + +ps_partkey + +int + +ps_suppkey + +int + +ps_availqty + +int + +ps_comment + +str supplier - -supplier - -10K rows - -__PK__ - -PK - -FK_nation_s_nationkey - -FK - -s_acctbal - -float - -s_nationkey - -int - -s_comment - -str - -s_name - -str - -s_address - -str - -s_phone - -str + +supplier + +10K rows + +__PK__ + +PK + +FK_nation_s_nationkey + +FK + +s_acctbal + +float + +s_nationkey + +int + +s_comment + +str + +s_name + +str + +s_address + +str + +s_phone + +str part - -part - -200K rows - -__PK__ - -PK - -p_retailprice - -float - -p_size - -int - -p_type - -str - -p_brand - -str - -p_name - -str - -p_container - -str - -p_mfgr - -str - -p_comment - -str + +part + +200K rows + +__PK__ + +PK + +p_retailprice + +float + +p_size + +int + +p_type + +str + +p_brand + +str + +p_name + +str + +p_container + +str + +p_mfgr + +str + +p_comment + +str diff --git a/ctu-triazine/README.md b/ctu-triazine/README.md index 1e707cdf63e2a417c85da3186521823ead35fccd..d4c7d1ac807d81161facca1bad43c3c2b3a4fadc 100644 --- a/ctu-triazine/README.md +++ b/ctu-triazine/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-triazine ---- - # ctu-triazine A pyrimidine QSAR dataset. The the goal is to predict the inhibition of dihydrofolate reductase by pyrimidines. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ A pyrimidine QSAR dataset. The the goal is to predict the inhibition of dihydrof ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-triazine") -task = relbench.load_task("ctu-triazine", "") +ds = relbench.load_dataset("relbench/redelex/ctu-triazine") +task = relbench.load_task("relbench/redelex/ctu-triazine", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-triazine/schema.svg b/ctu-triazine/schema.svg index e0f51d38356542a05ab744fb44c494ea348081f5..09e365775c2829e14270407775904ebe59c06e06 100644 --- a/ctu-triazine/schema.svg +++ b/ctu-triazine/schema.svg @@ -1,88 +1,88 @@ - - + + schema position:e->molecule:w - + molecule - -molecule - -186 rows - -__PK__ - -PK - -activity - -float + +molecule + +186 rows + +__PK__ + +PK + +activity + +float position - -position - -1K rows - -__PK__ - -PK - -FK_molecule_molecule_id - -FK - -branch - -float - -flex - -float - -h_acceptor - -float - -h_doner - -float - -pi_acceptor - -float - -pi_doner - -float - -polar - -float - -polarisable - -float - -sigma - -float - -size - -float - -molecule_id - -int - -position - -int + +position + +1K rows + +__PK__ + +PK + +FK_molecule_molecule_id + +FK + +branch + +float + +flex + +float + +h_acceptor + +float + +h_doner + +float + +pi_acceptor + +float + +pi_doner + +float + +polar + +float + +polarisable + +float + +sigma + +float + +size + +float + +molecule_id + +int + +position + +int diff --git a/ctu-uwcse/README.md b/ctu-uwcse/README.md index 709e12bf5896b4c49409ae9bcd97613dec2c119c..e4f57907a713a29acf2c8a73dd8cc3df99251732 100644 --- a/ctu-uwcse/README.md +++ b/ctu-uwcse/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-uwcse ---- - # ctu-uwcse This dataset lists facts about the Department of Computer Science and Engineering at the University of Washington (UW-CSE), such as entities (e.g., Student, Professor) and their relationships (i.e. AdvisedBy, Publication). Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ This dataset lists facts about the Department of Computer Science and Engineerin ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-uwcse") -task = relbench.load_task("ctu-uwcse", "") +ds = relbench.load_dataset("relbench/redelex/ctu-uwcse") +task = relbench.load_task("relbench/redelex/ctu-uwcse", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-uwcse/schema.svg b/ctu-uwcse/schema.svg index 3b8a37e3351589ba14a297105e23540519286e47..9f7c3f0d3f81ecfb3c196455b4a5d37a5c5ccba2 100644 --- a/ctu-uwcse/schema.svg +++ b/ctu-uwcse/schema.svg @@ -1,124 +1,124 @@ - - + + schema taughtBy:e->course:w - + taughtBy:e->person:w - + advisedBy:e->person:w - + advisedBy:e->person:w - + course - -course - -132 rows - -__PK__ - -PK - -courseLevel - -str + +course + +132 rows + +__PK__ + +PK + +courseLevel + +str taughtBy - -taughtBy - -189 rows - -__PK__ - -PK - -FK_course_course_id - -FK - -FK_person_p_id - -FK - -course_id - -int - -p_id - -int + +taughtBy + +189 rows + +__PK__ + +PK + +FK_course_course_id + +FK + +FK_person_p_id + +FK + +course_id + +int + +p_id + +int person - -person - -278 rows - -__PK__ - -PK - -professor - -str - -student - -str - -hasPosition - -str - -inPhase - -str - -yearsInProgram - -str + +person + +278 rows + +__PK__ + +PK + +professor + +str + +student + +str + +hasPosition + +str + +inPhase + +str + +yearsInProgram + +str advisedBy - -advisedBy - -113 rows - -__PK__ - -PK - -FK_person_p_id - -FK - -FK_person_p_id_dummy - -FK - -p_id - -int - -p_id_dummy - -int + +advisedBy + +113 rows + +__PK__ + +PK + +FK_person_p_id + +FK + +FK_person_p_id_dummy + +FK + +p_id + +int + +p_id_dummy + +int diff --git a/ctu-visualgenome/README.md b/ctu-visualgenome/README.md index a8f90ad965aa6d6fb10e50be0d0b4a9957b1bbdf..fbc1ec00ad5b246190115812953638686f37cf95 100644 --- a/ctu-visualgenome/README.md +++ b/ctu-visualgenome/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-visualgenome ---- - # ctu-visualgenome Visual Genome is a dataset, a knowledge base, an ongoing effort to connect structured image concepts to language. TODO: add images Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ Visual Genome is a dataset, a knowledge base, an ongoing effort to connect struc ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-visualgenome") -task = relbench.load_task("ctu-visualgenome", "") +ds = relbench.load_dataset("relbench/redelex/ctu-visualgenome") +task = relbench.load_task("relbench/redelex/ctu-visualgenome", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-visualgenome/schema.svg b/ctu-visualgenome/schema.svg index fe207087a94f0571aee3984b9cabf758b4c85537..89c55a48fa8ce7a7e0d1e274664f838107a9eccd 100644 --- a/ctu-visualgenome/schema.svg +++ b/ctu-visualgenome/schema.svg @@ -1,132 +1,132 @@ - - + + schema IMG_OBJ_ATT:e->IMG_OBJ:w - + IMG_REL:e->IMG_OBJ:w - + IMG_REL:e->IMG_OBJ:w - + IMG_OBJ_ATT - -IMG_OBJ_ATT - -1M rows - -__PK__ - -PK - -FK_IMG_OBJ_IMG_ID_OBJ_SAMPLE_ID - -FK - -IMG_ID - -int - -ATT_CLASS_ID - -int - -OBJ_SAMPLE_ID - -int - -ATT_CLASS - -str + +IMG_OBJ_ATT + +1M rows + +__PK__ + +PK + +FK_IMG_OBJ_IMG_ID_OBJ_SAMPLE_ID + +FK + +IMG_ID + +int + +ATT_CLASS_ID + +int + +OBJ_SAMPLE_ID + +int + +ATT_CLASS + +str IMG_OBJ - -IMG_OBJ - -2M rows - -__PK__ - -PK - -IMG_ID - -int - -OBJ_SAMPLE_ID - -int - -OBJ_CLASS_ID - -int - -X - -int - -Y - -int - -W - -int - -H - -int - -OBJ_CLASS - -str + +IMG_OBJ + +2M rows + +__PK__ + +PK + +IMG_ID + +int + +OBJ_SAMPLE_ID + +int + +OBJ_CLASS_ID + +int + +X + +int + +Y + +int + +W + +int + +H + +int + +OBJ_CLASS + +str IMG_REL - -IMG_REL - -763K rows - -__PK__ - -PK - -FK_IMG_OBJ_IMG_ID_OBJ1_SAMPLE_ID - -FK - -FK_IMG_OBJ_IMG_ID_OBJ2_SAMPLE_ID - -FK - -IMG_ID - -int - -PRED_CLASS_ID - -int - -OBJ1_SAMPLE_ID - -int - -OBJ2_SAMPLE_ID - -int - -PRED_CLASS - -str + +IMG_REL + +763K rows + +__PK__ + +PK + +FK_IMG_OBJ_IMG_ID_OBJ1_SAMPLE_ID + +FK + +FK_IMG_OBJ_IMG_ID_OBJ2_SAMPLE_ID + +FK + +IMG_ID + +int + +PRED_CLASS_ID + +int + +OBJ1_SAMPLE_ID + +int + +OBJ2_SAMPLE_ID + +int + +PRED_CLASS + +str diff --git a/ctu-voc/README.md b/ctu-voc/README.md index a77e410ac47fc036c138eca80fb1716ad38c8918..70c614c96269efa381a8497bc9d8364973f62745 100644 --- a/ctu-voc/README.md +++ b/ctu-voc/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-voc ---- - # ctu-voc VOC database provides a peephole view into the administrative system of an early multi-national company, the Vereenigde geoctrooieerde Oostindische Compagnie (VOC for short - The (Dutch) East Indian Company) established on March 20, 1602. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ VOC database provides a peephole view into the administrative system of an early ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `1887-01-01 00:00:00`, test `1902-01-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `1887-01-01 00:00:00`, test `1902-01-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-voc") -task = relbench.load_task("ctu-voc", "") +ds = relbench.load_dataset("relbench/redelex/ctu-voc") +task = relbench.load_task("relbench/redelex/ctu-voc", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-voc/schema.svg b/ctu-voc/schema.svg index 449a86f52dea8cb41889814f032e79e49da87978..62a0801db27c4a616c523f4359b6da467ffb830a 100644 --- a/ctu-voc/schema.svg +++ b/ctu-voc/schema.svg @@ -1,512 +1,512 @@ - - + + schema passengers:e->voyages:w - + craftsmen:e->voyages:w - + invoices:e->voyages:w - + seafarers:e->voyages:w - + total:e->voyages:w - + soldiers:e->voyages:w - + impotenten:e->voyages:w - + voyages - -voyages - -8K rows - -__PK__ - -PK - -departure_date - -TIME - -number - -int - -trip - -int - -tonnage - -int - -next_voyage - -int - -artificial_id - -str - -number_sup - -str - -trip_sup - -str - -boatname - -str - -master - -str - -type_of_boat - -str - -built - -str - -bought - -str - -hired - -str - -yard - -str - -chamber - -str - -departure_harbour - -str - -cape_call - -str - -arrival_harbour - -str - -particulars - -str - -cape_arrival - -datetime - -cape_departure - -datetime - -arrival_date - -datetime + +voyages + +8K rows + +__PK__ + +PK + +departure_date + +TIME + +number + +int + +trip + +int + +tonnage + +int + +next_voyage + +int + +artificial_id + +str + +number_sup + +str + +trip_sup + +str + +boatname + +str + +master + +str + +type_of_boat + +str + +built + +str + +bought + +str + +hired + +str + +yard + +str + +chamber + +str + +departure_harbour + +str + +cape_call + +str + +arrival_harbour + +str + +particulars + +str + +cape_arrival + +datetime + +cape_departure + +datetime + +arrival_date + +datetime passengers - -passengers - -3K rows - -__PK__ - -PK - -FK_voyages_number_number_sup - -FK - -number - -int - -trip - -int - -onboard_at_departure - -int - -death_at_cape - -int - -left_at_cape - -int - -onboard_at_cape - -int - -death_during_voyage - -int - -onboard_at_arrival - -int - -number_sup - -str - -trip_sup - -str + +passengers + +3K rows + +__PK__ + +PK + +FK_voyages_number_number_sup + +FK + +number + +int + +trip + +int + +onboard_at_departure + +int + +death_at_cape + +int + +left_at_cape + +int + +onboard_at_cape + +int + +death_during_voyage + +int + +onboard_at_arrival + +int + +number_sup + +str + +trip_sup + +str craftsmen - -craftsmen - -2K rows - -__PK__ - -PK - -FK_voyages_number_number_sup - -FK - -number - -int - -trip - -int - -onboard_at_departure - -int - -death_at_cape - -int - -left_at_cape - -int - -onboard_at_cape - -int - -death_during_voyage - -int - -onboard_at_arrival - -int - -number_sup - -str - -trip_sup - -str + +craftsmen + +2K rows + +__PK__ + +PK + +FK_voyages_number_number_sup + +FK + +number + +int + +trip + +int + +onboard_at_departure + +int + +death_at_cape + +int + +left_at_cape + +int + +onboard_at_cape + +int + +death_during_voyage + +int + +onboard_at_arrival + +int + +number_sup + +str + +trip_sup + +str invoices - -invoices - -4K rows - -__PK__ - -PK - -FK_voyages_number_number_sup - -FK - -number - -int - -trip - -int - -invoice - -int - -number_sup - -str - -trip_sup - -str - -chamber - -str + +invoices + +4K rows + +__PK__ + +PK + +FK_voyages_number_number_sup + +FK + +number + +int + +trip + +int + +invoice + +int + +number_sup + +str + +trip_sup + +str + +chamber + +str seafarers - -seafarers - -4K rows - -__PK__ - -PK - -FK_voyages_number_number_sup - -FK - -number - -int - -trip - -int - -onboard_at_departure - -int - -death_at_cape - -int - -left_at_cape - -int - -onboard_at_cape - -int - -death_during_voyage - -int - -onboard_at_arrival - -int - -number_sup - -str - -trip_sup - -str + +seafarers + +4K rows + +__PK__ + +PK + +FK_voyages_number_number_sup + +FK + +number + +int + +trip + +int + +onboard_at_departure + +int + +death_at_cape + +int + +left_at_cape + +int + +onboard_at_cape + +int + +death_during_voyage + +int + +onboard_at_arrival + +int + +number_sup + +str + +trip_sup + +str total - -total - -2K rows - -__PK__ - -PK - -FK_voyages_number_number_sup - -FK - -number - -int - -trip - -int - -onboard_at_departure - -int - -death_at_cape - -int - -left_at_cape - -int - -onboard_at_cape - -int - -death_during_voyage - -int - -onboard_at_arrival - -int - -number_sup - -str - -trip_sup - -str + +total + +2K rows + +__PK__ + +PK + +FK_voyages_number_number_sup + +FK + +number + +int + +trip + +int + +onboard_at_departure + +int + +death_at_cape + +int + +left_at_cape + +int + +onboard_at_cape + +int + +death_during_voyage + +int + +onboard_at_arrival + +int + +number_sup + +str + +trip_sup + +str soldiers - -soldiers - -4K rows - -__PK__ - -PK - -FK_voyages_number_number_sup - -FK - -number - -int - -trip - -int - -onboard_at_departure - -int - -death_at_cape - -int - -left_at_cape - -int - -onboard_at_cape - -int - -death_during_voyage - -int - -onboard_at_arrival - -int - -number_sup - -str - -trip_sup - -str + +soldiers + +4K rows + +__PK__ + +PK + +FK_voyages_number_number_sup + +FK + +number + +int + +trip + +int + +onboard_at_departure + +int + +death_at_cape + +int + +left_at_cape + +int + +onboard_at_cape + +int + +death_during_voyage + +int + +onboard_at_arrival + +int + +number_sup + +str + +trip_sup + +str impotenten - -impotenten - -938 rows - -__PK__ - -PK - -FK_voyages_number_number_sup - -FK - -number - -int - -trip - -int - -onboard_at_departure - -int - -death_at_cape - -int - -left_at_cape - -int - -onboard_at_cape - -int - -death_during_voyage - -int - -onboard_at_arrival - -int - -number_sup - -str - -trip_sup - -str + +impotenten + +938 rows + +__PK__ + +PK + +FK_voyages_number_number_sup + +FK + +number + +int + +trip + +int + +onboard_at_departure + +int + +death_at_cape + +int + +left_at_cape + +int + +onboard_at_cape + +int + +death_during_voyage + +int + +onboard_at_arrival + +int + +number_sup + +str + +trip_sup + +str diff --git a/ctu-walmart/README.md b/ctu-walmart/README.md index 062e2a68ea31d7bc7ffa9487c1a5494786de5a2a..8d412bc6ff9979813c1e1dc0a8b74955ab7092fe 100644 --- a/ctu-walmart/README.md +++ b/ctu-walmart/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-walmart ---- - # ctu-walmart The sales of 111 potentially weather-sensitive products (like umbrellas, bread, and milk) around the time of major weather events at 45 of their retail locations. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The sales of 111 potentially weather-sensitive products (like umbrellas, bread, ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2014-01-01 00:00:00`, test `2014-06-01 00:00:00` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -28,8 +17,6 @@ Splits: validation `2014-01-01 00:00:00`, test `2014-06-01 00:00:00` (rows up to ```python import relbench -ds = relbench.load_dataset("ctu-walmart") -task = relbench.load_task("ctu-walmart", "") +ds = relbench.load_dataset("relbench/redelex/ctu-walmart") +task = relbench.load_task("relbench/redelex/ctu-walmart", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-walmart/schema.svg b/ctu-walmart/schema.svg index 3afaf8e1071a46afb7b21c71db180e1c037b017e..85e5e8eac1328cf37728f8a7a45777b25cf908a9 100644 --- a/ctu-walmart/schema.svg +++ b/ctu-walmart/schema.svg @@ -1,184 +1,184 @@ - - + + schema key:e->station:w - + weather:e->station:w - + train_table:e->key:w - + station - -station - -20 rows - -__PK__ - -PK - -station_nbr - -int + +station + +20 rows + +__PK__ + +PK + +station_nbr + +int key - -key - -45 rows - -__PK__ - -PK - -FK_station_station_nbr - -FK - -store_nbr - -int - -station_nbr - -int + +key + +45 rows + +__PK__ + +PK + +FK_station_station_nbr + +FK + +store_nbr + +int + +station_nbr + +int weather - -weather - -21K rows - -__PK__ - -PK - -FK_station_station_nbr - -FK - -date - -TIME - -snowfall - -float - -preciptotal - -float - -stnpressure - -float - -sealevel - -float - -resultspeed - -float - -avgspeed - -float - -station_nbr - -int - -tmax - -int - -tmin - -int - -tavg - -int - -depart - -int - -dewpoint - -int - -wetbulb - -int - -heat - -int - -cool - -int - -resultdir - -int - -codesum - -str - -sunrise - -datetime - -sunset - -datetime + +weather + +21K rows + +__PK__ + +PK + +FK_station_station_nbr + +FK + +date + +TIME + +snowfall + +float + +preciptotal + +float + +stnpressure + +float + +sealevel + +float + +resultspeed + +float + +avgspeed + +float + +station_nbr + +int + +tmax + +int + +tmin + +int + +tavg + +int + +depart + +int + +dewpoint + +int + +wetbulb + +int + +heat + +int + +cool + +int + +resultdir + +int + +codesum + +str + +sunrise + +datetime + +sunset + +datetime train_table - -train_table - -5M rows - -__PK__ - -PK - -FK_key_store_nbr - -FK - -date - -TIME - -store_nbr - -int - -item_nbr - -int - -units - -int + +train_table + +5M rows + +__PK__ + +PK + +FK_key_store_nbr + +FK + +date + +TIME + +store_nbr + +int + +item_nbr + +int + +units + +int diff --git a/ctu-webkp/README.md b/ctu-webkp/README.md index 8288f976abe7ae234ad9c843e7a012e2b3db61f3..f925fd32193e53bd5624ace7142b896316980862 100644 --- a/ctu-webkp/README.md +++ b/ctu-webkp/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-webkp ---- - # ctu-webkp The WebKB dataset consists of 877 scientific publications classified into one of five classes. The citation network consists of 1608 links. Each publication in the dataset is described by a 0/1-valued word vector indicating the absence/presence of the corresponding word from the dictionary. The dictionary consists of 1703 unique words. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ The WebKB dataset consists of 877 scientific publications classified into one of ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-webkp") -task = relbench.load_task("ctu-webkp", "") +ds = relbench.load_dataset("relbench/redelex/ctu-webkp") +task = relbench.load_task("relbench/redelex/ctu-webkp", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-webkp/schema.svg b/ctu-webkp/schema.svg index c806612d40d94e6956cb8f685b030c9f1a775795..f8fb1f571b7b8ecc3f70df27e61d63b84a5158ae 100644 --- a/ctu-webkp/schema.svg +++ b/ctu-webkp/schema.svg @@ -1,84 +1,84 @@ - - + + schema content:e->webpage:w - + cites:e->webpage:w - + cites:e->webpage:w - + content - -content - -79K rows - -__PK__ - -PK - -FK_webpage_webpage_id - -FK - -webpage_id - -str - -word_cited_id - -str + +content + +79K rows + +__PK__ + +PK + +FK_webpage_webpage_id + +FK + +webpage_id + +str + +word_cited_id + +str webpage - -webpage - -877 rows - -__PK__ - -PK - -class_label - -str + +webpage + +877 rows + +__PK__ + +PK + +class_label + +str cites - -cites - -2K rows - -__PK__ - -PK - -FK_webpage_cited_paper_id - -FK - -FK_webpage_citing_paper_id - -FK - -cited_paper_id - -str - -citing_paper_id - -str + +cites + +2K rows + +__PK__ + +PK + +FK_webpage_cited_paper_id + +FK + +FK_webpage_citing_paper_id + +FK + +cited_paper_id + +str + +citing_paper_id + +str diff --git a/ctu-world/README.md b/ctu-world/README.md index 9eee0c23455b487c740be5939b4c5e55139f0f8f..5684311a7864409425a76b6b1180756284db235c 100644 --- a/ctu-world/README.md +++ b/ctu-world/README.md @@ -1,10 +1,3 @@ ---- -tags: -- relbench -- relational-deep-learning -pretty_name: ctu-world ---- - # ctu-world A database of 239 states and their cities. Sourced from the CTU Prague Relational Learning Repository (https://relational.fel.cvut.cz/). @@ -13,10 +6,6 @@ A database of 239 states and their cities. Sourced from the CTU Prague Relationa ![schema diagram](schema.svg) -Open [`schema.svg`](schema.svg) for a zoomable view: each table shows its columns and types and its row count, with primary keys, foreign keys, time columns, and the foreign-key relationships (crow's-foot notation) between tables. - -Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timestamp are the inputs for that split). - ## Tasks | task | kind | type | description | @@ -27,8 +16,6 @@ Splits: validation `2262-04-11`, test `2262-04-11` (rows up to a split's timesta ```python import relbench -ds = relbench.load_dataset("ctu-world") -task = relbench.load_task("ctu-world", "") +ds = relbench.load_dataset("relbench/redelex/ctu-world") +task = relbench.load_task("relbench/redelex/ctu-world", "") ``` - -Manifest layout (`manifest.yaml` + plain parquet); see the RelBench [CONTRIBUTING guide](https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md). diff --git a/ctu-world/schema.svg b/ctu-world/schema.svg index 1a5c0e7e11233171175b966a30d2a950e14f344f..2c2f6d6688b940ec8aab1fc97fe7f2f9b83ae5d3 100644 --- a/ctu-world/schema.svg +++ b/ctu-world/schema.svg @@ -1,144 +1,144 @@ - - + + schema CountryLanguage:e->Country:w - + City:e->Country:w - + CountryLanguage - -CountryLanguage - -984 rows - -__PK__ - -PK - -FK_Country_CountryCode - -FK - -Percentage - -float - -CountryCode - -str - -Language - -str - -IsOfficial - -dictionary<values=string, indices=int8, ordered=0> + +CountryLanguage + +984 rows + +__PK__ + +PK + +FK_Country_CountryCode + +FK + +Percentage + +float + +CountryCode + +str + +Language + +str + +IsOfficial + +dictionary<values=string, indices=int8, ordered=0> Country - -Country - -239 rows - -__PK__ - -PK - -SurfaceArea - -float - -LifeExpectancy - -float - -GNP - -float - -GNPOld - -float - -IndepYear - -int - -Population - -int - -Capital - -int - -Name - -str - -Region - -str - -LocalName - -str - -GovernmentForm - -str - -HeadOfState - -str - -Code2 - -str - -Continent - -dictionary<values=string, indices=int8, ordered=0> + +Country + +239 rows + +__PK__ + +PK + +SurfaceArea + +float + +LifeExpectancy + +float + +GNP + +float + +GNPOld + +float + +IndepYear + +int + +Population + +int + +Capital + +int + +Name + +str + +Region + +str + +LocalName + +str + +GovernmentForm + +str + +HeadOfState + +str + +Code2 + +str + +Continent + +dictionary<values=string, indices=int8, ordered=0> City - -City - -4K rows - -__PK__ - -PK - -FK_Country_CountryCode - -FK - -Population - -int - -Name - -str - -CountryCode - -str - -District - -str + +City + +4K rows + +__PK__ + +PK + +FK_Country_CountryCode + +FK + +Population + +int + +Name + +str + +CountryCode + +str + +District + +str