@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix : <http://purl.org/net/bel-epa/ccy#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix ns: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .

dc:description
    a owl:AnnotationProperty .

<http://purl.org/net/bel-epa/ccy#>
    dc:description "Ontology for a cryptocurrency, based on Melvin Carvalho’s “Ontology for Crypto Currencies” with a few adjustments and additions." ;
    dc:title "CCY - ontology for cryptocurrency" ;
    dct:created "2014-05-22" ;
    vann:preferredNamespacePrefix "ccy" ;
    vann:preferredNamespaceUri "http://purl.org/net/bel-epa/ccy#" ;
    a owl:Ontology ;
    rdfs:comment "-Version 1.1: add vann and resolvable version info"@en ;
    owl:imports <http://www.w3.org/TR/skos-reference/skos-owl1-dl.rdf> ;
    owl:versionInfo 1.1 ;
    ns:term_status "unstable" ;
    skos:prefLabel "Ontology for a cryptocurrency."@en ;
    foaf:maker <http://bel-epa.com/gjh#gjh> .

:Address
    dc:description "A coin address, or simply address, is an identifier of 26-35 alphanumeric characters, beginning with the number 1 or 3, that represents a possible destination for a coin payment. Addresses can be generated at no cost by any user of  the coin."@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:label "A crypographic identifier" ;
    skos:prefLabel "Address"@en .

:BirthdayA
    dc:description "The BirthdayA"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "BirthdayA"@en .

:BirthdayB
    dc:description "The BirthdayB"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "BirthdayB"@en .

:Block
    dc:description "A Block for a crypto currency"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "Block"@en .

:BlockChain
    dc:description "A "@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:label "A blockchain used by an electronic coin" ;
    skos:prefLabel "Blockchain"@en .

:BlockHeader
    dc:description "A Block Header for a crypto currency"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "BlockHeader"@en .

:DigitalSignature
    dc:description "An Elliptic Curve Digital Signature Algorithm (ECDSA) signature."@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "DigitalSignature"@en .

:ElectronicCoin
    dc:description "We define an Electronic coin as a chain of digital signatures.  As per Satoshi's paper."@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "ElectronicCoin"@en .

:EncryptingPublicKeyObject
    dc:description "PublicKeyObjects which are capable of encrypting things"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:subClassOf :PublicKeyObject ;
    skos:prefLabel "PKO-can-encrypt"@en .

:HashFunction
    dc:description "Crypographic hash function."@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:label "A crypographic hash function" ;
    skos:prefLabel "HashFunction"@en .

:MerkleRoot
    dc:description "The root of a Merkle tree, of items. Merkle trees are binary trees of hashes."@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "MerkleRoot"@en .

:MultiSig
    dc:description "Bare multisig script"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:subClassOf :Script ;
    skos:prefLabel "MultiSig"@en .

:Node
    dc:description "A node of the cryptocurrency"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "Node"@en .

:NullData
    dc:description "Nulldata script"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:subClassOf :Script ;
    skos:prefLabel "NullData"@en .

:P2PK
    dc:description "Pay-to-PubKey"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:subClassOf :Script ;
    skos:prefLabel "P2PK"@en .

:P2PKH
    dc:description "Pay-to-PubKey-Hash"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:subClassOf :Script ;
    skos:prefLabel "P2PH"@en .

:P2SH
    dc:description "Pay-to-Script-Hash"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:subClassOf :Script ;
    skos:prefLabel "P2SH"@en .

:Parameter
    dc:description "A parameter variable for a crypto currency"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "Parameter"@en .

:PublicKeyObject
    dc:description "An object corresponding to a key for some algorithm. The object can hold a public and optionally a private key."@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    skos:prefLabel "Public-Key-Object"@en .

:PublicKeyObjectWithPrivateKey
    dc:description "Some keys have private parts, some don't.  This is the Class of those which do."@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:subClassOf :PublicKeyObject ;
    skos:prefLabel "PKO-has-private"@en .

:Script
    dc:description "Bitcoin script"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    skos:prefLabel "Script"@en .

:SigningPublicKeyObject
    dc:description "PublicKeyObjects which are capable of signing things. True if the algorithm is capable of signing data; false otherwise. To test if a given key object can sign data, use CanSign and HasPrivate."@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:subClassOf :PublicKeyObject ;
    skos:prefLabel "PKO-can-sign"@en .

:Transaction
    dc:description "A Block Transaction for a crypto currency"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "Transaction"@en .

