smwinfo module provides statistical information about the state of the SMW installation. It is primarily used by monitoring tools, the SMW registry, and administrative dashboards to understand the scale and health of semantic data on a wiki.
Endpoint
Parameters
One or more info types to retrieve, separated by
|.If omitted, returns propcount, usedpropcount, and declaredpropcount by default.Accepted values:| Value | Description |
|---|---|
proppagecount | Total number of properties that have their own wiki page. |
declaredpropcount | Total number of properties with a datatype assigned. |
usedpropcount | Total number of properties with at least one value assigned. |
propcount | Total number of property value assignments across the wiki. |
totalpropcount | Total number of properties in the SMW store. |
errorcount | Total number of property values that failed validation. |
deletecount | Total number of delete operations recorded. |
querycount | Total number of ask queries stored. |
querysize | Combined size of all stored queries. |
formatcount | Per-format breakdown of query result format usage. |
subobjectcount | Total number of subobjects across the wiki. |
conceptcount | Total number of concept pages defined. |
jobcount | Per-type count of pending SMW jobs in the job queue. |
The MediaWiki API output format. Use
json for machine-readable output, jsonfm for browser-readable pretty-printed JSON, or xml for XML output.Examples
Response structure
The response contains a singleinfo object whose keys correspond to the requested info types.
Contains the requested statistics. Only keys that were explicitly requested are included in the response.
Example responses
Numeric counters
Format count breakdown
The
formatcount value returns an object, not a number. All other info types return plain integers.