BachelorDragon.png

The bachelor programme Celtic Languages and Culture at Utrecht University is under threat.

Reconciliation API modules: recon-suggest-propvalue

From CODECS: Online Database and e-Resources for Celtic Studies
Service for suggesting property values on the basis of the provided property name and substring.

Parameters

API documentation

Parameter name
Description
source
Currently supports smw (Semantic MediaWiki) only.
profile
⧼apihelp-recon-suggest-propvalue-param-profile⧽
substr
The substring to autocomplete on.
substrpattern
Match pattern.
property
The property to retrieve values from.
offset
Result offset.
limit
Result limit.

Development

  • Does not currently support profiles.

Examples from CODECS

Not intended for typeahead search but we can use it here to demonstrate the API:

{{#recon-sitesearch: |apiurl=https://codecs.vanhamel.nl/api.php |apiurlparams=action=recon-suggest-propvalue origin=* source=smw property=Has keyword substr= |targeturl=https://codecs.vanhamel.nl/Show:Search?phrase= |dev=true }}

Notes

  • At least For properties of data type 'Text', id and name are identical. For properties of data type 'Page', there may be an option in the future to work with labels such as display titles.