From Constant Noble
Jump to navigation Jump to search

Semantic MediaWiki uses types, or more specifically, datatypes, to express the way a property should be treated. When instances of unknown properties are added to a page, they are treated as members of the default type, Page, unless the property pages themselves are created beforehand.

Aside from Page, the SMW interface has several other predefined types, among them Text (or String in earlier versions), Number, Date, Geographic coordinates, and URL.

A special property, Has type, defines what type other properties should use. At the Constant Noble site, this is achieved through use of {{property type}}.

See also