Semantic MediaWiki (SMW): Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
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. | 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 | | '''Silent or Hidden in-text annotation''' uses an empty pipe | <br> | ||
i.e. a pipe character with a space after it thus: | |||
<big><nowiki>[[Has population::2,229,621| ]]</nowiki><br> | <big><nowiki>[[Has population::2,229,621| ]]</nowiki><br> | ||
<nowiki>[[Located in country::France| ]]</nowiki></big> | <nowiki>[[Located in country::France| ]]</nowiki></big> | ||
Revision as of 22:02, 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.
- 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| ]]