Special property "Has type"
Assigns a datatype to a property
|Provided by:||extension "Semantic MediaWiki "Allows to store and query data annotated to pages|
|Removed:||still in use|
|Alias:||has no alias|
|In this wiki:||Property:Has type|
|Table of Contents|
The Has type property is a special property in Semantic MediaWiki with a built-in meaning: it assigns a datatype to a property. Special page "Types"Lists all available datatypes lists the datatypes available in the wiki.
For example, the page for property "Population" would specify
[[Has type::Number]] as datatype "Number"Holds integer and decimal numbers, with an optional exponent is adequate in this case. To make the datatype setting more human readable it is suggested to add the following syntax to the page which also provides a bit of context for the reader:
This is a property of type [[Has type::Number]]
From version Semantic MediaWiki 1.0Released on 31 December 2007 and compatible with MW 1.9.x - 1.12.x. to Semantic MediaWiki 1.4.3Released on 15 August 2009 and compatible with MW 1.13.x - 1.16.x., Semantic MediaWiki allowed many-valued properties. Types for these properties were specified by listing multiple types as the value of "Has type", separated by semicolons. Starting with Semantic MediaWiki 1.5.0Released on 7 March 2010 and compatible with MW 1.14.x - 1.17.x., many-valued properties were replaced by datatype "Record"Holds compound property values that consist of a short list of values with fixed type and order.
See the page of special property "Has type" to see which pages use this special property on this wiki.