Last modified: 2011-01-25 01:18:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24723, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22723 - Patch to enable RDF export of Last Modified Date property
Patch to enable RDF export of Last Modified Date property
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-04 14:57 UTC by Laurent Alquier
Modified: 2011-01-25 01:18 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Updated files for RDF export of Last Modified Date property (13.30 KB, application/x-zip-compressed)
2010-03-04 14:57 UTC, Laurent Alquier
Details

Description Laurent Alquier 2010-03-04 14:57:57 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.
Comment 1 Markus Krötzsch 2010-05-27 16:49:57 UTC
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).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links