Jump to content

Extension:Semantic Web Browser

From mediawiki.org
MediaWiki extensions manual
Semantic Web Browser
Release status: unmaintained
Implementation User interface, Special page
Description Allows to use Semantic MediaWiki as a Semantic Web Browser
Author(s)
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
  • $swbgToolboxBrowseSemWeb
Translate the Semantic Web Browser extension if it is available at translatewiki.net

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

Installation

[edit]
  • Download and move the extracted SemanticWebBrowser folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SemanticWebBrowser
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/SemanticWebBrowser/SemanticWebBrowser.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

[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“.

Used Libraries