Practical Semantic Mediawiki: Difference between revisions

no edit summary
No edit summary
Line 110: Line 110:
** Brainstorm using links
** Brainstorm using links


{{Practice|Create a new page that's a unique place, include a link to another page and another site.}}
{{Practice|Create a new page that's a unique generally recognized placename, include a link to another page and another site.}}


* Categories
* Categories
Line 122: Line 122:
** Moving preserves the original link, can be useful for "also known as"
** Moving preserves the original link, can be useful for "also known as"


{{Practice|Move your page to a longer description, observe [[Special:RecentChanges]]}}
{{Practice|Move your page to a longer description (placename and region), observe [[Special:RecentChanges]]}}
{{Bonus practice|Add an image, place it on the right and include a caption.}}


* Deleting pages
* Deleting pages
Line 137: Line 138:
** Avoid losing meaning (don't use <nowiki><big></nowiki> for headers), keep it simple
** Avoid losing meaning (don't use <nowiki><big></nowiki> for headers), keep it simple
* Re-using styles [[MediaWiki:Common.css]]
* Re-using styles [[MediaWiki:Common.css]]
* Hiding MW's menus and changing the 'skin'
* Possible to hide MW's menus and change the 'skin'


{{Practice|Add <nowiki><div class="noticebox">...</div></nowiki> to some page content}}
{{Practice|Add <nowiki><div class="noticebox">...</div></nowiki> to some page content}}
Line 177: Line 178:
* <nowiki>[[Geographic coordinates::45.5088889, -73.5541667]]</nowiki>
* <nowiki>[[Geographic coordinates::45.5088889, -73.5541667]]</nowiki>
----
----
{{Practice|Add a population annotation to your place.}}


* [http://semantic-mediawiki.org/wiki/Help:Properties_and_types#List_of_data_types Built-in types]
* [http://semantic-mediawiki.org/wiki/Help:Properties_and_types#List_of_data_types Built-in types]
Line 182: Line 185:
* [[Special:Properties|Viewing all properties]]
* [[Special:Properties|Viewing all properties]]
* Subtypes
* Subtypes
== Queries ==
* [[Special:Ask|Queries]]
* [[Special:Ask|Queries]]
** <nowiki>{{ #ask: [[A::Place]] }}</nowiki>
** <nowiki>{{ #ask: [[A::Place]] }}</nowiki>
Line 192: Line 198:
** Formlink <nowiki>{{#formlink:Comment|comment||Comment[Topic]={{PAGENAME}}}}</formlink></nowiki>
** Formlink <nowiki>{{#formlink:Comment|comment||Comment[Topic]={{PAGENAME}}}}</formlink></nowiki>
* Class templates will often contain queries that show linked classes
* Class templates will often contain queries that show linked classes
{{Practice|Create your own semantic class with template, properties, form. Add pages to it [{{PSITE}}/Special:Forms] }}


== Views ==
== Views ==
* Format= parameter to queries
** <nowiki>{{ #ask: [[Geographic coordinate::+]]|format=map}}
* Timeline, Calendar, Map, Facet browser


== Basic inference==
== Basic inference==
Line 247: Line 260:
* If it's for an open cause, ask me
* If it's for an open cause, ask me
** Let's form a user group
** Let's form a user group




[[Category:SemWeb]]
[[Category:SemWeb]]