Web semantics
Word semantics means its meaning.
The semantics of a thing means the thing.
Web Semantics = the meaning of the Web.
What is Web Semantics?
What is semantics? Simply put, it is letting machines understand content.
- The Beatles is a popular band from Liverpool.
- John Lennon is a member of the Beatles.
- "Hey Jude" is a representative work of the Beatles.
We can easily understand the meaning of the sentences above. But how can these sentences be understood by computers?
Sentences are created by grammar rules. A language's grammar defines the rules for creating its sentences. But how does grammar become semantics?
The Semantic Web lets machines understand data. Semantic Web technology includes a set of description languages and reasoning logic, describing ontologies through some formats.
The Semantic Web is not links between web pages.
The Semantic Web describes associations between things (e.g., A is part of B, Y is a member of Z) and attributes of things (such as size, height, age, price, etc.).
![]() |
The realization of the Semantic Web is based on XML (eXtensible Markup Language) and RDF (Resource Description Framework). XML is a tool for defining markup languages; its content includes an XML declaration, a DTD defining the language syntax, detailed descriptions of the markup, and the document itself, which contains markup and content. RDF is used to express web page content. |
|---|
Resource Description Framework
RDF (Resource Description Framework) is a language specification recommended by W3C to describe information resources on the WWW and the relationships between them.
RDF(S) is an important part of the Semantic Web; it uses URIs to identify different objects (including resource nodes, property classes, or property values) and can connect different URIs to clearly express relationships between objects.
Create a class that implements
Although the Semantic Web is a more beautiful network, its realization is a complex and huge project. Its architecture is under construction and mainly needs support in the following two aspects:
(1) Realization of the data network
That is: through a unified and complete set of data standards to mark network information more thoroughly and in detail, enabling the Semantic Web to accurately identify information and distinguish its role and meaning. To make Semantic Web search more precise and thorough and easier to judge the truth of information, the goal is first to set a standard allowing users to add metadata (detailed explanatory markup) to network content and precisely indicate what they are looking for; then to find a method ensuring different programs can share content from different websites; finally, to allow users to add other functions, such as application software.
The realization of the Semantic Web is based on XML (eXtensible Markup Language) and RDF (Resource Description Framework). XML is a tool for defining markup languages; its content includes an XML declaration, a DTD defining the language syntax, detailed descriptions of the markup, and the document itself, which contains markup and content. RDF is used to express web page content.
(2) Search engines with semantic analysis capability
If the data network can be realized in a short time by billions of individuals, then the semanticization and intelligence of the network must be achieved through the efforts of human top wisdom groups. Developing an information search engine with semantic analysis capability will be the most important step of the Semantic Web; such an engine can understand human natural language and has some reasoning and judgment ability.
A semantic search engine and an engine with semantic analysis capability are two different things. The former is merely the use of the semantic network, a way of information search, while an engine with semantic analysis capability can understand natural language and provide answers more in line with user psychology through computer reasoning.
Prospects
The architecture of the Semantic Web is under construction. Currently there is no satisfactory rigorous logical description and theoretical system for it internationally; Chinese scholars only give brief introductions based on foreign research and have not formed a systematic exposition.
The realization of the Semantic Web needs support from three key technologies: XML, RDF, and Ontology.
XML (eXtensible Marked Language) allows information providers to define markup and attribute names as needed, so the structure of an XML file can be complex to any degree.
It has advantages of good data storage format, extensibility, high structuring, and easy network transmission, plus its unique NS mechanism and XML Schema-supported data types and validation mechanisms, making it one of the key technologies of the Semantic Web.
Current discussion on Semantic Web key technologies focuses mainly on RDF and Ontology.
RDF is a language specification recommended by W3C for describing resources and their relationships, with features of simplicity, easy extension, openness, easy exchange, and easy integration.
Note that RDF only defines how to describe resources, not which data to use to describe them. RDF consists of three parts: RDF Data Model, RDF Schema, and RDF Syntax.
Attached:
1. The Semantic Web extends the existing Internet by adding content expressing its meaning into information, enabling computers to automatically cooperate with people. That is, various resources in the Semantic Web are no longer just connected information, but also include the true meaning of the information, improving the automation and intelligence of computer information processing. Of course, computers do not have true intelligence; building the Semantic Web requires researchers to effectively represent information and set unified standards so computers can effectively and automatically process information.
(Source: He Bin, Zhang Lihou, "Principles and Methods of Information Management," Tsinghua University Press, July 2007, second edition)

Semantic Web architecture
- Layer 1: Unicode and URI, the foundation of the entire architecture.
- Layer 2: XML + NS + XML Schema, responsible for representing the content and structure of data in syntax, separating the presentation, data structure, and content of network information using standard format languages.
- Layer 3: RDF + RDF Schema, providing a semantic model to describe information and types on the web. RDF (Resource Description Framework) is a language specification recommended by W3C to describe WWW information resources and their relationships. RDF(S) is an important part of the Semantic Web; it uses URIs to identify different objects and can connect different URIs to clearly express object relationships.
- Layer 4: Ontology vocabulary layer. Ontology is an explicit specification of the conceptualization and formalization of domain knowledge. In the Semantic Web architecture, the role of ontology is mainly: (1) concept description, revealing domain knowledge through concept description; (2) semantic revelation, ontology has stronger expressive power than RDF and can reveal richer semantic relations; (3) consistency, as an explicit specification of domain knowledge, ontology ensures semantic consistency and thoroughly solves polysemy, synonymy, and ambiguity; (4) reasoning support, ontology's certainty in concept description and powerful semantic revelation ability strongly guarantee reasoning effectiveness at the data level.
- Layer 5: Logic layer, responsible for providing axioms and reasoning principles, providing a basis for intelligent services. Description Logic is a formalization of object-based knowledge representation, absorbing the main ideas of KL-ONE and being a decidable subset of first-order predicate logic. Unlike first-order predicate logic, a description logic system can provide decidable reasoning services. Besides knowledge representation, description logic is also used in many other fields and is considered the most important normalized form of object-centered representation languages. An important feature of description logic is strong expressive power and decidability, ensuring reasoning algorithms always terminate and return correct results. Among many formal knowledge representation methods, description logic has attracted special attention over the past ten-plus years, mainly because: they have a clear model-theory mechanism; they are well suited to represent application domains through concept taxonomies; and they provide useful reasoning services.
- Layer 6 proof layer and Layer 7 trust layer are responsible for providing authentication and trust mechanisms.
