Web Technology

106609
Back to Web Technology

Module V: Web 3.0

  1. Q1(j). Which of the following is NOT a Web 3.0 technology? (i) RDF (ii) OWL (iii) SPARQL (iv) XSL20242m

    Module V: Web 3.0

    Which of the following is NOT a Web 3.0 technology? (i) RDF (ii) OWL (iii) SPARQL (iv) XSL

    View this question on its own page →
    Worked Solution

    Answer: (iv) XSL

    RDF (data model), OWL (ontology language), and SPARQL (query language) are core Semantic Web / Web 3.0 technologies. XSL (Extensible Stylesheet Language) is used to transform and style XML documents and belongs to earlier XML technology.

  2. Q1(j). The primary goal of the Semantic Web is to make web information (i) More understandable and processable by machines through structured semantics (ii) Restricted to static HTML documents (iii) Available only through email (iv) Independent of any representation of meaning20262m

    Module V: Web 3.0

    The primary goal of the Semantic Web is to make web information
    (i) More understandable and processable by machines through structured semantics
    (ii) Restricted to static HTML documents
    (iii) Available only through email
    (iv) Independent of any representation of meaning

    View this question on its own page →
    Worked Solution

    Correct answer: (i) More understandable and processable by machines through structured semantics. The Semantic Web represents data and relationships in a structured, machine-interpretable way.

  3. Q1j. The Semantic Web is primarily concerned with (i) Multimedia sharing (ii) Data interlinking and machine understanding (iii) Social networking (iv) Cloud Storage20252m

    Module V: Web 3.0

    The Semantic Web is primarily concerned with

    (i) Multimedia sharing
    (ii) Data interlinking and machine understanding
    (iii) Social networking
    (iv) Cloud Storage

    View this question on its own page →
    Worked Solution

    Correct Answer: (ii) Data interlinking and machine understanding

    Explanation:

    • The Semantic Web (an extension of the World Wide Web championed by Tim Berners-Lee and the W3C) aims to make web data understandable and processable by machines and software agents, rather than only displayable to humans.
    • It relies on standard frameworks such as RDF (Resource Description Framework), RDFS, OWL (Web Ontology Language), and SPARQL.

    Core Objectives:

    1. Meaningful Relationships: Assigning standardized semantics and metadata to data.
    2. Linked Data: Connecting disparate databases and web entities across the internet.
    3. Automated Reasoning: Enabling AI agents to perform intelligent queries, cross-domain data integration, and inference.
  4. Q8(b). Define the Semantic Web. How does it differ from the current web, and what technologies support it?20247m

    Module V: Web 3.0

    Define the Semantic Web. How does it differ from the current web, and what technologies support it?

    View this question on its own page →
    Worked Solution

    The Semantic Web

    The Semantic Web (proposed by Tim Berners-Lee, often called Web 3.0 in its original sense) is an extension of the current web in which information is given well-defined meaning, so that machines can understand, interpret, and process it, not just display it. Data is published in a structured, linked form that software agents can reason over.

    Example: on today's web, "Paris" on a page is just text. In the Semantic Web it is marked as a City that is the capital of France, so a program can answer "Which capitals are in Europe?"

    How it differs from the current web

    Basis Current web (Web 1.0/2.0) Semantic Web
    Content is for Humans to read Humans and machines
    Data form Unstructured text and HTML markup Structured, machine-readable data with metadata
    Meaning Not understood by computers Explicit semantics through ontologies
    Search Keyword matching Concept-based, context-aware answers
    Links Link documents to documents Link data and concepts (Linked Data)
    Integration Hard to combine data from different sites Easy data sharing and integration across sources
    Automation Limited Intelligent agents can reason and act

    Supporting technologies (the Semantic Web stack)

    1. URI/IRI: unique identifiers for every resource.
    2. XML: syntax for structured documents; XML Namespaces avoid name clashes.
    3. RDF (Resource Description Framework): the core data model, expressing facts as subject–predicate–object triples.
      <Paris> <isCapitalOf> <France> .
      
      Serialisations: RDF/XML, Turtle, JSON-LD.
    4. RDFS (RDF Schema): vocabulary for classes and properties.
    5. OWL (Web Ontology Language): describes richer ontologies, relationships, and constraints, enabling reasoning.
    6. SPARQL: the query language for RDF data.
    7. Ontologies and vocabularies: shared definitions (e.g. FOAF, Dublin Core, schema.org).
    8. Rules and logic (SWRL, RIF) and proof and trust layers, with digital signatures.
    9. Microdata, RDFa, and JSON-LD: embed semantic markup directly in HTML pages.

    Applications: knowledge graphs (Google Knowledge Graph, Wikidata), smarter search, healthcare and library data linking, and recommendation and virtual assistants.

  5. Q8(b). Discuss the Semantic Web and explain how it improves the way information is represented and processed on the Web.20267m

    Module V: Web 3.0

    Discuss the Semantic Web and explain how it improves the way information is represented and processed on the Web.

    View this question on its own page →
    Worked Solution

    Semantic Web

    The Semantic Web is an approach to structuring web data so that software can interpret the meaning and relationships of information, rather than treating pages only as text for people to read.

    Key technologies

    • RDF (Resource Description Framework): represents facts as subject–predicate–object triples. Example: (Course, taughtBy, Teacher).
    • URI/IRI: identifies resources.
    • Ontologies and OWL: define concepts, categories, properties and constraints in a domain.
    • SPARQL: queries RDF data.
    • Linked Data: connects structured datasets through shared identifiers and relationships.

    How it improves the Web

    1. Machine-readable meaning: data includes explicit relationships.
    2. Interoperability: different systems can share data using common vocabularies.
    3. Integration: facts from multiple sources can be linked and queried.
    4. Improved search: applications can search by entities and relationships, not just keywords.
    5. Reasoning: ontology rules can help infer relationships or detect inconsistencies.
    6. Intelligent applications: supports knowledge graphs, data integration and semantic recommendations.

    Example: a university can represent that a course is taught by a teacher, belongs to a department and has prerequisites. An application can query those relationships even if the data comes from separate systems.

    Challenges: creating and maintaining good metadata, agreeing on vocabularies, data quality, privacy and the cost of integration. Semantic Web technology does not automatically make all web content intelligent; data must be represented and maintained appropriately.

    Conclusion: RDF, ontologies, OWL and SPARQL add machine-processable structure and meaning to web data, improving discovery and integration.

  6. Q8b. What is Web 3.0? How does it differ from Web 2.0?20257m

    Module V: Web 3.0

    What is Web 3.0? How does it differ from Web 2.0?

    View this question on its own page →
    Worked Solution

    Answer: Web 3.0 and Its Comparison with Web 2.0

    1. Evolution of the World Wide Web

    +-------------------+        +--------------------+        +---------------------+
    |      Web 1.0      |        |      Web 2.0       |        |       Web 3.0       |
    |  (1990s - 2004)   | -----> |  (2004 - Present)  | -----> |    (Emerging Era)   |
    |   "Read-Only"     |        |  "Read-Write /     |        |    "Read-Write-Own  |
    | (Static Web Pages)|        |   Social Web"      |        |  / Semantic Web"    |
    +-------------------+        +--------------------+        +---------------------+
    

    2. What is Web 3.0?

    Web 3.0 (often referred to as the Semantic Web or the Decentralized Web) represents the next generation of internet architecture. It combines machine-understandable metadata (semantics), Artificial Intelligence (AI), and Decentralized Ledger Technology (Blockchain) to create an open, trustless, permissionless, and intelligent internet where users own their data and digital identities.


    3. Core Pillars of Web 3.0

    1. Semantic Web & Linked Data: Information is categorized and structured using standard semantic ontologies (RDF, OWL, SPARQL) so machines can understand the contextual meaning of queries rather than relying solely on keyword matching.
    2. Decentralization & Edge Computing: Data and services are distributed across peer-to-peer networks (e.g., IPFS, blockchain nodes) rather than centralized corporate server farms (AWS, Google Cloud).
    3. Artificial Intelligence & Natural Language Processing (NLP): Intelligent agents and LLMs interpret complex user queries, automate decision-making, and generate personalized experiences.
    4. User Ownership & Digital Sovereignty: Users retain control of their data, assets, and identity using cryptographic wallets (e.g., Ethereum, Solana, DIDs) rather than proprietary corporate logins (Google/Facebook OAuth).
    5. Smart Contracts: Programmable, self-executing agreements that execute transparently on distributed networks without intermediaries.

    4. Comprehensive Comparison: Web 2.0 vs. Web 3.0

    Feature Web 2.0 (Social & Interactive Web) Web 3.0 (Semantic & Decentralized Web)
    Core Philosophy Read-Write (User-generated content) Read-Write-Own (Decentralized & Intelligent)
    Data Control Centralized in big tech corporations (Meta, Google, Amazon) Distributed across decentralized networks; owned by users
    Architecture Client-Server (Centralized databases like MySQL/Oracle) Peer-to-Peer (P2P), Blockchains, IPFS, Edge Computing
    Search Paradigm Keyword-based text indexing Contextual, Semantic & AI-driven understanding
    User Identity Corporate-controlled accounts (Email/Password, OAuth) Self-Sovereign Identity (Cryptographic public/private keys)
    Trust Model Trust required in centralized intermediaries/banks Trustless & Permissionless (Cryptographic proof & Smart Contracts)
    Monetization Model Targeted digital advertising based on personal data tracking Token economics, micro-payments, smart contract fees
    Key Technologies AJAX, HTML5, CSS3, REST APIs, JavaScript frameworks RDF, OWL, Blockchain, Smart Contracts, AI/ML, IPFS
    Prominent Examples Facebook, YouTube, Twitter, Instagram, Wikipedia Uniswap, IPFS, Brave Browser, Ethereum, Solid Project

    Conclusion

    While Web 2.0 democratized content creation and brought dynamic social collaboration at the cost of data centralization and privacy, Web 3.0 shifts the internet toward machine intelligence, semantic interoperability, and user-owned decentralized ecosystems.

  7. Q9(a). Explain the technologies that support Web 3.0 and how they enable the creation of decentralized applications.20247m

    Module V: Web 3.0

    Explain the technologies that support Web 3.0 and how they enable the creation of decentralized applications.

    View this question on its own page →
    Worked Solution

    Web 3.0 technologies

    "Web 3.0" is used in two related senses: the Semantic Web (machine-understandable data) and the decentralised web (users own their data and identity through blockchain). Both rely on the following technologies.

    Technologies

    Technology Role
    Blockchain A distributed, tamper-resistant ledger that records transactions without a central authority (Ethereum, Solana)
    Smart contracts Self-executing programs stored on the blockchain that run automatically when conditions are met (Solidity)
    Cryptocurrencies and tokens Native payment and incentive mechanisms; NFTs represent unique digital ownership
    Decentralised storage Files stored across a peer-to-peer network (IPFS, Filecoin, Arweave) instead of one server
    Digital wallets and decentralised identity (DID) MetaMask-style wallets let users sign in and own their identity and assets without a central account
    Semantic Web standards RDF, OWL, SPARQL give data machine-readable meaning
    Artificial intelligence and machine learning Understand data, personalise, and automate
    Edge computing and 3D/AR/VR (metaverse) Immersive, distributed experiences
    Oracles Bring real-world data (prices, weather) safely into smart contracts (Chainlink)

    How they enable decentralised applications (dApps)

    A dApp has its logic in smart contracts on a blockchain instead of on a company's private server.

    User (browser + wallet)
         |  web3.js / ethers.js
    Front end (HTML/JS/React)  --->  Smart contract on blockchain  --->  IPFS storage
    
    1. No single point of control: logic runs on many nodes, so there is no central owner who can shut it down or alter it.
    2. Trustless transactions: smart contracts enforce rules automatically; consensus (Proof of Stake/Work) validates every action.
    3. User ownership: users hold their own keys, data, and assets through wallets, and sign in with a wallet address.
    4. Transparency and immutability: all transactions are publicly verifiable and cannot be changed afterwards.
    5. Censorship resistance and availability: data and code are replicated across the network.
    6. Built-in payments and incentives: tokens allow direct peer-to-peer payments and reward participants.
    7. Interoperability: open standards and shared data let dApps and services connect.

    Example in JavaScript (ethers.js)

    import { ethers } from 'ethers';
    const provider = new ethers.BrowserProvider(window.ethereum);   // wallet
    const signer   = await provider.getSigner();
    const contract = new ethers.Contract(address, abi, signer);      // smart contract
    await contract.vote(candidateId);                                 // on-chain action
    

    Examples of dApps: Uniswap (decentralised exchange), Aave (lending), OpenSea (NFT marketplace), ENS (domain names).

    Challenges: scalability and transaction fees, user experience, regulation, and security risks in smart contracts.

  8. Q9a. Explain the concept of the Semantic Web and its significance in intelligent web applications.20257m

    Module V: Web 3.0

    Explain the concept of the Semantic Web and its significance in intelligent web applications.

    View this question on its own page →
    Worked Solution

    Answer: Concept and Significance of the Semantic Web

    1. Concept of the Semantic Web

    The Semantic Web is an extension of the current World Wide Web, conceptualized by web inventor Tim Berners-Lee, in which web information is given well-defined meaning (semantics), enabling computers and software agents to automatically understand, process, infer, and integrate data from disparate sources.

    While the traditional web is a "Web of Documents" designed for human reading, the Semantic Web creates a "Web of Linked Data" designed for direct machine interpretation.

                   +---------------------------------------------+
                   |             User Interface & Trust          |
                   +---------------------------------------------+
                   |        Proof & Cryptographic Verification   |
                   +---------------------------------------------+
                   |         Rules (RIF / SWRL) & Logic Engine   |
                   +---------------------------------------------+
                   |        Ontology Vocabulary (OWL / RDFS)     |
                   +---------------------------------------------+
                   |           Query Language (SPARQL)           |
                   +---------------------------------------------+
                   |        Data Interchange (RDF / Triples)     |
                   +---------------------------------------------+
                   |              XML / XML Schema               |
                   +---------------------------------------------+
                   |         URI (Universal Identifiers) / IRI   |
                   +---------------------------------------------+
    

    2. Core Building Blocks of Semantic Web Architecture

    1. Uniform Resource Identifiers (URI / IRI)

    • Provide globally unique, unambiguous identifiers for real-world entities, concepts, and relationships across the globe (e.g., http://dbpedia.org/resource/Albert_Einstein).

    2. Resource Description Framework (RDF)

    • Standard data model representing information as a graph of Triples:
      Subject→PredicateObject\text{Subject} \xrightarrow{\quad \text{Predicate} \quad} \text{Object}
    • Example:
      • Subject: http://example.org/Book123
      • Predicate: http://purl.org/dc/elements/1.1/creator
      • Object: "James Gosling"

    3. Web Ontology Language (OWL) & RDF Schema (RDFS)

    • Defines rich formal vocabularies and domain ontologies, including classes, subclasses, inverse properties, and cardinality restrictions.
    • Enables logical reasoning (e.g., if class Professor is a subclass of Person, and Dr. Smith is a Professor, the system infers that Dr. Smith is a Person).

    4. SPARQL Protocol and RDF Query Language

    • The standard SQL-like declarative query language used to search and extract data across distributed RDF graph databases (triplestores).

    3. Significance in Intelligent Web Applications

    1. Contextual Search & Knowledge Graphs

    • Powers modern search engines (like the Google Knowledge Graph) to answer direct factual questions (e.g., "What is the capital of France?") instead of just returning links to text pages containing matching keywords.

    2. Cross-Domain Data Integration (Linked Open Data)

    • Unifies heterogeneous databases across multiple organizations without requiring rigid centralized database schemas (e.g., linking DBpedia, Wikidata, and government statistical portals).

    3. Automated Decision-Making & AI Agents

    • Autonomous software agents can negotiate, query across flight schedules, hotel databases, and payment APIs to plan complete travel itineraries autonomously.

    4. Healthcare & Biomedical Research

    • Clinical ontologies like SNOMED CT and Gene Ontology allow AI systems to correlate patient symptoms, genetic markers, and medical drug databases for personalized diagnosis and automated drug interaction warnings.

    5. Semantic E-Commerce & Smart Recommendation

    • Search engines parse Schema.org microdata to display rich product badges (price, stock status, ratings) and generate contextually relevant product recommendations.