:TransactionInput
    dc:description "A Block Transaction Input for a crypto currency. An array of objects with each object being an input vector (vin) for this transaction. Input objects will have the same order within the array as they have in the transaction, so the first input listed will be input 0"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "TransactionInput"@en .

:TransactionOutput
    dc:description "A Block Transaction Output for a crypto currency"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "TransactionOutput"@en .

:VIn
    dc:description "Sequence of input txs"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "VIn"@en .

:VOut
    dc:description "Sequence of output txs"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "VOut"@en .

:Wallet
    dc:description "The collective wallet functionality of a node"@en ;
    a owl:Class ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "Wallet"@en .

:account
    dc:description "account"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "account"@en .

:address
    dc:description ".base58 address"@en, "address"@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :Address ;
    ns:term_status "unstable" ;
    skos:prefLabel "address"@en .

:addresses
    dc:description "The P2PKH or P2SH addresses used in this transaction, or the computed P2PKH address of any pubkeys in this transaction. This array will not be returned for nulldata or nonstandard script types"@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range rdfs:List ;
    ns:term_status "unstable" ;
    skos:prefLabel "addresses"@en .

:addrprefix
    dc:description "The coin’s script address prefix"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "addrprefix"@en .

:alert-pubkey-hex
    dc:description "The coin’s alert-pubkey-hex"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range rdfs:Literal ;
    ns:term_status "unstable" ;
    skos:prefLabel "alert-pubkey-hex"@en .

:allow-free
    dc:description "The coin’s allow-free"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:float ;
    ns:term_status "unstable" ;
    skos:prefLabel "allow-free"@en .

:amount
    dc:description "amount"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:float ;
    ns:term_status "unstable" ;
    skos:prefLabel "amount"@en .

:balance
    dc:description "Wallet balance"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Wallet ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "balance"@en .

:base58addr
    dc:description "If the subject is a list containg a keypair, a hash, and a signature, then the object is either \"1\" if the signature validates or \"0\" if it does not."@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Address ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    skos:prefLabel "base58addr"@en .

:blockchain
    dc:description "A blockchain generated by the coin"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :BlockChain ;
    skos:prefLabel "blockchain"@en .

:blockhash
    dc:description "If the transaction has been included in a block on the local best block chain, this is the hash of that block encoded as hex in RPC byte order"@en, "blockhash"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction, :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "blockhash"@en .

:blockindex
    dc:description "blockindex"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "blockindex"@en .

:blocks
    dc:description "Blockchain height"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "blocks"@en .

:blocktime
    dc:description "This field is currently identical to http://purl.org/net/bel-epa/ccy#time"@en, "blocktime"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction, :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp, xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "blocktime"@en .

:blocktrust
    dc:description "The blocktrust"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "blocktrust"@en .

:category
    dc:description "category"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "category"@en .

:chaintrust
    dc:description "The chaintrust"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "chaintrust"@en .

:chainwork
    dc:description "The chainwork"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "chainwork"@en .

:checkpoint-estimated-transactions
    dc:description "The coin’s checkpoint-estimated-transactions"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "checkpoint-estimated-transactions"@en .

:checkpoint-timestamp
    dc:description "The coin’s checkpoint-timestamp"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp ;
    ns:term_status "unstable" ;
    skos:prefLabel "checkpoint-timestamp"@en .

:coinURI
    dc:description "This represents a coin address which should be a coin URI e.g. bitcoin: "@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "coinURI"@en .

:coinbase
    dc:description "The coinbase (similar to the hex field of a scriptSig) encoded as hex. Only present if this is a coinbase transaction"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "coinbase"@en .

:coinbase-maturity
    dc:description "The coin’s coinbase-maturity"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "coinbase-maturity"@en .

:confirmations
    dc:description "If the transaction has been included in a block on the local best block chain, this is how many confirmations it has. Otherwise, this is 0"@en, "confirmations"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction, :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:int, xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "confirmations"@en .

:connections
    dc:description "Number of connections for the current block"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Node ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "connections"@en .

:cryptocurrency
    dc:description "The cryptocurrency"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range <http://purl.org/net/bel-epa/doacc#Cryptocurrency> ;
    skos:prefLabel "cryptocurrency"@en .

:difficulty
    dc:description "The difficulty level of the current block"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Block ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "difficulty"@en .

:entropybit
    dc:description "The entropybit"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "entropybit"@en .

:errors
    dc:description "Error state indicator"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Node ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "errors"@en .

:flags
    dc:description "The flags"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "flags"@en .

:generated
    dc:description "generated"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "generated"@en .

