Extension:SemanticWebBrowser
|
Release status: beta |
|||
|---|---|---|---|
| Implementation | User interface, Special page | ||
| Description | Capabilities to use Semantic MediaWiki as a Semantic Web Browser | ||
| Author(s) | Benedikt Kämpgen, Denny Vrandecic, Anna Kantorovitch | ||
| Last version | 0.3 (2013-02-04) | ||
| MediaWiki | 1.18+ | ||
| PHP | 5.3+ | ||
| Database changes | no | ||
| License | GNU GPL v3+ | ||
| Download |
README |
||
|
|||
| Check usage and version matrix | |||
The SemanticWebBrowser extension adds capabilities to use Semantic MediaWiki as a Semantic Web Browser (SWB). SWB is similar to Shortipedia, but intended for "every-day-use":
- Idea to combine both content of a wiki and the Semantic Web
- SWB focus on browsing the Semantic Web
- SWB does not care too much about provenance tracking, as it relies solely on "official" information provided by a URI.
Contents |
Download [edit]
You can download the extension directly from the MediaWiki source code repository (browse code). You can get:
- One of the extensions tags
Not all extensions have tags. Some extensions have tags for each release, in which case those tags have the same stability as the release. To download a tag
- Go to the tags list
- Click the name of the tag you want to download
- Click "snapshot"
- The latest version of one of the extensions branches
Each extension has a master branch containing the latest code (might be unstable). Extensions can have further branches as well.
- Go to the branches list
- Click the branch name
- Click "snapshot"
- A snapshot made during the release of a MediaWiki version.
This might be unstable and is not guaranteed to work with the associated MediaWiki version.
After you've got the code, save it into the extensions/SemanticWebBrowser directory of your wiki.
If you are familiar with git and have shell access to your server, you can obtain the extension, with all its tags and branches, as follows:
cd extensions
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticWebBrowser.git
Versioning [edit]
- Note: As of 2013-02-04, SWB has been migrated from SVN to Git; development is continued using Git, thus, the code in SVN might be outdated.
- Git URLs
- Git anonymous: https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticWebBrowser.git
- Git registered: ssh://USERNAME@gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticWebBrowser.git
- All changes to SWB: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticWebBrowser.git;a=summary
Installation [edit]
- Download and extract the files in a directory called "
SemanticWebBrowser" in your extensions/ folder. - Add the following code to your LocalSettings.php (at the bottom)
require_once( "$IP/extensions/SemanticWebBrowser/SemanticWebBrowser.php" );
Done – Navigate to [[Special:Version]] on your wiki to verify that the extension is successfully installed.
Once you have downloaded the code, place the SemanticWebBrowser directory within your MediaWiki 'extensions' directory. Then add the following code to your LocalSettings.php file:
#Semantic WebBrowser include_once("$IP/extensions/SemanticWebBrowser/SemanticWebBrowser.php");
Requirements [edit]
Semantic Web Browser has been run successfully with:
- MediaWiki 1.18 or above
- Semantic MediaWiki 1.7 or above
- PHP 5.3 or above
Used Libraries [edit]
- EasyRDF - http://www.aelius.com/njh/easyrdf/
Configuration parameters [edit]
- none, so far
User rights [edit]
- none, so far
See also [edit]
Versions [edit]
Version 0.3 [edit]
- Visualizing and hiding of incoming links.
Version 0.2 [edit]
2011-10-05
- Basic functionality of browsing implemented: Special Page BrowseWiki.
- Committed to SVN
Version 0.1 [edit]
- Skeleton implemented
Examples [edit]
- Josef Spieler - http://www.b-kaempgen.de/index.php/Special:BrowseWiki/Josef_Spieler
- Benedikt Kämpgen - http://www.b-kaempgen.de/index.php/Special:BrowseWiki/Benedikt_K%C3%A4mpgen
- Browsing FOAF file of Andreas Harth - http://www.b-kaempgen.de/index.php/Special:BrowseWiki?title=Special%3ABrowseWiki&article=http%3A%2F%2Fharth.org%2Fandreas%2Ffoaf%23ah
- A must-have example :-): Browsing FOAF file of Tim Berners-Lee: http://www.b-kaempgen.de/index.php/Special:BrowseWiki?title=Special%3ABrowseWiki&article=http%3A%2F%2Fwww.w3.org%2FPeople%2FBerners-Lee%2Fcard%23i
Bugs and feature requests [edit]
You can use the Semantic MediaWiki mailing list, semediawiki-user, for questions, suggestions or bug reports about Semantic Web Browser. If possible, please add "[SWB]" at the beginning of the subject line, to clarify the subject matter. Also, it may help if you add Benedikt Kämpgen, at benedikt.kaempgen -at- kit.edu to CC.
Current Bugs and Todos [edit]
- Special Page is named BrowseWiki. Better would be BrowseSW, or similar.
- If URI is located on the same server as the wiki, an error is shown. For example: [1]. Maybe a bug of EasyRDF?
- BBC URIs cannot be resolved, although it is possible to do curl on it using "Accept: application/rdf+xml", e.g., see [2].
- Gender URI cannot be resolved, e.g., Male [3].
- Maybe related to wanted RDFa (or other embedded RDF) support, e.g., http://www.shopforia.com/cgi-bin/apf4/apf4.cgi?Operation=ItemLookup&ItemId=B002GYWHSQ
- Gender URI features Micro Data?
<link rel="meta" type="application/rdf+xml" title="Get RDF" href="http://metadataregistry.org/concept/show/id/1134.rdf" /> <link rel="meta" type="application/rdf+xml" title="Get RDF" href="http://rdvocab.info/termList/gender/1002.rdf" />
- Either SMW or MW seems to add additional "//" to URIs. Therefore, no links can be used, currently.
Planned Features [edit]
- SWB should be more robust (e.g., if URI is not resolvable or takes too much time)
- Allow to easily gather information from the Semantic Web into the wiki. Only clicks, no writing.
- Also display Semantic Web data on a wiki page, e.g., in an "external" factbox.
- Blank nodes, language tags, datatypes should be considered
- Embedded RDF support. Instead of HTML file + RDF file, e.g., only RDFa file
- e.g., Best Buy [4]
- Go recursively through all same-as links
- Highlight more important properties and values
- Caching
- How to automatically identify equivalent URIs?
Acknowledgements [edit]
Part of the work on Semantic Web Browser has been carried out in the framework of the German Research Foundation (DFG) project entitled: "Entwicklung einer Virtuellen Forschungsumgebung für die Historische Bildungsforschung mit Semantischer Wiki-Technologie - Semantic MediaWiki for Collaborative Corpora Analysis" (SMW-CorA) (INST 367/5-1, INST 5580/1-1), in the domain of “Scientific Library Services and Information Systems“ (LIS).