MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=compoundquery
(main | compoundquery)
- This module requires read rights.
- Source: Semantic Compound Queries
- License: GPL-2.0-or-later
API module to query SMW by providing a multiple queries in the ask language.
Parameter:
- query
The multiple queries string in ask-language
- This parameter is required.
Examples:
- api.php?action=compoundquery&query=%5B%5BHas+city%3A%3AVienna%5D%5D%3B+%3FHas+coordinates%7C%5B%5BHas+city%3A%3AGraz%5D%5D%3B+%3FHas+coordinates [open in sandbox]
- api.php?action=compoundquery&query=%7C%5B%5BHas+city%3A%3AVienna%5D%5D%3B+%3FHas+coordinates%7C%5B%5BHas+city%3A%3AGraz%5D%5D%3B+%3FHas+coordinates [open in sandbox]