Showing posts with label Semantics. Show all posts
Showing posts with label Semantics. Show all posts

Wednesday, July 8, 2015

More on semantic wiki...


              In my previous post with the title "Semantics into wiki", I discussed the major concepts behind the "Semantic wiki". Today I am going to dive bit deeper in it.
              Semantic wiki has the following basic features. One is that it is still a wiki, with regular wiki features such as  Category/Tags, Namespaces, Title, Versioning, etc... The articles have typed Content (built-ins + user created, e.g. categories) and types can be of Page/Card, Date, Number, URL/Email, String, etc…. The articles are connected with typed Links (e.g. properties) such as “capital_of”, “contains”, “born_in”… Some semantic wikis has Querying Interface Support too.

            Annotations are used in semantic wiki to make information more explicit, which is actually the most important of semantic wikis. These annotations have specific markup syntax. This markup syntax is used to edit or add articles into the wiki. These syntaxes might differ in different semantic wikis and in my this article I’m focusing on semantic media wiki. Categories, typed links and attributes are some of these annotations. “Category” is a one type which already exist in normal Wikipedia too.

Typed links are used instead of regular hyperlinks. In here an hyperlinks has a type. Links are arguably the most basic and also most relevant markup within a wiki. Their syntactic representation is ubiquitous in the source of any Wikipedia article. MediaWiki allows users to create new typed links freely as they prefer. Existing link types should be used wherever applicable, but a new type can also be created simply by using it in a link. A typed link can be a property of the current article and the syntax of inserting a property is,
[[Property::Value | Display]]

For example [[is capital of::England]]. Here the Property is “is capital” and it is linked to the article with the name “England” and that is the Value. And Display part is additional and there we can mention if something other than the value should be displayed on the article.   
 
Data values play a crucial role within an encyclopaedia, and machine access to this data yields numerous additional applications. These are called attributes and has the common syntax 
[[ attribute_name := value]]   
in the semantic media wiki. Eg: [[ population := 7,421,328 ]]

There can be an unit for an attribute value. Eg: [[area:=609 square miles]]. When many types of units are there for a same value, the system provides automatic conversion of a value to various other units. To allow users to declare the data type of an attribute, we introduce a new Wikipedia namespace “Attribute:” that contains articles on attributes. Within these articles, one can provide human-readable descriptions as in the case of relations and categories, but one can also add semantic information that specifies the data type. Using a relation with built-in semantic we can simply write,               [[hasType::Type:integer]] 
to denote that an attribute has this type.

            So as these, there is much more semantic wiki syntax types and it is important to learn all these, if we want to add a new article to a semantic wiki or edit currently available article.

Advanced Querying and Searching are some most important features in semantic wiki. There is a feature to search a property by its value in “Page property search”. There if we insert the property as “Located in” and value as “England” all the cities/regions located in England are listed via this advanced searching option. For advanced querying too there is a nice interface. For example if we give [[Category:City]][[located in::Germany]] into the Query field and  ?Population into the Additional data to display field a list of all the cities in Germany will be displayed with their population values. Following is the interface  available for querying.

The results of the query are displayed as follows.
 

Following is the basic architecture of semantic media wiki.

There are more applications of Semantic wiki such as,
      Desktop applications
o   AmaroK Media Player
o   Movie reviewer
o   Portals that aggregate data from various data sources (newsfeeds, blogs, online services)
      Over enhanced folksonomies
      Creating domain ontologies,
      Creation of multilingual dictionaries
      New re-search opportunities

As this way it is obvious that semantic wiki concept is going to be a very interesting and valuable concept to the whole world even though currently it is not much developed or popular. 


Tuesday, June 23, 2015

Semantic Wiki - Semantics into Wiki


This is my first blog post and I am geared up to give you folks an abstract idea and a motivation on The Semantic Wiki which is a much needed concept to the world of information and knowledge, but still in the baby age.


This  concept is rather  an  amateur concept with a history of not more than 15 years, first proposed in the early 2000s and implemented seriously around 2005. It is something like the concept of semantic web (Semantic web is simply a broader concept and knowledge area related to storing meaning of data with Ontologies) injected into the formal wikis where the textual information in the wikis carry meaning and more meaningful linkages between pages are constructed while the information in the wiki can be queried as in a database through semantic queries. 

