Skip to main content
Kaggle

IoT-SQL Dataset: A Benchmark for Text-to-SQL and IoT Threat Classification (NAACL 2025)

Smart Home & Buildings Smart Home
169 views
2 min read
License
Catalog metadata: This page is a discovery record, not publisher documentation. Verify the description, schema, provenance, version, licence, and citation at the linked source before use.

Catalog Summary

"Multimodal dataset combining Text-to-SQL natural language queries with IoT network traffic classification, featuring 10,985 SQL training examples and labeled network traffic (benign/malicious) from IoT-23 and Smart Building sensors for NLP and security research."

Catalog Notes

Overview

The IoT-SQL Dataset was published in the TrustNLP Workshop (Fifth Workshop on Trustworthy Natural Language Processing) at NAACL 2025, designed to advance research at the intersection of natural language processing and IoT security.

Dataset Components

  • IoT Database: SQL schema and data from IoT-23 network logs and Smart Building Sensor datasets structured in a relational database format (iot_database.sql.gz).
  • Text-to-SQL Data (text-to-SQL-data.zip): 10,985 total examples split into training (6,591), validation (2,197), and test (2,197) sets with natural language questions paired with corresponding SQL queries.
  • Network Traffic Data (network_traffic_data.zip - 315 MB): Labeled IoT network traffic with features including timestamps, IP addresses, ports, protocols, byte counts, and connection history.

Text-to-SQL Features

  • Queries include joins, aggregations, temporal conditions, and nested clauses specifically designed for IoT security contexts.
  • Natural language questions covering topics such as device identification, anomaly detection, traffic pattern analysis, and threat assessment.
  • Designed to train and evaluate language models for generating SQL queries from natural language in cybersecurity domains.

Network Traffic Classification

  • Each record labeled as benign or malicious for binary classification tasks.
  • Malicious traffic includes DDoS attacks, Command & Control (C&C) communications, and botnet-related activities.
  • Feature set enables both traditional machine learning and deep learning approaches for intrusion detection.

Use Cases

  • Text-to-SQL research: Training and evaluating NLP models for database query generation in IoT security contexts.
  • IoT threat detection: Developing intrusion detection systems using network traffic features.
  • Multimodal learning: Combining structured database queries with network security classification in unified frameworks.
  • Trustworthy AI research: Evaluating reliability, explainability, and robustness of AI models in security-critical IoT applications.

View Data Structure

To explore column names, data types, and sample rows, visit the official dataset page on Kaggle.

Preview on Kaggle

Cite This Dataset

Palvich, R., Ebadi, N., Tarbell, R., Linares, B., Tan, A., Humphreys, R., Das, J. K., Ghandiparsi, R., Haley, H., George, J., Slavin, R., Choo, K.-K. R., Dietrich, G., & Rios, A. (2025). IoT-SQL Dataset: A Benchmark for Text-to-SQL and IoT Threat Classification. [Dataset]. Zenodo. https://doi.org/10.5281/zenodo.15000588

Source metadata: Zenodo (2025) · DOI: 10.5281/zenodo.15000588

Indexed by IoTDataset.com on Jan 31, 2026

Review the Source Record

Confirm the licence, version, access conditions, file format, and provenance at the source before use.

Open Source Page

Related Topics & Keywords

Browse all Smart Home & Buildings datasets

Share This Research

More in Smart Home & Buildings

View All
Smart Home Kaggle

MQTT_UAD: MQTT Under Attack Dataset for Detection of Attacks in IoT Networks Using MQTT Protocol

MQTT_UAD is a public MQTT traffic dataset published in Data in Brief 2025, containing labeled benign and attack scenarios in IoT networks that use the MQTT protocol, designed for training and evaluating intrusion detection systems.

Feb 03, 2026
Smart Home Kaggle

A Dataset of Research Papers on IoT Attacks and Security Models (2005-2025) - Systematic Review Corpus

Comprehensive collection of research papers on IoT attacks and security models published between 2005-2025 in IEEE, Elsevier, Springer, ACM, and MDPI, compiled for systematic review of IoT network security across all layers, enabling meta-analysis and trend identification.

Jan 31, 2026
Smart Home Kaggle

Big Data Analytics for Renewable Energy Optimization (Solar, Wind, Smart Grid) - Zenodo 2025

Massive dataset from solar panels, wind turbines, and smart grid infrastructure for energy forecasting, demand prediction, and efficiency optimization using big data analytics, machine learning, Hadoop, and Spark distributed processing frameworks.

Feb 01, 2026
Smart Home Kaggle

Energy Consumption Dataset for Smart Homes with Individual Appliance Metering (Zenodo 2025)

Detailed energy monitoring dataset from smart home testbed with five common household appliances (refrigerator, washing machine, microwave, air conditioner, TV) each connected to individual smart meters for appliance-level consumption analysis and NILM research.

Feb 01, 2026
Smart Home Kaggle

2025 Competition on Electric Energy Consumption Forecasting - Smart Building Dataset

Multi-resolution smart building energy dataset for forecasting competition with three versions: 1-year at 5-min intervals (v1.0), 40-day at 5-min (v2.0), and 1-day hourly (v3.x), designed to benchmark state-of-the-art energy prediction techniques.

Feb 01, 2026
Smart Home Kaggle

Energy Flexibility Data Model (EFDM) - Industrial Energy Management Dataset (Zenodo 2025)

Standardized energy flexibility data model enabling uniform communication of energy flexibility potentials within industrial companies and in exchange with external energy systems (grids, aggregators), supporting demand response and sector coupling.

Feb 01, 2026

Explore other topics

All topics →