Extension:LinkedWiki/Configuration

LinkedWiki uses the file extension.json to describe SPARQL endpoints usable by the users of your Wiki.

Quick start
In the special pages of your Wiki, you will find a new special page  where you can see the details of your current configuration. When you change your configuration, you can check in this page if your new configuration is correct.

The endpoints and the parameters of the extension are in the file. Before to change it, save a copy of the precedent configuration.

After installation, Wikidata is the endpoint by default that means, if you use a tool without precise an endpoint or a configuration, Wikidata will be use to resolve the query.

Each endpoint has an ID and its parameters are in the list of. You can replace the ID of Wikidata of parameter  with another endpoint's ID.

The configuration  is the configuration by default of unknown endpoint and for uncompleted configurations. For example : If users uses the parameter endpoint of parser functions (#SPARQL), it's the  's configuration will use.

Other example, if you add an new endpoint in the list :

The system will complete the configuration with the configuration by default so at the end the configuration of this new endpoint will be :

Easily, you can use the other parameters in your configuration. The credentials doesn't show in the special page.

See examples of configuration : endpoints in the Linked Open Data

Wikidata and other use their own ontology. The Lua functions can simplify the users's works without learn all the ontology of the world but you need to define a new storageMethodClass for each type of ontology used by your endpoints. You can start to see the example :

If you have a question, you can use the talk page.

Basic example with a private database and a simple ontology
In the configuration :

Insert the class DatabaseExampleMethod in the folder LinkedWiki/storageMethod

Add also this class in the extension.json

Wikidata
Wikidata doesn't support the POST method.