Help:Semantics: Difference between revisions

(Starting)
(No difference)

Revision as of 20:55, 25 May 2012


Grand Theft Wiki is a Semantic Wiki. This means we collect data within a page into a searchable/displayable format.

Overview

The basic principle of semantic data is setting properties on pages. Those properties are little facts, such as the nationality or gender of the character. We can then do a search or query on those properties.

For example, on each character's page, we can specify the nationality of the character. Then we can do a search for all characters from each nationality. We can also display that search on a country page using an inline query.


Setting Properties

Properties are set in a similar way to links and categories. You need the name of the property and the data (answer) for it.

[[Property::Data]]

To set the 'Nationality' property to 'British':

[[Nationality::British]]

Types of Properties

Every property has a page, listed at Special:Properties.

By default, a property is type=page. This can be changed by adding a datatype to the properties page (just like a category).

If you select a datatype, such as 'date', anything that doesn't fit that input will generate an error. The data will have a yellow warning triangle next to it, and page will show up in Property:Has improper value for.

Standard answers

Be careful to use a standard answer whenever you mean the same thing, rather than a slightly different one.

For example, For a gender, always use 'Male' or 'Female' - don't sometimes use boy/man/woman/lady/girl.