Property:Has type

From semantic-mediawiki.org
Jump to: navigation, search

Has type is a special property in Semantic MediaWiki with a built-in meaning: it assigns a type to a property. Special:Types lists the types available in the wiki. See datatypes in the Help system.

For example, the page for Property:Population would specify [[has type::Number]]. "Has type" assumes its value is in the Type namespace, so you can omit the prefix Type:.

From version 1.0 to 1.4, SMW allowed many-valued properties. Types for these properties are specified by listing multiple types as the value of Has type, separated by semicolons.

Starting with version 1.5, many-valued properties were replaced by the type Record.



This documentation page applies to all SMW versions from 1.0 to the most current version.
     

Property:Allows value en 1.0



Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox