Jump to content

Semantic MediaWiki (SMW): Difference between revisions

From Wikidelphia
No edit summary
 
(19 intermediate revisions by the same user not shown)
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".
 
*Just as category articles are prefixed with Category:, all property articles are prefixed with Property: to distinguish them from other articles.  
*You can see all the properties in use in the wiki with special page [https://wikidelphia.org/Special:Properties 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.  
*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.  


'''Silent or Hidden in-text annotation''':<br>
'''Silent or Hidden in-text annotation''' uses an empty pipe | <br>
<nowiki>[[Has population::2,229,621| ]]</nowiki><br>  
i.e. a pipe character with a space after it thus:<br>
<nowiki>[[Located in country::France| ]]</nowiki>
<big><nowiki>[[Has population::2,229,621| ]]</nowiki><br>  
<nowiki>[[Located in country::France| ]]</nowiki></big>


== 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]
Line 19: Line 27:
**[https://wikidelphia.org/Special:Properties Special:Properties]
**[https://wikidelphia.org/Special:Properties Special:Properties]
*[https://www.semantic-mediawiki.org/wiki/Help:User_manual User manual]
*[https://www.semantic-mediawiki.org/wiki/Help:User_manual User manual]
== Searching ==
*[https://wikidelphia.org/Special:Ask Semantic Search (Special:Ask)]
*[https://wikidelphia.org/Special:Ask Semantic Search (Special:Ask)]
**[https://www.semantic-mediawiki.org/wiki/Help:Sp%C3%A9cial:Ask Help for #Ask]
*[https://www.semantic-mediawiki.org/wiki/Help:Sp%C3%A9cial:Ask#Query_construction Query construction]
*Search for a property: [[Contact Email::
::Search for a property: [[p:
::Search for a category: [[c:
::<code><nowiki>[[Category:Musical actor]]</nowiki> OR <nowiki>[[Category:Theatre actor]]</nowiki></code>  or more concisely,
:: <code><nowiki>[[Category:Musical actor||Theatre actor]]</nowiki></code>
<nowiki>::[[Category:Is-Business]]
::[[Contact Email::</nowiki>
*[[Special:SemanticMediaWiki]]
*[[Special:SemanticMediaWiki]]

Latest revision as of 21:06, 19 August 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 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

Searching

Search for a property: [[p:
Search for a category: [[c:
[[Category:Musical actor]] OR [[Category:Theatre actor]] or more concisely,
[[Category:Musical actor||Theatre actor]]

::[[Category:Is-Business]] ::[[Contact Email::