Jump to content

Semantic MediaWiki (SMW): Difference between revisions

From Wikidelphia
No edit summary
Line 1: Line 1:
{{NBS}}https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki<br>
{{NBS}}https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki<br>
'''Every property has its own article in the wiki, just as every category has an article.'''  
'''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".
 
*You can see all the properties in use in the wiki with special page [https://wikidelphia.org/Special:Properties][[Special:SemanticMediaWiki|Special: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:: as shown in this example:
::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.
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.  


Line 15: Line 19:


== Info ==
== Info ==
*[https://www.semantic-mediawiki.org/wiki/Help:Introduction_to_Semantic_MediaWiki Introduction to Semantic MediaWiki]
*[https://www.semantic-mediawiki.org/wiki/Help:Introduction_to_Semantic_MediaWiki Introduction to Semantic MediaWiki]
**[https://www.semantic-mediawiki.org/wiki/Help:Classification Help:Classification]
**[https://www.semantic-mediawiki.org/wiki/Help:Classification Help:Classification]

Revision as of 22:20, 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 [1]Special: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:
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.
  • 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| ]]

Info