Extension:Semantic Web Browser

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
Semantic Web Browser
Release status: unmaintained
Implementation User interface, Special page
Description Allows to use Semantic MediaWiki as a Semantic Web Browser
Author(s) Benedikt Kämpgen, Denny Vrandecic, Anna Kantorovitch, Andreas Adler
Latest version 0.5.0 (2017-08-01)
MediaWiki 1.23+
PHP 5.3+
Database changes No
License GNU General Public License 3.0 or later
Download
README
RELEASE-NOTES
Example See the examples section
Parameters
  • $swbgToolboxBrowseSemWeb
Hooks used
SkinTemplateToolboxEnd
smwInitProperties
Translate the Semantic Web Browser extension if it is available at translatewiki.net
Check usage and version matrix.

The Semantic Web Browser 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 is to compare the content of a wiki and of the Semantic Web
  • SWB focus on browsing the Semantic Web
  • SWB only shows "official" information provided by equivalent URIs of a wiki page

Download[edit]

The extension can be retrieved directly from Git [?]:

  • Browse code
  • Some extensions have tags for stable releases.
  • Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).

Extract the snapshot and place it in the extensions/SemanticWebBrowser/ directory of your MediaWiki installation.

If you are familiar with git and have shell access to your server, you can also obtain the extension as follows:

cd extensions/
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticWebBrowser.git

Installation[edit]

  • Download and place the file(s) in a directory called SemanticWebBrowser in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/SemanticWebBrowser/SemanticWebBrowser.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Requirements[edit]

Semantic Web Browser has been run successfully with:

Used Libraries[edit]

Configuration parameters[edit]

$swbgToolboxBrowseSemWeb
The toolbox of each content page show a link to browse the semantic web of that page using Special:Browse Wiki & Semantic Web

Feature List with Examples[edit]

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.

Bugs[edit]

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. Bnodes, language tags, Literal types, are ignored, at the moment.
  • Embedded RDF support. Instead of HTML file + RDF file, e.g., only RDFa file
    • e.g., Best Buy [1]
  • Go recursively through all same-as links? This would not require to mention all equivalent uris on a page but to automatically consider those that are linked from equivalent links.
  • Highlight more important properties and values
  • Caching for faster reaction time. Caching we could possibly implement by connecting SWB to an external SPARQL store that can be stored using SPARQL update queries.
  • How to automatically identify equivalent URIs?
  • RDFa support
  • SWB should be more robust if too large files are loaded. For example SWB could only partly load some file or at least abort after some specific time with an understandable error.

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). Also, work was carried out with the support of the German Research Foundation (DFG) within project I01, SFB/TRR 125 “Cognition-Guided Surgery“.