Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Semanticmediawiki | 464 | 77 | 33 | a day ago | 65 | July 21, 2022 | 246 | other | PHP | |
🔗 Semantic MediaWiki turns MediaWiki into a knowledge management platform with query and export capabilities | ||||||||||
Wikidataintegrator | 228 | 7 | 2 | 2 months ago | 127 | December 13, 2021 | 7 | mit | Python | |
A Wikidata Python module integrating the MediaWiki API and the Wikidata SPARQL endpoint | ||||||||||
Wikibase Docker | 181 | 2 years ago | 1 | bsd-3-clause | Shell | |||||
LEGACY 🐳 Docker images and example compose file for Wikibase and surrounding services | ||||||||||
Wikibaseintegrator | 54 | 3 | 8 days ago | 24 | July 03, 2022 | 48 | mit | Python | ||
A Python module to manipulate data on a Wikibase instance (like Wikidata) through the MediaWiki Wikibase API and the Wikibase SPARQL endpoint. | ||||||||||
Wdq | 40 | 2 years ago | 19 | April 07, 2016 | 14 | gpl-2.0 | Perl | |||
Command line interface to Wikidata Query Service | ||||||||||
Mediawiki_rust | 31 | a month ago | 7 | apache-2.0 | Rust | |||||
Rust API interface for MediaWiki sites. | ||||||||||
Rdfio | 21 | 3 years ago | 13 | other | PHP | |||||
RDF triples import, export and PHP SPARQL endpoint for Semantic MediaWiki | ||||||||||
Wikidata Entity Lookup | 14 | 2 | 2 | 2 years ago | 12 | December 02, 2020 | 2 | gpl-3.0 | JavaScript | |
Find entities (people, places, organizations) in Wikidata. | ||||||||||
Mediawiki Extensions Linkedwiki | 5 | 12 days ago | JavaScript | |||||||
Github mirror of MediaWiki extension LinkedWiki - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing) | ||||||||||
Mw2sparql | 3 | 3 years ago | 2 | gpl-2.0 | Java | |||||
Allows to query MediaWiki SQL database using SPARQL |
Sep 4, 2017: Our paper on RDFIO was just published! If you use RDFIO in scientific work, please cite:
Lampa S, Willighagen E, Kohonen P, King A, Vrandečić D, Grafström R, Spjuth O
RDFIO: extending Semantic MediaWiki for interoperable biomedical data management
Journal of Biomedical Semantics. 8:35 (2017). DOI: 10.1186/s13326-017-0136-y.
This extension extends the RDF import and export functionality in Semantic MediaWiki by providing import of arbitrary RDF triples (not only OWL ontologies, as before (see about Ontology import, and a SPARQL endpoint that allows write operations.
Technically, RDFIO implements the PHP/MySQL based triple store (and its accompanying SPARQL Endpoint) provided by the ARC2 library. For updating wiki pages with new triples on import/sparql update, the WOM extension is used.
The RDF import stores the original URI of all imported RDF entities (in a special property), which can later be used by the SPARQL endpoint, instead of SMW's internal URIs, which thus allows to expose the imported RDF data "in its original formats", with its original URIs. This allows to use SMW as a collaborative RDF editor, in workflows together with other semantic tools, from which it is then possible to "export, collaboratively edit, and import again", to/from SMW.
This extensions was initially developed as part of a Google Summer of Code 2010 project, and further extended as part of a FOSS OPW 2014 project.
The absolute easiest way to try out RDFIO is to import the Ready-made Virtual Machine with RDFIO 3.0.2 (with MW 1.29 and SMW 2.5) into VirtualBox or VMWare, and just start browsing the local wiki installation.
Steps:
.ova
file from doi.org/10.6084/m9.figshare.5383966.v1
.ova
file you downloadedAnother quite easy way, is to use the RDFIO Vagrant box, which will automatically set up MediaWiki, SemanticMediaWiki and RDFIO in a virtual machine in under 20 minutes.
$smwgShowFactbox = SMW_FACTBOX_NONEMPTY;
Assuming you have followed the steps above to install the dependencies for RDFIO:
Install RDFIO by executing the following commands in a terminal:
cd <wiki_folder>
composer require rdfio/rdfio --update-no-dev
Log in to your wiki as a super user
Browse to http://[your-domain]/wiki/Special:RDFIOAdmin
Click the "Setup" button to set up ARC2 database tables.
If you already have semantic annotations in your wiki, you need to go to the article "Special:SMWAdmin" in your wiki, and click "Start updating data", and let it complete, in order for the data to be available in the SPARQL endpoint.
Edit the MediaWiki:Sidebar page and add the following wiki snippet, as an extra menu (I use to place it before just the "* SEARCH" line), which will give you links to the main functionality with RDFIO from the main links in the left sidebar on the wiki:
* Semantic Tools
** Special:RDFIOAdmin|RDFIO Admin
** Special:RDFImport|RDF Import
** Special:SPARQLEndpoint|SPARQL Endpoint
** Special:SPARQLImport|SPARQL Import
Create the article "MediaWiki:Smw_uri_blacklist" and make sure it is empty (you might need to add some nonsense content like {{{<!--empty-->}}}
).
http://[url-to-your-wiki]/Special:SPARQLEndpoint
http://[url-to-your-wiki]/Special:RDFImport
http://[url-to-your-wiki]/Special:SPARQLImport
arc2store_triple
.These are some configuration options that you might want to adjust to your specific use case. That goes into your LocalSettings.php
file. Find below a template with the default options, which you can start from, add to your LocalSettings.php
file and modify to your liking:
# ---------------------------------------------------------------
# RDFIO Configuration
# ---------------------------------------------------------------
# An associative array with base uris as keys and corresponding
# prefixes as the items. Example:
# array(
# "http://example.org/someOntology#" => "ont1",
# "http://example.org/anotherOntology#" => "ont2"
# );
# $rdfiogBaseURIs = array();
# ---------------------------------------------------------------
# Query by /Output Equivalent URIs SPARQL Endpoint
# (overrides settings in HTML Form)
#
# $rdfiogQueryByEquivURI = false;
# $rdfiogOutputEquivURIs = false;
#
# $rdfiogTitleProperties = array(
# 'http://semantic-mediawiki.org/swivt/1.0#page',
# 'http://www.w3.org/2000/01/rdf-schema#label',
# 'http://purl.org/dc/elements/1.1/title',
# 'http://www.w3.org/2004/02/skos/core#preferredLabel',
# 'http://xmlns.com/foaf/0.1/name',
# 'http://www.nmrshiftdb.org/onto#spectrumId'
# );
# ---------------------------------------------------------------
# Allow edit operations via SPARQL from remote services
#
# $rdfiogAllowRemoteEdit = false;
# ---------------------------------------------------------------
Please reports bugs and feature requests in the issue tracker here on Github.