Last modified: 2012-02-11 17:06:50 UTC
Hello, On the SMW's pages it says: MediaWiki category relations are exported using existing RDF/RDFS properties. In brief: * A category assignment in a regular article is exported as rdf:type which states "is an instance of a class". So use of MediaWiki categories is a good match for "is a" in the sense of "San Diego is an instance of the class Cities". * A category assignment in a Category article is exported as rdfs:subClassOf which states "all the instances of one class are instances of another". So use of MediaWiki categories within categories is a good match for "is a" in the sense of "all instances of Divided cities are Cities". This was true in SMW's version 1.4.3 but after the version 1.5.0 it doesn't work anymore. In fact, relations between categories (rdf:subClassOf) and between a category and a page (rdfs:type) are no more showed in the RDF export. This "error" seems to be in relation with the change from the entry "categories" to the property "subcategory of" in the "browse properties" page, and also with the fact that we could no more inference between categories. I've noticed that this problem happens not only on my wiki "http://wikitaaable.loria.fr/index.php/Main_Page" but also in most wikis using versions from 1.5.0 including the documentation wiki of SMW "http://semantic-mediawiki.org/wiki/Semantic_MediaWiki". Please, tell me if this is a bug of if it is just that "rdf:type" and "rdfs:subClassOf" aren't supported anymore. Thanks!
This would be undesired behaviour. In my current version (SMW 1.7.1 r111232), however, rdf:type and rdfs:subClassOf are used as expected. The same is true for the SMW homepage. So it should have been a temporary glitch that got fixed in the meantime. If the problem persists on your site, please reopen this bug and provide further details about the SMW-related configurations in your LocalSettings.
Yes, it looks like a temporary glitch in version 1.5.6 as the problem got solved when I installed SMW 1.6.0. Thank you!