Semantic Web: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Blake Willmarth
(Undo revision 100698876 by Blake Willmarth (Talk))
imported>Blake Willmarth
No edit summary
Line 4: Line 4:


==Overview==
==Overview==
The '''Semantic web''' (often referred to as  Web 3.0<ref name="web3.0">{{cite web|url=http://www.nytimes.com/2006/11/12/business/12web.html|title=Entrepreneurs See a Web Guided by Common Sense|publisher=[http://www.nytimes.com/ New York Times]|year=2006|accessdat=2010-08-04}}</ref>) is a concept, first named by [[Tim Berners-Lee]], for a "web of knowledge" in which [[world wide web]] documents' contents would be annotated and classified so that computers can parse the classifications and provide search results based on the semantic information (what the content means), rather than simply on matching of text strings.<ref name="The Semantic Web">{{citation|lastname=Berners-Lee|firstname=Tim|coathors=James Hendler, Ora Lassila|title=[http://www.sciam.com/article.cfm?id=the-semantic-web&print=true The Semantic Web]|year=2001|publisher=Scientific American Magazine|accessdate=2010-08-07}}</ref> There is also a W3C standards effort<ref name="SemanticWebFaq">
The '''Semantic web''' (often referred to as  Web 3.0<ref name="web3.0">{{cite web|url=http://www.nytimes.com/2006/11/12/business/12web.html|title=Entrepreneurs See a Web Guided by Common Sense|publisher=[http://www.nytimes.com/ New York Times]|year=2006|accessdat=2010-08-04}}</ref>) is a concept, first named by [[Tim Berners-Lee]], for a "web of knowledge" in which data on the [[world wide web]] - whether in structured data stores or unstructured documents - would be annotated and classified so that machines can infer relationships among disparate sources of data based on the semantic information (what the content means), rather than simply on matching of text strings.<ref name="The Semantic Web">{{citation|lastname=Berners-Lee|firstname=Tim|coathors=James Hendler, Ora Lassila|title=[http://www.sciam.com/article.cfm?id=the-semantic-web&print=true The Semantic Web]|year=2001|publisher=Scientific American Magazine|accessdate=2010-08-07}}</ref> There is also a W3C standards effort<ref name="SemanticWebFaq">
{{cite web|
{{cite web|
url=http://www.w3.org/2001/sw/SW-FAQ|
url=http://www.w3.org/2001/sw/SW-FAQ|
Line 11: Line 11:
year=2010|
year=2010|
accessdate=2010-07-11}}
accessdate=2010-07-11}}
</ref> related to this concept.  Semantic web was developed to meet a specific deficiency in web based communications.  Although well defined in [[RFC]]'s, [[HTTP]] is architected to perform exchange of information that is delimited and optimized for presentation.  That is, the use of [[HTML]] is designed to communicate the appearance of documents within web browsers.  This is wonderful when attempting to create a document that will render in the same form across multiple platforms (or web browsers) but is problematic for transmitting meaning of data.  There are a few HTML specifications (notably META tags and other document head elements<ref name="HTML head">{{cite web|url=http://www.w3.org/TR/html401/struct/global.html#h-7.4.4|title=The global structure of an HTML document|publisher=[http://www.w3.org/ W3C]}}</ref>) that convey meaning, but these are precious few.   
</ref> related to this concept.   


In order to associate meaning with content, Semantic Web utilizes structures for categorization.  While a web page about soccer might specify how pictures and text should be arranged, what colors and font to use, and other presentation data, a similar Semantic Web document would convey the fact that the data pertained to the sport of soccer, perhaps a list of teams, scores of recent matches, and other data in categorization containers.  This presentation allows other consumers (mainly programs) of the data to parse and utilize the data in meaningful ways.  As opposed to modern web crawlers which must catalogue, index, and apply a certain amount of artificial intelligence to derive the meaning of documents on the web, semantic web allows data to be parsed easily for meaning - ultimately resulting in greater ability to share information.
Semantic web was developed to meet a specific deficiency in web based communications.  Although well defined in [[RFC]]'s, [[HTML]] is architected to perform exchange of information that is delimited and optimized for presentation.  That is, the use of [[HTML]] is designed to communicate the appearance of documents within web browsers.  This is wonderful when attempting to create a document that will render in the same form across multiple platforms (or web browsers) but is problematic for transmitting meaning of data.  There are a few HTML specifications (notably META tags and other document head elements<ref name="HTML head">{{cite web|url=http://www.w3.org/TR/html401/struct/global.html#h-7.4.4|title=The global structure of an HTML document|publisher=[http://www.w3.org/ W3C]}}</ref>) that convey meaning, but these are precious few. 
 
In order to associate meaning with content, Semantic Web utilizes structures for identification, categorization and linking data.  While a web page about soccer might specify how pictures and text should be arranged, what colors and font to use, and other presentation data, a similar Semantic Web document would convey the fact that the data pertained to the sport of soccer, perhaps a list of teams, scores of recent matches, and other data in categorization containers.  This presentation allows other consumers (mainly programs) of the data to parse and utilize the data in meaningful ways.  As opposed to modern web crawlers which must catalogue, index, and apply a certain amount of artificial intelligence to derive the meaning of documents on the web, semantic web allows data to be parsed easily for meaning - ultimately resulting in greater ability to share and discover information.


One interesting challenge that faces semantic web is the ability to not only transmit data, but also to associate metadata.  Metadata is descriptive information that conveys relationships between data types.  In order to provide a flexible framework that is capable of transmitting multiple different types of data, as well as the meaning and relationships of that data, semantic web has integrated metadata into the format.  This allows dynamic and unpredictable data formats and types to be transmitted and consumed by facilitating consumers' ability to process data by utilizing the embedded metadata to parse and understand data and inter-relationships.<ref name="Programming the Semantic Web">{{cite book|
One interesting challenge that faces semantic web is the ability to not only transmit data, but also to associate metadata.  Metadata is descriptive information that conveys relationships between data types.  In order to provide a flexible framework that is capable of transmitting multiple different types of data, as well as the meaning and relationships of that data, semantic web has integrated metadata into the format.  This allows dynamic and unpredictable data formats and types to be transmitted and consumed by facilitating consumers' ability to process data by utilizing the embedded metadata to parse and understand data and inter-relationships.<ref name="Programming the Semantic Web">{{cite book|

Revision as of 21:59, 8 August 2010

All unapproved Citizendium articles may contain errors of fact, bias, grammar etc. A version of an article is unapproved unless it is marked as citable with a dedicated green template at the top of the page, as in this version of the 'Biology' article. Citable articles are intended to be of reasonably high quality. The participants in the Citizendium project make no representations about the reliability of Citizendium articles or, generally, their suitability for any purpose.

Nuvola apps kbounce green.png
Nuvola apps kbounce green.png
This article is currently being developed as part of an Eduzendium student project. The course homepage can be found at CZ:Special_Topics_2010.
To provide students with experience in collaboration, you are warmly invited to join in here, or to leave comments on the discussion page. The anticipated date of course completion is 13 August 2010. One month after that date at the latest, this notice shall be removed.
Besides, many other Citizendium articles welcome your collaboration!


This article is a stub and thus not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.

Overview

The Semantic web (often referred to as Web 3.0[1]) is a concept, first named by Tim Berners-Lee, for a "web of knowledge" in which data on the world wide web - whether in structured data stores or unstructured documents - would be annotated and classified so that machines can infer relationships among disparate sources of data based on the semantic information (what the content means), rather than simply on matching of text strings.[2] There is also a W3C standards effort[3] related to this concept.

Semantic web was developed to meet a specific deficiency in web based communications. Although well defined in RFC's, HTML is architected to perform exchange of information that is delimited and optimized for presentation. That is, the use of HTML is designed to communicate the appearance of documents within web browsers. This is wonderful when attempting to create a document that will render in the same form across multiple platforms (or web browsers) but is problematic for transmitting meaning of data. There are a few HTML specifications (notably META tags and other document head elements[4]) that convey meaning, but these are precious few.

In order to associate meaning with content, Semantic Web utilizes structures for identification, categorization and linking data. While a web page about soccer might specify how pictures and text should be arranged, what colors and font to use, and other presentation data, a similar Semantic Web document would convey the fact that the data pertained to the sport of soccer, perhaps a list of teams, scores of recent matches, and other data in categorization containers. This presentation allows other consumers (mainly programs) of the data to parse and utilize the data in meaningful ways. As opposed to modern web crawlers which must catalogue, index, and apply a certain amount of artificial intelligence to derive the meaning of documents on the web, semantic web allows data to be parsed easily for meaning - ultimately resulting in greater ability to share and discover information.

One interesting challenge that faces semantic web is the ability to not only transmit data, but also to associate metadata. Metadata is descriptive information that conveys relationships between data types. In order to provide a flexible framework that is capable of transmitting multiple different types of data, as well as the meaning and relationships of that data, semantic web has integrated metadata into the format. This allows dynamic and unpredictable data formats and types to be transmitted and consumed by facilitating consumers' ability to process data by utilizing the embedded metadata to parse and understand data and inter-relationships.[5]

What differentiates the Semantic Web from existing data structures is the use of URIs to uniquely identify things, and relationships between things. The sort of problem scenario that Semantic Web technologies try to solve are those involving multiple disparate source of data - for instance, hooking together train timetables and class timetables, so a student can automatically plan their travel itinerary without having to manually match the data together.

Semantic web is closely tied to microformats with are an alternative way to embed meaning into HTML documents. Microformats use standard HTML tags along with generally agreed upon conventions for attributes, in order to delineate certain data within documents. For instance, microformats can be used to embed contact data or calendar data in web pages for easy integration with other programs. This can allow users of popular calendaring or contact management software to simply click on elements within web pages and import calendar events, or contacts, directly into their calendaring or address book software.[6]

The W3C have put forward a variety of standards built on top of the Resource Description Framework, a formal semantic model for representing things and the relationships between them.

Triplestore

Semantic web makes use of the triplestore data convention in order to relate objects and meaning. Triplestore is a rather simple linguistic convention that makes it easy to classify data and make connections. Triplestore takes the form "Subject" - "Predicate" - "Object". For example:

Garden location Backyard
Firstrow location Garden
Firstrow plantedWith Beets
Firstrow plantedWith Carrots

Using this standard convention it is easy to catalogue data and to trace relationships between them. For instance, using the above example I can figure out what is planted in the first row of the garden in the backyard by tracing the relationships:

?Garden location Backyard -> finds the Garden I'm looking for
?Firstrow location Garden -> finds the row in the Garden just retrieved
Firstrow plantedwith ?Veggie -> gets the vegetable planted in the first row

This rather simple model makes it possible to define (and query) complex relationships without first having a defined data model. This convention gives semantic web the adaptability to handle evolving dynamic data without constraining that data. This also means that the model doesn't have to be redefined to deal with emerging data types.

Triplestores can be used to create complex graphs of data. When expressing these data using RDF/XML they are typically rendered as N-Triples, which are expressed in plain text and used for transmitting this data across the network. N-triples do contain redundancy, however, so when moving N-triples across the wire it is common to utilize the RDF N3 notation, which compresses the data by removing duplication.

RDFa

Although using RDF is compact, it is not easily human readable. RDFa is a response to the disparity of data presentations between XHTML and RDF. RDFa allows RDF data to be embedded in XHTML content. Using standard XHTML tags like the <span> tag semantic web data can be mixed into XHTML presentation. For example:

<span xmlns:example="http://example.tld/example/0.a" about="http://foo.tld/bar.rd#ts" property="example:bar" content="some_data">Some XHTML for presentation</span>

Programming with Semantic Web

Because RDF is an open format, libraries exist for almost every programming language to make it easy for programmers to produce and consume RDF data. Some examples include the RDF.rb[7] library for Ruby, JRDF[8] for Java, a PEAR[9] RDF package for PHP and many more.

SPARQL

Domain-specific semantic models

Medicine

Semantic models seem the major trend in expert support to medicine. As an example of how semantic methodologies are used, consider several isolated concepts, which could be considered "nouns":

One of the notations for relationships is the Unified Medical Language System® (UMLS®). Informally, some of the "verb" semantic relationships among the above could be:

  • beta-adrenergic antagonists TREAT hypertension and benign hand tremor
  • beta-adrenergic antagonists CAUSE bradycardia
  • beta-adrenergic antagonists TRIGGER asthma

"Hypertension" would have a number of other TREATS relations, from drug classes such as thiazide diuretics, angiotensin-II converting enzyme antagonists, calcium channel blockers, angiotensin-II receptor blockers, etc.

ULMS is now being extended with formal ontologies: [10]

Semantic Web in CMS

Content management systems (CMS) can benefit greatly from RDF features. RDF is an expressive means by which CMS can both publish and consume data. Because RDF makes data more easily machine readable it is perfect for systems that integrate data (such as CMS).

Drupal

The Drupal content management system is making a big push to include RDF and semantic web as part of the upcoming Drupal 7 release.[11] There is a Drupal group devoted to semantic web as well as a code sprint devoted to the topic. Drupal 7 will automatically include RDFa elements in page presentation. The will mean that new Drupal 7 sites will automatically include RDFa data without any additional overhead, coding, or administration necessary from site administrators. This powerful new feature will allow site users to leverage RDFa seamlessly. With over significant and growing market share of CMS, Drupal's support of semantic web will mean a vast increase in implementation of RDF.[12]

Wordpress

Wordpress has several third party plugins that implement RDF.[13]

MediaWiki

MediaWiki has Semantic MediaWiki to integrate the Semantic Web in a wiki setting.

Other notable uses

The BBC made heavy use of semantic web technologies for their internet coverage of the 2010 World Cup games.[14]

Facebook recently announced support for open graph protocol which is an RDF implementation of semantic web.

Google has announced support for "Rich Snippets" which appear as summary data in search results (for things like customer reviews, map location, etc.) utilizing RDFa. [15]

DBpedia is a project designed to extract structured data from the popular Wikipedia site.

References