Extension:SemanticRESTAPI

The Semantic REST API extension adds an endpoint to the MediaWiki REST API that gives access to semantic data from Semantic MediaWiki.

Usage
Once installed, simply browse to:

https://www.example.com/w/rest.php/v1/page/Title_of_the_page/semantic

to get a JSON with all the semantic data of a given page. For example, compare this and this.