Talk:Semantic MediaWiki

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Who can help me if a group of students of my university would join the semantic MediaWiki or deploy sth. alone? --22:22, 10 November 2005 (UTC)


I noticed some mysqlisms hardwired into the code, mainly in the DDL statements. Is the DDL all that would need to change to make it run on postgres?


I think GML can be useful for Semantic MediaWiki.

GML observations can be used to mark something with a place and time. For example historical events.

location (point, line, area) of the observing The location can be a poing in longitude or latitude. It can be a line specified by two point. It can be a region boxed by a LineString, i.e. several lines or perhaps other curves also could be used. (by Salix alba ?)

You're referring to w:Geography Markup Language? Yes, it could be useful to annotate statements with the geographical region to which they apply and/or a time, but that doesn't fit with the simple "tuples about an article" model of Semantic MediaWiki (as I understand it), and the GML XML syntax is hard to fit into the simple semantic annotation Wiki syntax. Note that from w:Wikipedia:WikiProject Geographical coordinates, you can already specify simple coordinates in MediaWiki, e.g. see the Latitude/Longitude in the w:Berlin article. I'm not sure what additional annotation would be needed to identify a particular {{coor}} as the location property of an article, but I'm sure it's doable. --skierpage 04:45, 24 January 2006 (UTC)[reply]
Perhaps geographical annotations could also emit Semantic MediaWiki markup. Probably first someone needs to come up with a use for such information, then the proper markup can be created. Something such as "Authors whose birthplace is within 100 Km of Berlin" could be created, with some server cost, but someone probably has to find a more obviously useful example. At the moment people will just use whatever geographical tools exist, and at least they're defining such details which can later be used as info for newer tools. (SEWilco 04:30, 3 June 2006 (UTC))[reply]


do you know IkeWiki? (I couldn't find anything about it here on meta.) It's another approach for adding semantics to MediaWiki (but in a more general way, not for encyclopedias), which you might extract some ideas from. For my diploma thesis, I'm doing some research on semantic wikis. I was surprised to find so many semantic wikis on the net. Indeed, there are many projects, but they're somewhat hard to find… --Langec 11:42, 13 January 2006 (UTC)[reply]

Perhaps, you were not completely correct in your words: as per [1] IkeWiki is not a mw:MediaWiki extension, but is rather written in Java. Or am I wrong?--Imz 03:39, 11 August 2007 (UTC)[reply]

An online community of semantic wiki research can be found at , bottom of the page -- 12:15, 30 May 2006 (UTC)[reply]

Unions of categories[edit]

Not sure if this relates to the project, appologies if it does not.

There seems to be a lot of talk about refining the category tree, for example creating w:category:Parks in the United States and there are many other examples Lakes/people/football players/artists in Country/Region/State/County.

This all seems a lot of work sorting this all out my hand when it can all be done easily and more reliably in an automatic fashion.

It could be posible to define catgories as being the unions of two other categories. [[Union:Parks in the United States]] could be defined as the union of w:Category:Parks and w:Category:United States, any item which is in both categories would appear in the union.

It would be fairly easy to code these in mySQL as a join so its technically possible.

Thoughs? --Salix alba 20:08, 23 January 2006 (UTC)[reply]

Thoughts? See the abilities of DynamicPageList2. Generates lists of articles which have combinations of categories. (SEWilco 04:21, 3 June 2006 (UTC))[reply]

Install Error[edit]

When I try to install I get an error, "Fatal error: Call to undefined function: export() in /usr/export/www/vhosts/funnetwork/hosting/gpwiki/wiki/extensions/SemanticMediaWiki/includes/SMW_Storage.php on line 338". What am I doing wrong?

The problem was fixed in the release semediawiki-

Upgrade issues[edit]

I upgraded my Wiki from 1.6.7 to 1.7 stable, and everything appears to be working with SMW, except it does not show the namespaces that SMW uses. What's up with that? You can check it out in the English Version of Wikible here... English Wikible -- 17:56, 12 July 2006 (UTC)[reply]

got it fixed, seems it wasn't the upgrade, but an error on my part in LocalSettings.php ;-) -- 01:50, 14 July 2006 (UTC)[reply]

Semantic processing of the non-semantic Wikipedia[edit]

"The WikiProject "Semantic MediaWiki" provides a common platform for discussing extensions of the MediaWiki software that allow for simple, machine-based processing of Wiki content. This usually requires some form of "semantic annotation,""

Is there work to process the current contents of Wikipedia, e.g. by handling categories as an approximation of ontologies, or summaries for countries (capital, population...) as relational databases? Apokrif 14:35, 11 August 2006 (UTC)[reply] Apokrif 17:38, 19 February 2007 (UTC)[reply]

Ontoworld has repeatedly been down[edit]

Ontoworld has repeatedly been down. Does anybody know what the problem is?--Patrick 17:31, 24 August 2006 (UTC)[reply]

Upgradeproblems while upgrading to MediaWiki 1.9.1[edit]

Markus just (20070202) updated the SVN-Version and as far as I could test that it did solve all the problems I had upgrading to 1.9.1 so if you experience problems with smw 0.6 and upgrading to mw 1.9.1 try out the svn version.

though downloading from svn I experience serious problems using smw (latest trunk from svn as well as 0.6 from sf) + mediawiki 1.9.1. Have you got any coments on the following error messages:


Notice: Undefined property: SkinCologneBlue::$mTitle in ...\htdocs\extensions\SemanticMediaWiki\includes\SMW_RefreshTab.php on line 15

Fatal error: Call to a member function getLocalUrl() on a non-object in ...\htdocs\extensions\SemanticMediaWiki\includes\SMW_RefreshTab.php on line 15

As uncomenting smw on Localsettingsphp makes some pages using massive semantics lookiong weird I've inluded a small workaround that enables us to at least use semantic funtionality but without a lot of fancy stuff you built in during the last versions.

In SMW_RefreshTab.php I wrote

			'href' => ''
#			'href' => $obj->mTitle->getLocalUrl( 'action=purge' )

Instead of

  			'href' => $obj->mTitle->getLocalUrl( 'action=purge' )

Hope you have no troublesome argues form e that I caused worth with this Workaround.

Hopefully the Dev-Team will show up with a better solution than I could

Problems getting Semantic Wiki to work[edit]

A couple things. I have version 1.9* of media wiki and downloaded semantic wiki 0.6. It all installs ok , tables created etc. Also when I add some annotation, the fact table appears ok.

But the problems are as follows a)any query i do, produces no results just the table. b)I can't click on the + (spy glass) to find similar pages.

Another thing of note is that the install instructions on 0.6 are different to those that are provided on mediawiki or ontoworld. in particular the

$smwgIQDefaultLinking = 'all';


It would be nice to link to the Semantic MediaWiki documentation, from somewhere on this page. It took me a while to find it, and I had to use Google. -KR

Adding special tag in semantic mediawiki[edit]

I want to add special tag to the semantic mediawiki but i don't know how, can someone help me. thank you