:hasInput
    dc:description "A block transaction has an input."@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :TransactionInput ;
    ns:term_status "unstable" ;
    skos:prefLabel "hasInput"@en .

:hasOutput
    dc:description "A block transaction has an ouput."@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :TransactionOutput ;
    ns:term_status "unstable" ;
    skos:prefLabel "hasOutput"@en .

:hasTransaction
    dc:description "The block has a transaction."@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Block ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :Transaction ;
    ns:term_status "unstable" ;
    skos:prefLabel "hasTransaction"@en .

:height
    dc:description "The height according to the longest chain."@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "height"@en .

:index
    dc:description "The index number of an input or output, sometimes referred to as vout or n"@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "index"@en .

:json-rpcport
    dc:description "The coin’s JSON RPC port"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "JSON-rpcport"@en .

:keypoololdest
    dc:description "The keypool oldest entry in the wallet"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Wallet ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "keypoololdest"@en .

:keypoolsize
    dc:description "The wallet's keypoolsize"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Wallet ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "keypoolsize"@en .

:latestBlockHeader
    dc:description "The latest block header for an electronic coin."@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Block ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :BlockHeader ;
    ns:term_status "unstable" ;
    skos:prefLabel "latestBlockHeader"@en .

:linkin
    dc:description "A link in a blockchain"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :Block ;
    skos:prefLabel "linkin"@en .

:locktime
    dc:description "The lock time ???"@en, "The transaction’s locktime: either a Unix epoch date or block height.  For bitcoin if non-zero and sequence numbers are < 0xFFFFFFFF: block height or timestamp when transaction is final."@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp, xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "lockTime"@en, "locktime"@en .

:max-money
    dc:description "The coin’s max-money"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:float ;
    ns:term_status "unstable" ;
    skos:prefLabel "max-money"@en .

:md5
    dc:description "The object is a MD5 hash of the subject."@en ;
    a owl:AnnotationProperty, owl:DatatypeProperty, owl:FunctionalProperty ;
    rdfs:domain rdfs:Literal ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:label "MD5 hash" ;
    rdfs:range xsd:string ;
    skos:prefLabel "md5"@en .

:min-relay-tx-fee
    dc:description "The coin’s min-relay-tx-fee"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:float ;
    ns:term_status "unstable" ;
    skos:prefLabel "min-relay-tx-fee"@en .

:min-tx-fee
    dc:description "The coin’s min-tx-fee"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:float ;
    ns:term_status "unstable" ;
    skos:prefLabel "min-tx-fee"@en .

:mint
    dc:description "The mint"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "mint"@en .

:modifier
    dc:description "The modifier"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "modifier"@en .

:modifierchecksum
    dc:description "The modifierchecksum"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "modifierchecksum"@en .

:nbits
    dc:description "This is the term used in the reference client.  It is the target, but in a compact and custom 4-byte encoding."@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "nbits"@en .

:nvout
    dc:description "The output index number (vout) of the outpoint being spent. The first output in a transaction has an index of 0. Not present if this is a coinbase transaction"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :TransactionOutput ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "nvout"@en .

:paytxfee
    dc:description "The paytxfee indicator"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Wallet ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "paytxfee"@en .

:pkasm
    dc:description "The pubkey script in decoded form with non-data-pushing op codes listed"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :scriptPubKey ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "pkasm"@en .

:pkhex
    dc:description "The pubkey encoded as hex"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "pkhex"@en .

:previousBlockHeader
    dc:description "The previous block header"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Block ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :BlockHeader ;
    ns:term_status "unstable" ;
    skos:prefLabel "previousBlockHeader"@en .

:proof-of-work-limit
    dc:description "The coin’s proof-of-work-limit"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:float ;
    ns:term_status "unstable" ;
    skos:prefLabel "proof-of-work-limit"@en .

:proofhash
    dc:description "The proofhash"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "proofhash"@en .

:protocolSpecification
    dc:description "The protocol used by an electronic coin."@en ;
    a owl:ObjectProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range <http://purl.org/net/bel-epa/doacc#Protocol> ;
    ns:term_status "unstable" ;
    skos:prefLabel "protocolSpecification"@en .

:protocolversion
    dc:description "The protocol version, ???"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "protocolversion"@en .

:proxy
    dc:description "Proxy status"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Node ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "proxy"@en .

:psztimestamp
    dc:description "The Unix timestamp for the genesis block"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp ;
    ns:term_status "unstable" ;
    skos:prefLabel "psztimestamp"@en .

