Special properties (optional)

From semantic-mediawiki.org

This help page lists the optional special properties. Optional special properties are provided by Semantic MediaWiki but may be disabled or enabled via a configuration parameter. The respective configuration parameters are noted on the corresponding special property's documentation page.

The following table gives an overview of all 21 optional special properties provided by Semantic MediaWiki:

Name Description Help Added Key
Modification date Holds a fixed value that corresponds to the date of the last modification of each page help page 1.4.0
_MDAT
Creation date Holds a fixed value that corresponds to the date of the first revision of each page help page 1.7.0
_CDAT
Is a new page Holds a value marking a page as being new or not help page 1.7.1
_NEWP
Last editor is Holds the page name of the user who created the last page revision help page 1.7.1
_LEDT
Has query Links a page to the subobject created by a query recording its profile help page 1.8.0
_ASK
Query depth Holds the value of the property depth of a query help page 1.8.0
_ASKDE
Query format Holds the name of the result format used in a query help page 1.8.0
_ASKFO
Query size Holds the value of the number of conditions in a query help page 1.8.0
_ASKSI
Query string Holds the conditions of the query as a string help page 1.8.0
_ASKST
Query duration Holds the value of the duration a query took to execute help page 1.9.0
_ASKDU
MIME type Holds the MIME type of an uploaded file help page 1.9.1
_MIME
Media type Holds the Media type of an uploaded file help page 1.9.1
_MEDIA
Allows pattern Pattern to match a permissible value help page 2.4.0
_PVAP
Display title of Holds a specific denote title for an entity help page 2.4.0
_DTITLE
Has uniqueness constraint Allows to restrict value annotation to be unique help page 2.4.0
_PVUC
Language code Handles BCP47 conform language codes specifying the language of the annotated text help page 2.4.0
_LCODE
Query parameters Holds the parameters a query used to select its output help page 2.5.0
_ASKPA
Query source Holds the identifier of an alternative (e.g. remote) query source help page 2.5.0
_ASKSC
Is property group Marks a category for holding properties belonging to a property group help page 3.0.0
_PPGR
Query state Holds the status code a query uses to define its internal state help page 3.0.0
_ASKCO
Attachment link Holds the links to files embedded on a page help page 3.1.0
_ATTCH_LINK

Conversely all special properties not listed here are mandatory.

Remember to run maintenance script "setupStore.php"Allows to set up the data backend/store followed by maintenance script "rebuildData.php"Allows to rebuild all the semantic data for a selected data backend/store when disabling or enabling a special property. Further information is available on the respective configuration parameter's documentation page.

See also[edit]

Octocat.png"TypesRegistry.php" – The general characteristics of a special property are defined here.