Datasets
Standard Dataset
wpt-dataset
- Citation Author(s):
- Submitted by:
- Qiang Zhang
- Last updated:
- Mon, 04/29/2024 - 08:19
- DOI:
- 10.21227/nq8d-2f33
- Data Format:
- License:
- Categories:
- Keywords:
Abstract
The WPT dataset was specially created for "Web Page Tampering Detection Based on Dynamic Temporal Graph Pre-training" and encompasses over 200,000 regular web pages from 75 websites across the finance, healthcare, and education sectors, in addition to 1,541 tampered examples sourced from zone-h.org. This dataset organizes web pages as nodes and their links as edges within a discrete dynamic graph structure, capturing snapshots at various moments in time. Each node integrates structural, textual, and statistical features into a robust 148-dimensional feature vector for every page. Data storage is facilitated through DGL's save_graphs() interface, ensuring a structured and readily accessible graph data format. This dataset serves as a critical asset for pioneering research into web page integrity and security analysis, offering essential support for the development and benchmarking of tamper detection algorithms.
We use the save_graphs()
data storage interface provided by DGL to save the list of snapshots for each website to disk. The following code example demonstrates how to read a temporal graph of a website from disk.
from dgl import load_graphs
graph_path = 'data/host-1.bin'
graphs = load_graphs(graph_path)