Friday, July 12, 2013

Semantic Web

The Semantic Web is an evolving extension of the World Wide Web in which the semantics of information and services on the web is defined, making it possible for the web to understand and satisfy the requests of people and machines to use the web content.


The Semantic Web is an extension of the current Web in which information is given well-defined meaning, better enabling computers and people to work in cooperation. It is the idea of having data on the Web defined and linked in a way that it can be used for more effective discovery, automation, integration, and reuse across various applications. In particular, the Semantic Web will contain resources corresponding not just to media objects (such as Web pages, images, audio clips, etc.) as the current Web does, but also to objects such as people, places, organizations and events. Further, the Semantic Web will contain not just a single kind of relation (the hyperlink) between resources, but many different kinds of relations between the different types of resources mentioned above.





This is the view the World Wide Web consortium develops on the Semantic Web:
Ontologies applied to the World Wide Web are creating the Semantic Web. When building the semantic web, several layers are required.

At the lowest level a generic mechanism for expressing machine readable semantics of data is required. Originally, the Web grew mainly around HTML, which provides a standard for structuring documents that browsers can translate in a canonical way to render those documents. On the one hand, HTML’s simplicity helped spur the Web’s fast growth; on the other, its simplicity seriously hampered more advanced Web applications in many domains and for many tasks. This led to XML, which lets developers define arbitrary domain- and task-specific extensions (even HTML appears as an XML application— XHTML).

The Resource Description Framework (RDF) is the foundation for processing metadata providing a simple data model and a standardized syntax for metadata. Basically, it provides the language for writing down factual statements.

The next layer, the schema layer introduces means to define vocabulary, structure and constraints for expressing meta data. This is provided by the RDF Schema specification.

The fourth layer then is the logical layer. We need ways of representing logic in documents to allow for, for example, rules that represent the deduction of one type of document from a document of another type, the checking of a document against a set of rules of self-consistency; and the resolution of a query by conversion from terms unknown into terms known.


Semantic Web solutions

The Semantic Web takes the solution further. It involves publishing in languages specifically designed for data: Resource Description Framework (RDF), Web Ontology Language (OWL), and Extensible Markup Language (XML). HTML describes documents and the links between them. RDF, OWL, and XML, by contrast, can describe arbitrary things such as people, meetings, or airplane parts. Tim Berners-Lee calls the resulting network of Linked Data the Giant Global Graph, in contrast to the HTML-based World Wide Web.
These technologies are combined in order to provide descriptions that supplement or replace the content of Web documents. Thus, content may manifest as descriptive data stored in Web-accessible databases, or as markup within documents (particularly, in Extensible HTML (XHTML) interspersed with XML, or, more often, purely in XML, with layout or rendering cues stored separately). The machine-readable descriptions enable content managers to add meaning to the content, i.e. to describe the structure of the knowledge we have about that content. In this way, a machine can process knowledge itself, instead of text, using processes similar to human deductive reasoning and inference, thereby obtaining more meaningful results and helping computers to perform automated information gathering and research.

Semantic Web Languages

  • XML provides an elemental syntax for content structure within documents, yet associates no semantics with the meaning of the content contained within.
  • XML Schema is a language for providing and restricting the structure and content of elements contained within XML documents.
  • RDF is a simple language for expressing data models, which refer to objects ("resources") and their relationships. An RDF-based model can be represented in XML syntax.
  • RDF Schema is a vocabulary for describing properties and classes of RDF-based resources, with semantics for generalized-hierarchies of such properties and classes.
  • OWL adds more vocabulary for describing properties and classes: among others,          relations between classes (e.g. disjointness), cardinality (e.g. "exactly one"), equality,   richer typing of properties, characteristics of properties (e.g. symmetry), and enumerated  classes.
  • SPARQL is a protocol and query language for semantic web data sources. Current ongoing standardizations include:
  • Rule Interchange Format (RIF) as the Rule Layer of the Semantic Web Stack