Semantic MediaWiki and related extensions
Configuration

Query sources

For a #ask query to retrieve results from a remote location, an external query source is required to be registered with a unique key and assigned a lookup processor as in:

$GLOBALS['smwgQuerySources'] = array(
'mw-foo' => 'SMWExternalAskQueryLookup',
);

The key used to identify an endpoint is expected to correspond to an [interwiki prefix][iwp]. Details of that prefix can be either inserted directly into MediaWiki's interwiki table or if it is more convenient the setting `$GLOBALS['seqlgExternalRepositoryEndpoints']` can be used in form of:

``` $GLOBALS['seqlgExternalRepositoryEndpoints'] = array( 'mw-foo' => array( 'http://example.org:8080/mw-foo/index.php/$1', // corresponds to iw_url 'http://example.org:8080/mw-foo/api.php', // corresponds to iw_api true // corresponds to iw_local ) ); ````

Cache

To help limit the amount of request made to an endpoint, SEQL provides:

Features and limitations


About | General disclaimer | Privacy policy