Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Web semantics

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.

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 Web

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)

2e5f2342fce47d514dc298da7f3f484f_m

Semantic Web architecture