2,153
edits
No edit summary |
|||
Line 1: | Line 1: | ||
<blockquote>This hands-on session for non technical users emphasizes the "need to know" aspects of Web publishing, wikis, information design and Semantic Mediawiki. It is not expected participants will become experts in all these topics, but will be able to create a site, and have an overview of what can be done as a basis of progressive learning.</blockquote> | <blockquote>This hands-on session for non technical users emphasizes the "need to know" aspects of Web publishing, wikis, information design and Semantic Mediawiki for flexible, structured, practical re-usable content that fits into the Web of Data. It is not expected participants will become experts in all these topics, but will be able to create a site, and have an overview of what can be done as a basis of progressive learning.</blockquote> | ||
= Acronyms = | = Acronyms = | ||
Line 65: | Line 65: | ||
* Add semantic classes for reusable data | * Add semantic classes for reusable data | ||
* Guide users of the site | * Guide users of the site | ||
** Viewer | |||
** Casual editor | |||
** Advanced editor, gardener | |||
** Semantic coder | |||
== Creating pages == | == Creating pages == | ||
Line 99: | Line 103: | ||
* <nowiki>{{{1}}}</nowiki> — SMW variable, in this case the first value passed to a template | * <nowiki>{{{1}}}</nowiki> — SMW variable, in this case the first value passed to a template | ||
* Finding pages | |||
* Starting new pages | |||
* Proactive linking | * Proactive linking | ||
** Brainstorm using links | ** Brainstorm using links | ||
{{Activity|Create a new page that's a unique place, include a link to another page and another site.}} | |||
* Categories | * Categories | ||
** Subcategories | ** Subcategories | ||
{{Activity|Put your page in a category, put that category in a sub-category}} | |||
* Uploading images and files | * Uploading images and files | ||
* Moving pages | * Moving pages | ||
** Moving preserves the original link, can be useful for "also known as" | |||
{{Activity|Move your page to a longer description, observe [[Special:RecentChanges]]}} | |||
* Deleting pages | * Deleting pages | ||
* Templates - used for consistently reused content | * Templates - used for consistently reused content | ||
Line 118: | Line 136: | ||
* Re-using styles [[MediaWiki:Common.css]] | * Re-using styles [[MediaWiki:Common.css]] | ||
* Hiding MW's menus and changing the 'skin' | * Hiding MW's menus and changing the 'skin' | ||
{{Activity|Add <nowiki><div class="noticebox">...</div></nowiki> to some page content}} | |||
= Semantic Mediawiki = | = Semantic Mediawiki = | ||
Line 123: | Line 143: | ||
[[File:SMW_logo_180px.png|right]] | [[File:SMW_logo_180px.png|right]] | ||
''SMW is an extension ecology of MW that allows marking up content for re-use and | ''SMW is an extension ecology of MW that allows marking up content for re-use and creating easier to use forms and views.'' | ||
* Meaning through annotations and relationships | * Meaning through annotations and relationships | ||
** Triples | ** You define the relationships for your application | ||
** Triples — subject, predicate, object | |||
*** Subject — what we're talking about | |||
*** Predicate — the relationship type | |||
*** Object - what the subject is being related to | |||
** Combine them and you can flexibly describe anything | |||
** Montréal is a place | |||
** Montréal has population 1,906,811 | |||
** Montréal has geographic coordinates 45.5088889, -73.5541667 | |||
* What properties does your content need to be useful? | * What properties does your content need to be useful? | ||
Line 134: | Line 165: | ||
<nowiki>[[Date::Jan 1, 2011]]</nowiki> | <nowiki>[[Date::Jan 1, 2011]]</nowiki> | ||
Or combinations: | |||
---- | |||
Page: Montreal | |||
* <nowiki>[[A::Place]]</nowiki> | |||
* <nowiki>[[Population::1,906,811]]</nowiki> | |||
* <nowiki>[[Geographic coordinates::45.5088889, -73.5541667]]</nowiki> | |||
---- | |||
* [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 140: | Line 181: | ||
* Subtypes | * Subtypes | ||
* [[Special:Ask|Queries]] | * [[Special:Ask|Queries]] | ||
** <nowiki>{{ #ask: [[A::Place]] }}</nowiki> | |||
** <nowiki>{{ #ask: [[Category:City]] }}</nowiki> | |||
== Classes == | == Classes == | ||
Line 146: | Line 189: | ||
** One topic per page | ** One topic per page | ||
** 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 | |||
== Views == | == Views == | ||
== Basic inference== | == Basic inference== | ||
''Inference is used to derive information from basic information.'' | |||
<nowiki>{{#ifexpr: {{{Population|}}} > 50000 | |||
| [[Category:City]] }} | |||
</nowiki> | |||
''If the page's population is greater than 50000, then put it in the category of city.'' | |||
This is a simple form of artificial intelligence, that be very useful for large sets of pages for arbitrary classifications. | |||
== Future directions== | == Future directions== |