$smwgSparqlUpdateEndpoint
From semantic-mediawiki.org
Configuration parameter details: | |
Name | $smwgSparqlUpdateEndpoint |
Description | Sets the endpoint for updating the SPARQL database |
Default setting | http://localhost:8080/update/ |
Software | Semantic MediaWiki |
Since version | |
Until version | still available |
Configuration | Store settings |
Keyword | sparqlstore · store · rdf · sparql |
$smwgSparqlUpdateEndpoint
is a configuration parameter that is used to set the endpoint (service URL) for updating (SPARQL update queries) the semantic update store (SPARQL database). The parameter was introduced in Semantic MediaWiki 1.6.0Released on 30 July 2011 and compatible with MW 1.15.x - 1.18.x..
Default setting[edit]
$smwgSparqlUpdateEndpoint = 'http://localhost:8080/update/';
This means that localhost is used as query location.
Changing the default setting[edit]
To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics()
call:
- Defining a different update endpoint
$smwgSparqlQueryEndpoint = 'https://localhost:8080/update/';
- Disable the update endpoint
$smwgSparqlUpdateEndpoint = '';
This setting may be omitted if SPARQL update is not supported. This however will lead to reduced functionality, e.g. writing to the SPARQL database will not work if "Update" is not available.
See also[edit]
- Help page on Using SPARQL and RDF stores
- Help page on configuration parameter
$smwgDefaultStore
Sets the storage backend to be used for the semantic data - Help page on configuration parameter
$smwgSparqlRepositoryConnector
Identifies a database connector that ought to be used together with the semantic data store. - Help page on configuration parameter
$smwgSparqlQueryEndpoint
Sets the endpoint for querying the SPARQL database - Help page on configuration parameter
$smwgSparqlDataEndpoint
Sets the endpoint for data on the SPARQL database - Help page on configuration parameter
$smwgSparqlDefaultGraph
Sets the identifier (graph) of the SPARQL database