Special property "Allows value list"

From semantic-mediawiki.org
Allows value list
Adds a reference to a list of permissible values for a property
Further Information
Provided by: extension "Semantic MediaWiki "Semantic MediaWiki (SMW) is a free, open-source extension to MediaWiki that lets you store and query data within the wiki's pages. Semantic MediaWiki is also a full-fledged framework, in conjunction with many spinoff extensions, that can turn a wiki into a powerful and flexible knowledge management system. All data created within SMW can easily be published via the Semantic Web, allowing other systems to use this data seamlessly.
Added: 2.5.0
Removed: still in use
Alias: has no alias
Optional: no
Visible: yes
Annotable: yes
Declarative: yes
Setting: not specified
Focus: property restriction
In this wiki: Property:Allows value list

The Allows value list property is a special property in Semantic MediaWiki with a built-in meaning: it assigns a reference which is used to define a page which allows to map a list of permissible values to the referencing property. The referenced page is located like a system message in the "MediaWiki" namespace and consists of the string "Smw_allows_list_" and the stored reference as a suffix to it, e.g. "MediaWiki:Smw_allows_list_..." with "..." being replaced by the reference added to this special property. It was introduced with Semantic MediaWiki


Two steps have to be taken to use this special property:

  1. Add [[Allows value list::...]] to a property page for defining a page reference, e.g. [[Allows value list::Foo]] will define page "MediaWiki:Smw_allows_list_Foo".
  2. Add permissible values as listed items starting either with "*" or "**" to the "MediaWiki:Smw_allows_list_..." page, e.g. "* Bar" or "** Foobar" to page "MediaWiki:Smw_allows_list_Foo".


See also[edit]


  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:2295