<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Web 3.0 Meets Web3: Exploring the Convergence of Semantic Web and Blockchain Technologies</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Oshani Seneviratne</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Deborah L. McGuinness</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Rensselaer Polytechnic Institute</institution>
          ,
          <addr-line>Troy, NY</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We outline the synergistic convergence of semantic web technologies, which have driven the advent of Web 3.0, and blockchain technologies, which have catalyzed the flourishing Web3 ecosystem. The integration of these technologies holds immense potential for transforming data representation, interoperability, and trust within decentralized knowledge graphs. The utilization of semantic web technologies enables the creation of machine-readable data formats, facilitating seamless understanding and exchange across heterogeneous systems. Complementing this, blockchain technologies provide an immutable and tamper-proof ledger, ofering the foundation for establishing trust in decentralized knowledge graphs. We discuss the adoption of standardized vocabularies and smart contract powered schema alignment to enhance data exchange and integration with a focus on semantic interoperability, trustworthiness in semantic reasoning processes, and ownable and traceable resources.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Semantic Web</kwd>
        <kwd>Decentralized Knowledge Graphs</kwd>
        <kwd>Blockchain</kwd>
        <kwd>Smart Contracts</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Web 3.0, often referred to as the next generation of the World Wide Web, encompasses
advancements in technologies such as artificial intelligence and the semantic web, whereas Web3
specifically represents the decentralized web with “ownable” resources built upon blockchain
technologies.</p>
      <p>
        A Brief History: The initial era of the World Wide Web (1990-2005) featured decentralized and