What is wiki?

Before jumping into the ocean directly let us clarify what is a wiki simply. Wikipedia itself, which is a wiki,  defines “Wiki” as “an application, typically a  web application, which allows  collaborative  modification, extension, or deletion  of its content and structure”.  The word “collaborative” is the most important fact here. A wiki article has no single defined owner or editor.

It is nourished by the knowledge of millions of people all over the world.  The word “wiki” is 
actually a Hawaiian word meaning “quick”. The following wiki principles  clearly defines a wiki 
as it is.

1.  Wikis allow anyone to edit
2.  Easy to use and do not require additional software
3.  Content is easy to link
4.  Support versioning of all changes
5.  Support all media

MediaWiki is  the world’s top wiki engine amongst others such as MoinMoin, PhpWiki, Xwiki, OddMuseWiki, etc.. and these wiki engines do the same implied task of acting as an ENGINE for a wiki, in the sense that wikis are built on these wiki engines.

What is Wikipedia?

Wikipedia is the world’s most popular wiki and it is based on the wiki engine MediaWiki. Term “pedia” carries the meaning of “encyclopedia” and  wiki+edia sums up as a ‘quick encyclopedia’. MediaWiki was developed by the Wikipedia community. Wikipedia is availableon the web under a free licence. This Wikipedia was created by Jimbo Wales and Larry Sanger in January 2001. Wikipedia is having articles in 287 languages/editions and English is the largest. It has over 4.7 million articles in English in the Wikipedia.

Further Requirements Emerge

Wiki is undoubtedly a valuable source of universal data, information and knowledge though some limitations came to be obvious comparing to other modern world data stores, databases, big data, etc… The biggest issue is related to how to query the information as you like. How to extract certain constrained information filtered with certain parameters via Wikipedia?

For example we know Wikipedia has articles about all cities, their populations, their mayors, th skycrappers, etc… So can you ask from Wikipedia for a list of world’s 5 largest cities with a female mayor? ..or Skycrapppers in Shanghai with 50+ floors and built after 2000 ? Certainly no. Such queries are not supported by Wikipedia other than a simple text search. So in order to answer this issue, the Semantic web developers implemented their concept in the wikis.

What is Semantic Wiki?

Semantic wikis said to have combined the strengths of both Semantic wiki and wiki. Semantic web is machine processable, consist of integrated data and it supports complex queries. Wiki in a nut shell, is easy to use, contribute and collaborate, strongly interconnected. So the cream of both 2 are in this Semantic wiki. Examples for some semantic wikis are Acetic, ArtificialMemory, Wagn,  Knoodl, KiWi,  OntoWiki, Semantic MediaWiki. The Semantic MediaWiki is  the best-known semantic wiki software, and the only one with significant usage on public websites. It is an extension to MediaWiki that turns it into a semantic wiki.

If clarify further, guess in a normal wiki there is an article about London. (refer the following figure) It has hyperlinks to several other pages on articles such as England, United Kindom, New York City. But if we apply semantics into it, these links would have meaning. i.e. London and England is connected as London “is capital of” England. “is capital of” is the relation(link type) which link “London” page with “England” page. It is actually a property of London. So even very simple search algorithms would then suffice to provide a precise answer to the question “What is the capital of England?”



Two Perspectives

There are two significant perspectives on semantic wiki. They are Wikis for meta data and meta data for wiki.
  •  Wikis for Meta Data
              If a semantic wiki was successfully and completely created, those wikis can be used to create     metadata and ontology for the use of semantic web.
  •   Metadata for wiki

             Even though there is Huge amounts of digital content (e.g. Wikipedia) with strong                      connection   of content via hyperlinks, creating metadata from them is extremely time                consuming and so difficult.

    Strength of Semantic Wikis



According to the above diagram we can see that the semantic wikis have all the strengths of Semantic Web, Metaweb, Web and Social Software. And we can see that it has a highest degree of both social connectivity and information connectivity. So doesn't this itself give the hint for us to learn, use, develop, support this edgy technology.

...and mmm... that's it for now guys.. My next post would make you dive a bit deeper into the basic concepts of semantic wikis. Be hopeful.. ;-)

Hope you learned something. Comments and suggestions are highly appreciated and please share this with your friends, if you found this useful. Cheers...!

Read my next post More on Semantic Wiki...