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:.

Since version 1.0, SMW allows many-valued properties. Types for these properties are specified by listing multiple types as the value of Has type, separated by semicolons. For example, on sandbox.semantic-mediawiki.org Property:Employment takes a link to a company, a job title, and a start and end date, so it specifies its type as [[has type:=Page; String; Date; Date]].

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

Property:Allows value en 1.0


(previous 25) (next 25)

Pages using the property "Has type"

This property is a special property in this wiki. Showing 25 pages using this property.

A

Area +Area  +
Author Entity +PageThis type is among the standard datatypes of this wiki.  +

C

Capital of +PageThis type is among the standard datatypes of this wiki.  +
Chromosomic region +StringThis type is among the standard datatypes of this wiki.  +
Coordinates +Geographic coordinateThis type is among the standard datatypes of this wiki.  +
Country of Origin +PageThis type is among the standard datatypes of this wiki.  +
Covers extension +StringThis type is among the standard datatypes of this wiki.  +

D

Date of birth +DateThis type is among the standard datatypes of this wiki.  +
Date of death +DateThis type is among the standard datatypes of this wiki.  +

F

From version +StringThis type is among the standard datatypes of this wiki.  +

G

Genre Type +PageThis type is among the standard datatypes of this wiki.  +

H

Has date +DateThis type is among the standard datatypes of this wiki.  +
HasName +StringThis type is among the standard datatypes of this wiki.  +

I

Inverse property label +StringThis type is among the standard datatypes of this wiki.  +
Is a +PageThis type is among the standard datatypes of this wiki.  +
Is capital of +PageThis type is among the standard datatypes of this wiki.  +
Is instance of +PageThis type is among the standard datatypes of this wiki.  +
Is part of +PageThis type is among the standard datatypes of this wiki.  +

L

Language code +StringThis type is among the standard datatypes of this wiki.  +
Localised chr +NumberThis type is among the standard datatypes of this wiki.  +

M

Master page +PageThis type is among the standard datatypes of this wiki.  +

N

Nb bases +NumberThis type is among the standard datatypes of this wiki.  +
Nb exons +NumberThis type is among the standard datatypes of this wiki.  +
NeighbourOf +PageThis type is among the standard datatypes of this wiki.  +
News date +DateThis type is among the standard datatypes of this wiki.  +
(previous 25) (next 25)
Personal tools