Help:Configuration parameter "$smwgQuerySources"

Jump to: navigation, search
Title $smwgQuerySources
Description Use another query back-end for Semantic MediaWiki. It is not yet properly integrated with most of SMW's architecture because some some query printers just fetch their own store. Thus this feature is experimental.
Default setting
Software Semantic MediaWiki
Introduced with version 1.8.0
Removed with version still available
Configuration Query settings
Keyword Query routing · Query settings
Referenced by SMWQueryProcessor

$smwgQuerySources is a configuration parameter that set another query back-end for Semantic MediaWiki. The setting was introduced in Semantic MediaWiki 1.8.0 is however still experimental.

Changing the setting

It can be set to an array of available sources for answering queries which can be redefined in the settings to register new sources (usually an extension will do so on installation). Unknown source will be rerouted to the local wiki. Query routing allows extensions to provide alternative stores as data sources but this feature is experimental.

$smwgQuerySources['freebase'] = "SMWFreebaseStore";

Note that the basic installation comes with no additional source besides the local source, which in turn cannot be disabled or set explicitly.