Skip to content

An ontology of Ethereum terms extracted from the Ethereum glossaries and Ethereum Improvement Proposals (EIPs). Available in plain text and SKOS formats.

License

Notifications You must be signed in to change notification settings

prototypo/ethereum-eips-ontology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum EIPs Ontology

Usage

The basic vocabulary (glossary.txt) is meant as dynamic input to generic Large Language Models to give them up-to-date context on Ethereum terms and definitions.

The generated ontology (ethereum_skos.ttl) is a more full-featured variant useful in orchestrated systems using a graph database.

Screenshot of an example interaction.

Creation

This repository combines the following sources into a single clean text file in term : definition format. That file (glossary.txt) contains duplicated entries from the sources.

Sources:

  1. The Ethereum Foundation's Ethereum Glossary
  2. Consensys' A Blockchain Glossary for Beginners
  3. The Ethereum Foundation's active Ethereum Improvement Proposals (EIPs)

ChatGPT 4o (Enterprise edition) was used to extract newly-created terms from the EIPs and add them sequentially to the text file until they are all represented.

A python script (mk_skos.py) is used to generate a de-duplicated SKOS ontology. Where multiple definitions exist for the same term, both are kept both using different predicates (skos:definition for the primary and rdfs:comment for the secondary). EIPs are linked via skos:broader where they are found.

The SKOS file parses cleanly into the Protege ontology editor.

Prompt used to ChatGPT 4o Enterprise


Please summarise the newly-introduced terms defined in these documents. Add the EIP number without any hyperlinks to the end of the definition, enclosed in parentheses. Your output format should be "term : definition (EIP number)"

Use succinct terms. For example, when a new opcode is introduced, use the opcode name as the term.

About

An ontology of Ethereum terms extracted from the Ethereum glossaries and Ethereum Improvement Proposals (EIPs). Available in plain text and SKOS formats.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published