PHPackages                             mediawiki/semantic-external-query-lookup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mediawiki/semantic-external-query-lookup

ActiveMediawiki-extension[API Development](/categories/api)

mediawiki/semantic-external-query-lookup
========================================

A Semantic Mediawiki extension to seamlessly integrate query results from an external query source.

2.0.0(2mo ago)95688[7 issues](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/issues)[2 PRs](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/pulls)GPL-2.0-or-laterPHPPHP &gt;=8.1.0CI passing

Since Apr 19Pushed 3w ago9 watchersCompare

[ Source](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup)[ Packagist](https://packagist.org/packages/mediawiki/semantic-external-query-lookup)[ Docs](https://www.semantic-mediawiki.org/wiki/Extension:SemanticExternalQueryLookup)[ Fund](https://www.semantic-mediawiki.org/wiki/Sponsorship)[ Fund](https://opencollective.com/smw)[ RSS](/packages/mediawiki-semantic-external-query-lookup/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)Dependencies (5)Versions (8)Used By (0)

Semantic External Query Lookup
==============================

[](#semantic-external-query-lookup)

[![CI](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/actions/workflows/ci.yaml/badge.svg)](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/actions/workflows/ci.yaml)[![Code Coverage](https://camo.githubusercontent.com/a1d4070b844f4cae3cd0dc06febd656eddce09b9008cd52ca4472b4950ccc8ca/68747470733a2f2f636f6465636f762e696f2f67682f53656d616e7469634d6564696157696b692f53656d616e74696345787465726e616c51756572794c6f6f6b75702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/SemanticMediaWiki/SemanticExternalQueryLookup)[![Latest Stable Version](https://camo.githubusercontent.com/8a41132335de58f23d4847f6b4cf0175b3325b3823736000f92f1cd0309f8eda/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d65787465726e616c2d71756572792d6c6f6f6b75702f762f737461626c65)](https://packagist.org/packages/mediawiki/semantic-external-query-lookup)[![Download count](https://camo.githubusercontent.com/de1650a3f7ee3bceabf40093d9ab656dc9c0e3dc398b8e95fd44cabf508e8e4a/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f73656d616e7469632d65787465726e616c2d71756572792d6c6f6f6b75702f646f776e6c6f616473)](https://packagist.org/packages/mediawiki/semantic-external-query-lookup)

Semantic External Query Lookup (a.k.a. SEQL) is a [Semantic MediaWiki](https://github.com/SemanticMediaWiki/SemanticMediaWiki) extension to seamlessly integrate query results from an external query source to a local repository or wiki.

The following [video](https://youtu.be/sOCh9M2sSvU) demonstrates the features of this extension.

Requirements
------------

[](#requirements)

- PHP 8.1 or later
- MediaWiki 1.43 or later
- [Semantic MediaWiki](https://github.com/SemanticMediaWiki/SemanticMediaWiki) 7.0 or later

Installation
------------

[](#installation)

The recommended way to install Semantic External Query Lookup is by using [Composer](https://getcomposer.org/) with:

```
{
	"require": {
		"mediawiki/semantic-external-query-lookup": "~2"
	}
}
```

1. From your MediaWiki installation directory, execute `composer require mediawiki/semantic-external-query-lookup:~2`
2. Add `wfLoadExtension( 'SemanticExternalQueryLookup' );` to the bottom of `LocalSettings.php`
3. Navigate to *Special:Version* on your wiki and verify that the package has been successfully installed.

Usage
-----

[](#usage)

[![image](https://cloud.githubusercontent.com/assets/1245473/16213390/37da5728-374f-11e6-900c-267279e4a2b7.png)](https://cloud.githubusercontent.com/assets/1245473/16213390/37da5728-374f-11e6-900c-267279e4a2b7.png)

```
{{#ask:[[Modification date::+]][[~CR*]]
 |?#-
 |?Modification date
 |format=broadtable
 |source=mw-core
 |link=all
 |headers=show
}}

```

The `#ask`/`#show` query only requires to add a `source` parameter (assuming that a query source has been registered and enabled) to retrieve query results from a selected external endpoint. `Special:Ask` will provide a selection box to list enabled query sources.

Information about required settings can be found [here](docs/00-configurations.md).

Contribution and support
------------------------

[](#contribution-and-support)

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guideline.

- [File an issue](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/issues)
- [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/pulls)
- Ask a question on [the mailing list](https://www.semantic-mediawiki.org/wiki/Mailing_list)
- Ask a question on the #semantic-mediawiki IRC channel on Libera.

Tests
-----

[](#tests)

This extension provides unit and integration tests that are run by a [continuous integration platform](https://github.com/SemanticMediaWiki/SemanticExternalQueryLookup/actions/workflows/ci.yaml)but can also be executed using `composer phpunit` from the extension base directory.

License
-------

[](#license)

[GNU General Public License, version 2 or later](https://www.gnu.org/copyleft/gpl.html).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance76

Regular maintenance activity

Popularity23

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

67d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22235?v=4)[Stefan Wasilewski](/maintainers/SMW)[@smw](https://github.com/smw)

![](https://www.gravatar.com/avatar/372f9bc1233d5518b9522cb681210a8de2765a3a9bbde20138f6ad5332a411ca?d=identicon)[mwjames](/maintainers/mwjames)

---

Top Contributors

[![translatewiki](https://avatars.githubusercontent.com/u/24829418?v=4)](https://github.com/translatewiki "translatewiki (59 commits)")[![mwjames](https://avatars.githubusercontent.com/u/1245473?v=4)](https://github.com/mwjames "mwjames (56 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (12 commits)")[![alistair3149](https://avatars.githubusercontent.com/u/9260542?v=4)](https://github.com/alistair3149 "alistair3149 (8 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (8 commits)")[![paladox](https://avatars.githubusercontent.com/u/5727000?v=4)](https://github.com/paladox "paladox (4 commits)")[![vedmaka](https://avatars.githubusercontent.com/u/592009?v=4)](https://github.com/vedmaka "vedmaka (4 commits)")[![Nikerabbit](https://avatars.githubusercontent.com/u/1109395?v=4)](https://github.com/Nikerabbit "Nikerabbit (2 commits)")[![jaideraf](https://avatars.githubusercontent.com/u/3636594?v=4)](https://github.com/jaideraf "jaideraf (1 commits)")[![siebrand](https://avatars.githubusercontent.com/u/210297?v=4)](https://github.com/siebrand "siebrand (1 commits)")[![fredster33](https://avatars.githubusercontent.com/u/64927044?v=4)](https://github.com/fredster33 "fredster33 (1 commits)")

---

Tags

mediawikimwquerysemanticsemantic-mediawikiseqlsmwmediawikiwikiSMWSemantic MediaWiki

### Embed Badge

![Health badge](/badges/mediawiki-semantic-external-query-lookup/health.svg)

```
[![Health](https://phpackages.com/badges/mediawiki-semantic-external-query-lookup/health.svg)](https://phpackages.com/packages/mediawiki-semantic-external-query-lookup)
```

###  Alternatives

[mediawiki/semantic-media-wiki

An extension to MediaWiki that lets you store and query structured data within wiki pages

620387.3k34](/packages/mediawiki-semantic-media-wiki)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

3081.9k1](/packages/mediawiki-semantic-extra-special-properties)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3407.6k](/packages/starcitizentools-citizen-skin)[mediawiki/semantic-result-formats

Provides additional result formats for queries using Semantic MediaWiki

52191.5k1](/packages/mediawiki-semantic-result-formats)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