:publicKey
    dc:description "The object is a public key object that doesn't contain the private key data in the subject. This function extracts the public part."@en ;
    a owl:ObjectProperty ;
    rdfs:domain :PublicKeyObject ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :PublicKeyObject ;
    skos:prefLabel "publicKey"@en .

:regtest-json-rpcport
    dc:description "The coin’s regtest-rpc-port"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "regtest-json-rpc-port"@en .

:regtest-rpcport
    dc:description "The coin’s regtest-port"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "regtest-rpc-port"@en .

:regtest-subsidy-halving-interval
    dc:description "The coin’s regtest-subsidy-halving-interval"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range rdfs:Literal ;
    ns:term_status "unstable" ;
    skos:prefLabel "regtest-subsidy-halving-interval"@en .

:regtest-target-spacing
    dc:description "The coin’s regtest-target-spacing"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "regtest-target-spacing"@en .

:regtest-target-timespan
    dc:description "The coin’s regtest-target-timespan"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "regtest-target-timespan"@en .

:reqSigs
    dc:description "The number of signatures required; this is always 1 for P2PK, P2PKH, and P2SH (including P2SH multisig because the redeem script is not available in the pubkey script). It may be greater than 1 for bare multisig. This value will not be returned for nulldata or nonstandard script types"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "reqsigs"@en .

:rpcport
    dc:description "The coin’s RPC port"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "rpcport"@en .

:script-address
    dc:description "The coin’s script address"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "script-address"@en .

:script-pubkey-hex
    dc:description "The coin’s script public key- as hex"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "script-pubkey-hex"@en .

:scriptPubKey
    dc:description "An object describing the pubkey script"@en ;
    a owl:Class, owl:DatatypeProperty ;
    rdfs:domain :TransactionOutput ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "scriptPubKey"@en .

:scriptSig
    dc:description "The input scriptSig, the signature script of this input. Not present if this is a coinbase transaction"@en ;
    a owl:Class, owl:ObjectProperty ;
    rdfs:domain :DigitalSignature, :TransactionInput ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    ns:term_status "unstable" ;
    skos:prefLabel "scriptSig"@en .

:secret-key
    dc:description "The coin’s secret-key"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range rdfs:Literal ;
    ns:term_status "unstable" ;
    skos:prefLabel "secret-key"@en .

:sequence
    dc:description "Part of all transactions. A number intended to allow unconfirmed time-locked transactions to be updated before being finalized; not currently used except to disable locktime in a transaction"@en, "Transaction sequence."@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :Block, :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range rdfs:List, xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "sequence"@en .

:sha
    dc:description "The object is a SHA-1 hash of the subject."@en ;
    a owl:AnnotationProperty, owl:DatatypeProperty, owl:FunctionalProperty, owl:InverseFunctionalProperty, owl:ObjectProperty ;
    rdfs:domain rdfs:Literal ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:label "SHA hash" ;
    rdfs:range xsd:string ;
    skos:prefLabel "SHA-1"@en .

:sign
    dc:description "The subject should be a list of two things, a hash string and a key (containing private and public parts). The object is calculated as a signature string by signing the hash with the key's private part."@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :PublicKeyObject ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:label "sign" ;
    rdfs:range xsd:string ;
    skos:prefLabel "sign"@en .

:signature
    dc:description "The signature"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "signature"@en .

:ssasm
    dc:description "The signature script in decoded form with non-data-pushing op codes listed"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "ssasm"@en .

:sshex
    dc:description "The signature script encoded as hex"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "sshex"@en .

:subsidy
    dc:description "The reward"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range rdfs:Literal ;
    ns:term_status "unstable" ;
    skos:prefLabel "subsidy"@en .

:testnet
    dc:description "Testnet status indicator"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :BlockChain ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet"@en .

:testnet-alert-pubkey-hex
    dc:description "The coin’s testnet alert public key as hex"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-alert-pubkey-hex"@en .

:testnet-checkpoint-estimated-transactions
    dc:description "The coin’s testnet-checkpoint-estimated-transactions"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-checkpoint-estimated-transactions"@en .

:testnet-checkpoint-timestamp
    dc:description "The coin’s testnet-checkpoint-timestamp"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-checkpoint-timestamp"@en .

:testnet-json-rpcport
    dc:description "The coin’s testnet JSON RPC port"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-json-rpcport"@en .

:testnet-pubkey-address
    dc:description "The coin’s testnet public key address"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-pubkey-address"@en .

:testnet-rpcport
    dc:description "The coin’s testnet RPC port"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-rpcport"@en .

:testnet-script-address
    dc:description "The coin’s testnet script address"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-script-address"@en .