community-governed open protocols, whereby the primary value was attributed to the network’s
edges encompassing servers run by various individuals [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Conversely, the subsequent Web
2.0 epoch (2005-2020), popularized by Tim O’reilly [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], witnessed a shift towards siloed and
centralized services operated by corporations, leading to the majority of value accruing to
a few select entities such as Google, Apple, Amazon, and Facebook. Then, with the advent
of the semantic web [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], the use of standardized vocabularies and ontologies to encode the
connections between the nodes popularized the notion of Web 3.0 [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Now, at the dawn of the
Web3 [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], which is driven primarily by the use of blockchain technologies, the decentralized and
community-governed principles of the original World Wide Web are being amalgamated with
the sophisticated and contemporary functionalities of Web 2.0. This new era, characterized by
token orchestration and user identities, is owned by both the users and builders and decentralizes
all facets previously centralized by Web 2.0. Essentially, Web3 ofers the potential to attain the
richness of Web 2.0 but in a decentralized framework that was a cornerstone of Web 3.0 but
never reached its full potential.
      </p>
      <p>
        Re-decentralizing the Web: Eforts such as Solid (Social Linked Data) [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] aim to provide a
framework for building decentralized applications by placing data ownership in the hands of
the users, thereby increasing transparency, privacy, and security and ofering an alternative to
the centralized data models of Web 2.0. Some Solid pod providers allow users to rent storage
space1, and even governments may provide personal data storage services to their citizens.
New Advancements: Many decentralized applications, i.e., ‘Web3 dApps‘, built on popular
blockchains provide similar user experiences to the typical Web 2.0 applications. One of the
main advantages of blockchain technology is that it provides a tamper-proof decentralized
ledger that can be used to track and verify the authenticity of data. This process can enhance
the trustworthiness of data by providing a secure and immutable record of data ownership
and usage. Smart contracts, in particular, can automate the governance and management of
decentralized data, enabling stakeholders to define and enforce rules and conditions for data
access, sharing, and usage. The underlying incentive mechanism of the blockchain would ensure
the system’s sustained longevity as it hits a critical mass. Moreover, blockchain technology can
also provide a means for incentivizing participation and contributions to data at the application
level, which can help to overcome the issue of limited adoption and engagement. By
implementing tokenonomics, users can be rewarded for their contributions, creating a self-sustaining
ecosystem that incentivizes participation and promotes network growth.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Smart Contracts for Semantic Interoperability</title>
      <p>The Semantic Interoperability Problem: Suppose there is a knowledge ecosystem that is
being used to share data between diferent organizations in the healthcare sector. The knowledge
graph contains patient medical records, drug interactions, and treatment protocols, and each
organization has its internal data schema and ontology. However, sharing and combining data
between these diferent organizations can only be easy with semantic interoperability. For
example, an organization may use the term “heart attack" to describe a medical condition, while
another organization may use “myocardial infarction." If the two organizations were to share
their data without semantic interoperability, it would be dificult to automatically identify that
these terms refer to the same medical condition. Semantic interoperability techniques such as
well-known ontologies and vocabularies make it possible to represent data in a standardized,
machine-readable format that diferent systems can easily understand. This process helps
ensure data is shared and processed correctly across the network, increasing trust and reducing
the risk of errors or misunderstandings. In the healthcare example above, if everyone used a
1https://solidproject.org/users/get-a-pod
shared medical ontology, it would be possible to ensure that medical terms and conditions are
represented in a standardized way. This helps ensure that data is shared and processed correctly
across diferent organizations, increasing trust in the data and reducing the risk of errors or
misunderstandings. However, many organizations have their own terminology and schema,
and entity alignment is easier said than done.</p>
      <p>Smart Contracts Enabling Semantic Interoperability: Smart contracts can play a crucial role
in facilitating schema alignment by providing transparency, trust, and automation to the process.
For instance, smart contracts can embed alignment rules and logic, allowing the alignment
process to be executed automatically when specific conditions are met. This automation reduces
manual efort and minimizes potential errors in the alignment process. They enable multiple
participants to verify and agree upon the alignment results, mitigating the need for centralized
trust by incorporating consensus mechanisms. By introducing token-based incentives, smart
contracts promote collaboration and engagement from a broader range of stakeholders, leading
to more comprehensive and accurate schema alignments. Smart contracts can facilitate dynamic
and decentralized schema alignment, where changes in one schema trigger corresponding
adjustments in interconnected schema through predefined rules. This allows for real-time
updates and adaptability to evolving data requirements and ensures consistent alignment across
the network. By embedding validation rules within the smart contract, potential inconsistencies
can be identified and addressed, ensuring the accuracy and integrity of the aligned schema.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Trustworthy Knowledge Inference and Data Consistency</title>
      <p>Semantic Reasoning: Semantic reasoning refers to the ability of machines to infer new
knowledge from existing data using logical rules and inference engines. By incorporating
semantic reasoning, it is possible to automatically check the consistency of the data, identify
errors and inconsistencies, and generate new insights from the data. This process can help
increase trust in the data by ensuring it is accurate and up-to-date. However, interoperability and
compatibility issues can arise when using diferent reasoning systems or integrating reasoning
capabilities into existing infrastructures. Diferent reasoning engines may have variations in
their underlying logic, rule languages, and inference algorithms, which can create challenges in
aligning and harmonizing reasoning approaches, hindering the seamless integration of semantic
reasoners in heterogeneous environments.</p>
      <p>
        Semantic Reasoners with Smart Contracts: One potential approach to implementing
semantic reasoners using smart contracts is breaking down the reasoning process into smaller,
more manageable steps. Each step could be implemented as a separate smart contract, which
could then be chained together to form a larger reasoning algorithm. Another approach could
involve using of-chain computation to perform the majority of the reasoning process and then
using a smart contract to verify the results and enforce the terms of the agreement or contract.
There are, however, some scalability issues that need to be addressed. In the case of public
blockchains like Ethereum, the need for every node to execute every contract invocation can
lead to performance bottlenecks, as the network must reach a consensus on each transaction’s
execution. As the number of transactions and smart contracts increases, it can strain the
network and result in slower transaction processing times. Various approaches such as layer 2
solutions, sharding, of-chain computation [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], and consensus mechanism optimizations are
being explored to mitigate these scalability limitations.
      </p>
      <p>Usecase: Consider a scenario where retailers share product information within a decentralized
knowledge graph. The graph contains data about various products, including their specifications,
pricing, and availability. Each retailer has their internal data schema and may use diferent
terminology or classifications for similar products. In this case, semantic reasoners can be
employed to identify inconsistencies in the product information. For instance, let’s assume that
one retailer lists a particular electronic device as a “smartphone,” while another categorizes the
same device as a “mobile phone.” By inputting the data from multiple retailers into a semantic
reasoner, it can detect such discrepancies and highlight the need for alignment. Semantic
reasoning can infer that the device in question belongs to the same category, regardless of the
diferent terms the retailers use. This inference can help ensure consistent and accurate product
classification within the knowledge graph. If subsequent statements from diferent retailers
introduce conflicting information, such as varying prices or contradictory specifications for the
same device, the reasoner can flag these inconsistencies as errors.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Ownable and Traceable Resources</title>
      <p>
        Web3 Resources: Unlike the traditional Web 2.0 model, where centralized platforms exert
control over user data and resources, Web3 introduces decentralized systems that empower
individuals to own and manage their digital resources directly. Such ownable resources refer to
various digital entities, such as non-fungible tokens (NFTs), digital collectibles, and other digital
representations of value or ownership. This shift towards ownable resources in Web3 promotes
greater autonomy, security, and transparency, empowering users to have full control over their
digital assets and fostering a more equitable and decentralized digital ecosystem.
Provenance Assertions: The provenance ontology [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] defines concepts, relationships, and
properties to represent various aspects of provenance, such as entities, activities, agents, and
the relationships between them. However, it does not provide a verifiable means for asserting
the ownership and transfer of resources. By representing semantic web triple assertions as
ownable resources on a blockchain, it allows for increased data transparency, traceability, and
verifiability. Each triple assertion can be associated with a unique identifier and ownership
record, ensuring that the origin and history of the assertion can be reliably traced back to its
creator.
      </p>
      <p>Resource Ownership Transfers with Smart Contracts: Smart contracts, as self-executing
and tamper-proof agreements, can facilitate the implementation of usage control mechanisms.
By incorporating smart contracts within the broader system architecture, it becomes possible to
define and enforce rules and conditions for accessing and using data, including adherence to the
data provider’s wishes or requirements. However, usage control is a complex and multifaceted
topic, and there are indeed significant challenges to be addressed. Efective enforcement of
data providers’ wishes and requirements requires a comprehensive approach that encompasses
technical solutions and legal, ethical, and governance considerations.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>In conclusion, the integration of semantic web (Web 3.0) technologies and blockchain
technologies (Web3) holds great promise for advancing the capabilities and utility of the Web. Using
standardized vocabularies and ontologies enables interoperability among nodes, promoting
trust and minimizing errors in knowledge sharing. Despite the benefits, several challenges and
limitations need to be addressed. Implementing semantic web reasoners using smart contracts
requires substantial modifications to existing implementations, increased deployment costs,
and smart contract language constraints. Future work should focus on overcoming semantic
interoperability, scalability, and governance challenges while exploring synergistic integration
with other emerging technologies to enhance functionality in our rapidly evolving data-driven
world. The inherent transparency and immutability of blockchain technology ofer valuable
benefits, particularly in contexts where trust and auditability are critical. However, in domains
like healthcare, where privacy and data protection are paramount, it is essential to establish
strict control over sensitive information exposure. It is not necessary to store all data directly
on the blockchain. Instead, of-chain storage solutions can securely store sensitive information
while storing only necessary metadata or references (to the encrypted or anonymized data
stored of-chain) on the blockchain.</p>
      <p>The convergence of the Semantic Web and blockchain technology has significant potential to
transform the Web into a more useful and trustworthy space, and further research can pave the
way for addressing the challenges associated with scalability, interoperability, and governance
while exploring the integration of other emerging technologies to enhance functionality and
efectiveness in a rapidly evolving data-driven world.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>T.</given-names>
            <surname>Berners-Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Cailliau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Luotonen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. F.</given-names>
            <surname>Nielsen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Secret</surname>
          </string-name>
          ,
          <article-title>The world-wide web</article-title>
          ,
          <source>Communications of the ACM</source>
          <volume>37</volume>
          (
          <year>1994</year>
          )
          <fpage>76</fpage>
          -
          <lpage>82</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>T.</surname>
          </string-name>
          <article-title>O'reilly</article-title>
          ,
          <source>What is web 2</source>
          .0,
          <string-name>
            <surname>" O'Reilly Media</surname>
          </string-name>
          ,
          <source>Inc."</source>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>T.</given-names>
            <surname>Berners-Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Hendler</surname>
          </string-name>
          ,
          <string-name>
            <surname>O. Lassila,</surname>
          </string-name>
          <article-title>The semantic web</article-title>
          ,
          <source>Scientific american 284</source>
          (
          <year>2001</year>
          )
          <fpage>34</fpage>
          -
          <lpage>43</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J.</given-names>
            <surname>Hendler</surname>
          </string-name>
          , Web
          <volume>3</volume>
          .0 emerging,
          <source>Computer</source>
          <volume>42</volume>
          (
          <year>2009</year>
          )
          <fpage>111</fpage>
          -
          <lpage>113</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Voshmgir</surname>
          </string-name>
          ,
          <article-title>Token economy: How the Web3 reinvents the internet</article-title>
          , volume
          <volume>2</volume>
          ,
          <string-name>
            <surname>Token</surname>
            <given-names>Kitchen</given-names>
          </string-name>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A. V.</given-names>
            <surname>Sambra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Mansour</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Hawke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zereba</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ghanem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Zagidulin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Aboulnaga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Berners-Lee</surname>
          </string-name>
          ,
          <article-title>Solid: a platform for decentralized social applications based on linked data</article-title>
          ,
          <source>MIT CSAIL &amp; Qatar Computing Research Institute, Tech. Rep</source>
          . (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Shukla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Seneviratne</surname>
          </string-name>
          , Blockiot-RETEL:
          <article-title>Blockchain and IOT based Read-ExecuteTransact-Erase-Loop Environment for Integrating Personal Health Data</article-title>
          ,
          <source>in: 2021 IEEE International Conference on Blockchain (Blockchain)</source>
          , IEEE,
          <year>2021</year>
          , pp.
          <fpage>237</fpage>
          -
          <lpage>243</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T.</given-names>
            <surname>Lebo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Sahoo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>McGuinness</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Belhajjame</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Cheney</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Corsar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Garijo</surname>
          </string-name>
          , S. SoilandReyes, S. Zednik,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <article-title>Prov-o: The prov ontology</article-title>
          ,
          <source>W3C recommendation 30</source>
          (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>