Extension talk:Rdf/Archive 1

From mediawiki.org
Latest comment: 17 years ago by Skierpage
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).

Very interesting stuff, I hope to be able to try it out some time in the future.

One incidental problem it might solve for me is giving attribution for articles based on external sources. For the time being I've hacked together an extension which understands a new <copyright> tag and which writes out a customised copyright footer based on the contents of that tag.

I hope you have a say in the design of Mediawiki 2.0 Evan, I like your style! --Kingboyk 22:21, 19 January 2006 (UTC)Reply

Semantic MediaWiki export as RDF

Semantic MediaWiki implements export as RDF, try it at http://wiki.ontoworld.org/wiki/Special:ExportRDF/San+Diego The code is in CVS, as of 0.3 it doesn't use RAP. It currently only exports its relation links ([[Is located in::United States]]) and attributes ([[population:=1536000]]) , not the MediaWiki meta information in your scope. I think it'll export Category information in RDF soon.

You might want to reuse or comment on its approaches to encoding URI's, distinguishing "the concept" from "the MediaWiki page", etc. -- skierpage 23:00, 24 April 2006 (UTC)Reply

The link to http://wikitravel.org/~evan/mw-rdf-0.3.tar.gz seems to be dead. http://wikitravel.org/~evan redirects to http://evan.prodromou.name/, which hasn't got the gz-file http://evan.prodromou.name/mw-rdf-0.3.tar.gz.

Solution for an Issue on Windows NT Apache Server

define("RDFAPI_INCLUDE_DIR", "$IP/extensions/rdfapi-php/api//"); - notice the double slash added at the end of the define
require_once( "$IP/extensions/Rdf.php" );
After that workes like a charm on MediaWiki 1.6.12 and MediaWiki 1.14