Introduction
While blockchain technology is built on the principle of transparency, the data it generates is often "opaque" to the average observer. Ethereum produces a staggering volume of data—ranging from protocol-level metrics like gas prices to application-specific events within smart contracts. For researchers and developers, querying this data at scale is a significant challenge due to its heterogeneity, massive volume, and lack of a unified semantic structure.
This paper addresses the challenge of "blockchain archaeology": making this data accessible, digestible, and searchable. By representing Ethereum transactions as structured RDF data and using the SANSA framework, the authors demonstrate how to perform large-scale distributed analytics on complex decentralized applications, using the popular game CryptoKitties as a primary use case.
Methodology: The SANSA Pipeline
The authors propose a pipeline that combines blockchain data with Semantic Web standards to transform raw data into a searchable Knowledge Graph.
- Semantification with EthOn: Raw Ethereum objects (blocks, transactions) are described using EthOn (The Ethereum Ontology), a formal OWL framework.
- The SANSA Stack: To handle the scale of the Alethio dataset (36 billion rows), the authors employ the SANSA (Semantic Analytics Stack). Built on Spark, SANSA allows for distributed processing of RDF data, supporting SPARQL querying and machine learning at scale.
- Data Processing: As illustrated in the pipeline, data is loaded from storage, filtered to isolate specific application triples (e.g., CryptoKitties), and then processed for analytics.
Blockchain as a Knowledge Graph
By treating the blockchain as an RDF graph, researchers can query complex relationships that would be difficult to trace in standard relational databases. This approach is particularly useful for analyzing CryptoKitties, which uses "gene sequences" inherited from parents. These can be modeled to track the evolution of the digital species and detect behavioral patterns, such as correlations between user wealth and the collection of rare assets.
Key Results and Lineage Tracking
The integration of SANSA and Alethio serves as a successful proof-of-concept for deep blockchain archaeology:
- Traffic Analysis: The authors mapped CryptoKitties auction history, identifying a massive peak in traffic in December 2017.
- Lineage Visualization: The framework enables the visualization of complex "family trees." A specific example in the paper demonstrates the ability to identify "incestuous" breeding patterns, such as Kitty 1057 breeding with its descendant to produce Kitty 3225.
- Efficient Filtering: SANSA successfully "pruned" the massive Ethereum dataset to retain only relevant triples, significantly accelerating downstream analysis.
Conclusion and Future Work
While the paper demonstrates the power of semantic tools for blockchain analysis, several areas remain for future exploration. Quantitative benchmarks for query latency and throughput compared to non-semantic approaches are needed. Additionally, while the authors mention using machine learning to correlate owner wealth with kitty rarity, detailed results of these models are ongoing. Finally, extending this framework to more complex Decentralized Finance (DeFi) protocols represents a logical next step for this research.
Summary updated