Last modified: 2011-01-25 01:18:33 UTC
Created attachment 7179 [details] Updated files for RDF export of Last Modified Date property In SMW 1.4.3, the Last Modified Date property is missing from RDF export (and as a result, does not appear in the triple store when a parallel store is setup). I had to make small changes to these two files : - SemanticMediaWiki/includes/export/SMW_Exporter.php - SemanticMediaWiki/specials/Export/SMW_SpecialOWLExport.php using a Dublin Core date property (maybe this should use a MW namespace instead of Dublin Core). I am attaching the updated files for now. I will update them with a diff file when I get a chance.
I have now extended the OWL/RDF export to include both the modification date and the (numerical) namespace of the wiki page of each exported subject. Both properties are required for being able to execute #ask queries via SPARQL when using a triple store. The properties are defined specifically for SMW and not reusing DC or any other vocabulary now. They are called swivt:wikiNamespace and swivt:wikiPageModificationDate. See http://semantic-mediawiki.org/swivt/ for an overview of all properties used by SMW. The change has been made in SVN and will be part of the next release SMW 1.5.1 (ETA Monday May 31).