Powered by Zoomin Software. For more details please contactZoomin

Semaphore Semantic Enhancement Server (SES) API Reference

language

  • Last Updated: May 13, 2026
  • 1 minute read
    • Semaphore
    • Documentation

If the request is being submitted via the CGI format, then the parameter “language” may be used to specify the language of the request and response.

The parameter “lang” will work in the same way, but should be considered deprecated.

If the request is being submitted in the rest format, then the language will be read as the first path element immediately after the index name.

If no language is specified then “en” will be assumed unless a “defaultLanguage” parameter is set in the file <<Publisher SES>>/solr/server/ses-webapp/webapp/WEB-INF/web.xml. If this value is altered then SES will need to be restarted for the change to take effect.

Note, the data for the model will be returned in the selected language. If a particular concept has no pref label in that language or in language neutral then no pref label will be returned for that concept. This applies to all labels and metadata for any concept or concept scheme.

The resolution of the language code is case insensitive.

Examples

Request XML output JSON output
REST request: http://localhost:8983/ses/SpaceMissions/fr/terms/c526a6f1-b55a-4fa0-90b1-31ded4c6180c http://localhost:8983/ses/SpaceMissions/fr/terms/c526a6f1-b55a-4fa0-90b1-31ded4c6180c.json
CGI request: http://localhost:8983/ses/?TBDB=SpaceMissions&service=term&id=c526a6f1-b55a-4fa0-90b1-31ded4c6180c&language=fr http://localhost:8983/ses/?TBDB=SpaceMissions&service=term&id=c526a6f1-b55a-4fa0-90b1-31ded4c6180c&template=service.json&language=fr

Differences to older versions

The language value should be the language code used within OE, not the full name.

TitleResults for “How to create a CRG?”Also Available inAlert