:testnet-secret-key
    dc:description "The coin’s testnet alert secret key"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-secret-key"@en .

:testnet-target-spacing
    dc:description "The coin’s testnet target-spacing"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-target-spacing"@en .

:testnet-target-timespan
    dc:description "The coin’s testnet target-timespan"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:integer ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-target-timespan"@en .

:testnet-time
    dc:description "The coin’s testnet-time"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet-time"@en .

:testnet3
    dc:description "This represents a coin testnet3 address which should be a coin URI, e.g. bitcoin:"@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :ElectronicCoin ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range rdfs:Literal ;
    ns:term_status "unstable" ;
    skos:prefLabel "testnet3"@en .

:time
    dc:description "If the transaction has been included in a block on the local best block chain, this is the block header time of that block (may be in the future)"@en, "time"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction, :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp, xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "time"@en .

:timeoffset
    dc:description "The recorded time offset"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Node ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "timeoffset"@en .

:timereceived
    dc:description "timereceived"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp ;
    ns:term_status "unstable" ;
    skos:prefLabel "timereceived"@en .

:timestamp
    dc:description "A unix timestamp for crypto blocks"@en ;
    a owl:DatatypeProperty, owl:ObjectProperty ;
    rdfs:domain :Block ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp ;
    ns:term_status "unstable" ;
    skos:prefLabel "timestamp"@en .

:transactionMerkleRoot
    dc:description "The hash of the merkle tree of transactions."@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :MerkleRoot ;
    ns:term_status "unstable" ;
    skos:prefLabel "transactionMerkleRoot"@en .

:tx
    dc:description "A transaction involving the address"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Address ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :Transaction ;
    skos:prefLabel "transaction"@en .

:txhex
    dc:description "The transaction hex"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "txhex"@en .

:txid
    dc:description "The transaction’s TXID encoded as hex in RPC byte order"@en, "txid"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "txid"@en .

:txinput
    dc:description "A transaction input to the address"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Address ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :TransactionInput ;
    skos:prefLabel "txinput"@en .

:txoutput
    dc:description "A transaction output signed by the keyholder for the address"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Address ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :TransactionOutput ;
    skos:prefLabel "txoutput"@en .

:txtime
    dc:description "The transaction timestamp"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:dateTimeStamp ;
    ns:term_status "unstable" ;
    skos:prefLabel "txtime"@en .

:type
    dc:description "The type of script. This will be one of the following: pubkey for a P2PK script, pubkeyhash for a P2PKH script, scripthash for a P2SH script, multisig for a bare multisig script, nulldata for nulldata scripts, nonstandard for unknown scripts"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "type"@en .

:value
    dc:description "The number of bitcoins paid to this output. May be 0"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :scriptSig ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "value"@en .

:verify
    dc:description "If the subject is a key object containing private and public parts and the obejct is a list of a hash and a signature, then this is true if and only if the signature is a valid signature of the hash with the key."@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :PublicKeyObject ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:boolean ;
    skos:prefLabel "verify"@en .

:verifyBoolean
    dc:description "If the subject is a list containg a keypair, a hash, and a signature, then the object is either \"1\" if the signature validates or \"0\" if it does not."@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :PublicKeyObject ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:boolean ;
    skos:prefLabel "verifyBoolean"@en .

:version
    dc:description "The protocol version"@en, "The transaction format version number"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Node, :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "version"@en .

:vin
    dc:description "An array of objects with each object being an input vector (vin) for this transaction. Input objects will have the same order within the array as they have in the transaction, so the first input listed will be input 0"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :VIn ;
    ns:term_status "unstable" ;
    skos:prefLabel "vin"@en .

:vout
    dc:description "Sequence of output txs"@en ;
    a owl:ObjectProperty ;
    rdfs:domain :Transaction ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range :VOut ;
    ns:term_status "unstable" ;
    skos:prefLabel "vout"@en .

:walletversion
    dc:description "The wallet version"@en ;
    a owl:DatatypeProperty ;
    rdfs:domain :Wallet ;
    rdfs:isDefinedBy <http://purl.org/net/bel-epa/ccy#> ;
    rdfs:range xsd:string ;
    ns:term_status "unstable" ;
    skos:prefLabel "walletversion"@en .

<http://purl.org/net/bel-epa/doacc#Cryptocurrency>
    a owl:Class .

<http://purl.org/net/bel-epa/doacc#Protocol>
    a owl:Class .

rdfs:List
    a owl:Class .

ns:term_status
    a owl:AnnotationProperty .

