Menu

Facts
Making statements about altcoins

Facts in DOACC

DOACC’s purpose in life is to publish facts about altcoins.

The facts have been transcribed from a variety of sources, ranging from bitcointalk ANNs to github code repositories. In DOACC, these facts are expressed as triples, basic units of knowledge in the semantic web.

Accordingly, DOACC facts are composed of three elements: a subject (a thing), a predicate (a relation) and an object (either another thing or a value).

Every concept in DOACC has its own globally unique identifier, a URI located in one of three temporary purl.org namespaces:

1. DOACC http://purl.org/net/bel-epa/doacc#

Several dozen statements describing the concept of a cryptocurrency and its associated properties, such as “proof-of-work”. As an example, http://purl.org/net/bel-epa/doacc#Cryptocurrency is the reference for DOACC’s concept of a cryptocurrency. Overall, such a set of statements is termed an “ontology” and the full content is rendered as readable text in the DOACC ontology page. The Concepts section has more information on DOACC concepts.

The URI example above is also a URL, resolves to a web resource showing the statements serialised in a readable form. By comparison, the reference for the concept used by the semantic web project dbpedia is http://dbpedia.org/resource/Cryptocurrency, which also resolves as a web resource, a web page rendering with links to the statements in a variety of serialisations. The “N-Triples” is the simplest and most direct rendering; each line is a triple, giving one statement per line.

2. CCY http://purl.org/net/bel-epa/ccy#

Several dozen more statements, but about the concepts of blocks, blockchains and transactions, along with their properties, such as “MerkleRoot”: http://purl.org/net/bel-epa/ccy#MerkleRoot. As with DOACC, this is an ontology, a definition of terms. The content has been adapted from the original CC ontology by Melvin Carvalho, the adaptation being made on the principle that there’s little point in reinventing the wheel, just add a few more spokes as needed. The full contents are presented in the CCY ontology page.

3. CCS http://purl.org/net/bel-epa/ccs#

Several thousand statements about invidual instances of the concepts, i.e. about a specific coin, about a specific algorithm, protection scheme, a specific coin’s block target time, a specific coin’s trading symbol, etc. Although the individuals do have labels, they’re not unique so a UUID identifier is used for the final fragment.

For example, the full DOACC reference for the cryptocurrency currently known as “Dogecoin” is:

http://purl.org/net/bel-epa/ccs#Dd5bd8eaf-b432-440b-9502-3707aa57ff93

UUID identifiers are a bit unwieldy but they are specifically designed to act as globally unique references.

DON’T PANIC

In practice, the references are used in a shortened form, where http://purl.org/net/bel-epa/doacc# is boiled down to just doacc: (a “qname”) which offers a less unwieldy notation ...

ccs:Dd5bd8eaf-b432-440b-9502-3707aa57ff93  rdfs:type       doacc:CryptoCurrency
ccs:Dd5bd8eaf-b432-440b-9502-3707aa57ff93 skos:prefLabel "Dogecoin"@en
ccs:Dd5bd8eaf-b432-440b-9502-3707aa57ff93 skos:prefLabel "狗狗币"@cn
ccs:Dd5bd8eaf-b432-440b-9502-3707aa57ff93 doacc:pow ccs:D338257f8-402f-4c76-969b-6fc041d52e40

The first statement’s object does not refer to any particular altcoin but to a separate description of the concept of a cryptocurrency (see Concepts) and the last statement’s object refers to some thing that is the subject of other statements, to wit:

ccs:D338257f8-402f-4c76-969b-6fc041d52e40  skos:prefLabel  doacc:"scrypt"@en

Some Facts

About ccs:Dd5bd8eaf-b432-440b-9502-3707aa57ff93

As an example of the range of facts in DOACC, this is the complete set of statements made about http://purl.org/net/bel-epa/ccs#Dd5bd8eaf-b432-440b-9502-3707aa57ff93...

ccs:Dd5bd8eaf-b432-440b-9502-3707aa57ff93 a doacc:Cryptocurrency ;
    doacc:block-reward "500000"^^xsd:string ;
    doacc:block-time 60 ;
    doacc:coin ccs:D5e6e149c-2bf3-48e0-a8ab-4ca0a1f424a4 ;
    doacc:comment "supported"^^xsd:string ;
    doacc:date-founded "2013-12-08"^^xsd:date ;
    doacc:distribution-scheme ccs:Dc10c93fb-f7ec-40cd-a06e-7890686f6ef8 
    doacc:expiration "listed"@en ;
    doacc:image "dogecoin_doge.png"^^xsd:anyURI ;
    doacc:incept "2013-12"^^xsd:string ;
    doacc:pow ccs:D338257f8-402f-4c76-969b-6fc041d52e40 ;
    doacc:protection-scheme ccs:D451a49d8-c9e7-46e5-8b8d-bcbe16f75c24 ;
    doacc:protocol ccs:Db8ade99f-11f1-476b-ae77-03c005c1bb66 ;
    doacc:source <https://github.com/dogecoin/dogecoin> ;
    doacc:symbol "DOGE"^^xsd:string ;
    doacc:total-coins "100000000000"^^xsd:string ;
    doacc:website "http://dogecoin.com/"^^xsd:anyURI ;
    rdfs:comment "Scrypt-based, re-target every 4 hours, variable block reward, 100 billion total coins."^^xsd:string ;
    skos:prefLabel "Dogecoin"@en .

Um, we don’t seem to have an explicit statement about the 4-hour block retarget time mentioned in the comment. See the “Techniques” section for how to add facts to the DOACC collection.

Other facts

Remote references to things and relations

The different qnames in the description show that reference can be made to relations (and things) located remotely, e.g. http://www.w3.org/2004/02/skos/core#prefLabel from the W3’s SKOS (Simple Knowledge Organisation Scheme), a recommended best practice for publishing to the “Linked Data” standard.

Linked data slide presentation

Michael Hausenblas’ short slideshow introduction to Linked Data

Lists of individuals

What’s in the tabs

For convenience, listings of the DOACC references of several distinct populations of individuals are presented in the associated tabs (in the tab bar above): protection schemes, distribution schemes, PoW schemes, PoS schemes, protocols, Altcoins.