Semantic MediaWiki (SMW): Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
*You can see all the properties in use in the wiki with special page "Properties". | *You can see all the properties in use in the wiki with special page "Properties". | ||
*Just as category articles are prefixed with Category:, all property articles are prefixed with Property: to distinguish them from other articles. | *Just as category articles are prefixed with Category:, all property articles are prefixed with Property: to distinguish them from other articles. | ||
::Property types can be set using [[Has type | ::Property types can be set using [[Has type:: as shown in this example: | ||
https://wikidelphia.org/index.php?title=Property:Contact_Email&action=edit | :::https://wikidelphia.org/index.php?title=Property:Contact_Email&action=edit | ||
*So you can also also use MediaWiki's special page "Search" to find existing properties. | *So you can also also use MediaWiki's special page "Search" to find existing properties. | ||
*As with categories, a property's article can be empty, but it is strongly recommended to add a description that explains the intent of the property and its proper usage. | *As with categories, a property's article can be empty, but it is strongly recommended to add a description that explains the intent of the property and its proper usage. | ||
Revision as of 22:11, 10 April 2020
https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki
Every property has its own article in the wiki, just as every category has an article.
- You can see all the properties in use in the wiki with special page "Properties".
- Just as category articles are prefixed with Category:, all property articles are prefixed with Property: to distinguish them from other articles.
- Property types can be set using [[Has type:: as shown in this example:
- So you can also also use MediaWiki's special page "Search" to find existing properties.
- As with categories, a property's article can be empty, but it is strongly recommended to add a description that explains the intent of the property and its proper usage.
In-text annotations and property declarations are case-sensitive and therefore adhere certain MediaWiki configuration settings (e.g. configuration parameter $wgCapitalLinks) and if changed arbitrarily may cause content to be rendered invalid or unavailable during query execution.
Silent or Hidden in-text annotation uses an empty pipe |
i.e. a pipe character with a space after it thus:
[[Has population::2,229,621| ]]
[[Located in country::France| ]]