Extension:Semantic Web Browser
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{Extension }} infobox. |
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 |
|
|
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 yourextensions/
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";
- 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- One can start browsing directly from the special page: http://www.b-kaempgen.de/index.php/Special:BrowseSW
- One can either enter any article from the wiki, e.g. http://b-kaempgen.de/index.php/Special:BrowseSW/Benedikt_K%C3%A4mpgen
- or any URI which shall be browsed, e.g. http://b-kaempgen.de/index.php/Special:BrowseSW?title=Special%3ABrowseSW&article=http%3A%2F%2Fvavlab.ee.boun.edu.tr%2Fcarera%2Fonlira.owl%23Liver
- Browsing a wiki article with SWB means:
- all the semantic relationships within the wiki are shown in the same manner as using the Special:Browse page
- if any equivalent URI is specified in the article, SWB loads and displays all the triples containing the URI as subject or object
- At every page there is a toolbox entry "Browse Wiki & Semantic Web", so browsing an article can be done directly using that entry, e.g. http://www.b-kaempgen.de/index.php/Benedikt_K%C3%A4mpgen
- All displayed subject or object URIs can be further browsed simply by clicking on the eye symbol next to the URI. - http://www.b-kaempgen.de/index.php/Special:BrowseSW/Benedikt_K%C3%A4mpgen
- Blacklisted URIs (rdfs, owl) are properly handled, so far a String is shown. - http://www.b-kaempgen.de/index.php/Special:BrowseSW/Benedikt_K%C3%A4mpgen
- Pages from any namespace can be linked via equivalent URI and are shown as pages in browser for incoming and outcoming links:
- A must-have example :-): Browsing FOAF file of Tim Berners-Lee: http://www.b-kaempgen.de/index.php/Special:BrowseSW?title=Special%3ABrowseSW&article=http%3A%2F%2Fwww.w3.org%2FPeople%2FBerners-Lee%2Fcard.rdf
Bugs and Feature Requests
editYou 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- Files on own server apparently cannot be browsed, e.g., see http://b-kaempgen.de/index.php/Special:BrowseSW?title=Special%3ABrowseSW&article=http%3A%2F%2Fwww.b-kaempgen.de%2Ffoaf.rdf%23me
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
- e.g., http://www.shopforia.com/cgi-bin/apf4/apf4.cgi?Operation=ItemLookup&ItemId=B002GYWHSQ
- Link to Gender Male funktioniert nicht mit SWB http://metadataregistry.org/concept/show/id/1134.html
- 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
editPart 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
- EasyRDF 0.7.2 - http://www.easyrdf.org/