Talk:Semantic MediaWiki

From Organic Design wiki

Multiple instances of the same property in an article

The problem centers around adding semantic properties to tables contained within articles. If a semantic property defines a tables column property type e.g. [[Name:: ... ]] for large tables with many semantic properties in the same article it is possible to get a SMW error when putting the table wikitext into an article

Fatal error: Maximum execution time of 30 seconds exceeded in /Library/WebServer/Documents/mediawiki-1.12.0/includes/StringUtils.php on line 296

Dimensions of a table that works is 231 rows by 11 columns of which 7 are semantic properties. One approximately double the size does not parse. --Sven 12:10, 27 May 2008 (NZST)

There seem to be N^2 problems with some kinds of queries in SMW and DPL. These may be due to missing views or indexes in the DB, or perhaps all you can do is increase the allowed execution time in your php.ini. --nad 12:35, 27 May 2008 (NZST)
Definately, I want to also test out creating a table where each row is a template where semantic properties can be maintained there. Its all about the time taken to insert the information into the database via the web browser --Sven 13:07, 27 May 2008 (NZST)

Multiple properties in an article

I think your comment regarding multiple properties in an article needs to be changed. It's not just a matter of scalability and there's no one-to-many relationship. Its that it simply makes no sense. Think of SMW annotations as turning an article into a hash table or object, when you specify a property more than once you're basically assigning different values to the same hash-key overwriting any previous value. --nad 13:22, 28 May 2008 (NZST)