Common use of Resource Registration Clause in Contracts

Resource Registration. SC semantics can be described using ontology - a funda- mental concept for describing the knowledge of a domain, represented by a set of concepts and relationships among them. The SC semantics ontology can be designed using Web Ontology Language (OWL) specifications2. In order to design an ontology, concepts and entities of a domain must be identified, which are defined as OWL classes. Relationships between classes as object properties and those between class instances and literals as data properties are denoted accord- ingly in the ontology. Protege3, the popular ontology editor and knowledge-base framework, is used to construct the SC semantics ontology. We demonstrate the ontology design by considering a use- case that defines the eligibility criteria of a user to access an IoT device using a SC (illustrated in Fig. 2). A user is required to register an account along with a public address and an associated private key - which will be parameters for calling the SC. Therefore, the proposed ontology is designed to have a class called User which is associated with an Ethereum account, an attributes account, an address, a private key, and other details. For this purpose, a new ontology class called EthereumContractsConcepts is implemented containing Ethereum contract data property. Similarly, the ContractAccount class is implemented including the license number, expiration date, information about the IoT and SC owner, and the current status. Finally, the SC ontology is extended with the ”access condition” vocabulary, as a general domain-based ontology. In this regard, the query ”get enforce- ment policies SCs related to IoT device with ID” with specific conditions (e.g, ”a specific access condition set”) shows SCs that satisfy all the criteria of the query. 2▇▇▇▇▇://▇▇▇.▇▇.▇▇▇/OWL/ 3▇▇▇▇▇://▇▇▇▇▇▇▇.▇▇▇▇▇▇▇▇.▇▇▇/ as an RDF triple based on an extension of OWL-S ontology. Table I shows the extended OWL-S vocabulary that we used for describing the SCs.

Appears in 2 contracts

Sources: Smart Contract, Smart Contract