API modules

From semantic-mediawiki.org

The semantic API modules (SMW API) are provided by Semantic MediaWiki and related extensions enabling external components or data services to access semantically annotated information stored in the Semantic MediaWiki database via several available interfaces using a standardized HTTP request.

The semantic API modules allow to select and retrieve, i.e. read annotated information stored on the wiki. If information has to be written to the wiki then the regular MediaWiki API-modules available for editing must be used. This is to ensure that the corresponding wiki page is updated the same way as when one would edit on-wiki. Moreover this also makes sure that no information accessible via a wiki page revision is lost.

API modules[edit]

Active modules

Help pageDescriptionProvided bySince
API module "ask"Allows to do ask queriesSemantic MediaWiki1.7.0
API module "askargs"Allows to do ask queries with as little ask query specific syntax as possibleSemantic MediaWiki1.7.0
API module "smwbrowse"Allows to search for properties, categories and conceptsSemantic MediaWiki3.0.0
API module "smwinfo"Allows to access statistical data and information about the usage of Semantic MediaWikiSemantic MediaWiki1.6.0
API module "smwtask"Allows to invoke and execute internal Semantic MediaWiki tasksSemantic MediaWiki3.0.0
API module "compoundquery"Allows to do compounded ask queriesSemantic Compound Queries1.0.0

Deprecated modules

Help pageDescriptionProvided bySince
API module "browsebyproperty"Allows to fetch information about a property or a list of propertiesSemantic MediaWiki2.4.0
API module "browsebysubject"Allows to browse a subject, i.e. a page or subobjectSemantic MediaWiki1.9.0

Configuration parameters[edit]

See also[edit]