Practical Semantic Mediawiki: Difference between revisions

From zooid Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{AAType
''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.''
|Image=Grace Park 18113317.jpg
|Home page=http://www.grace-park-online.com/
|Location=Vancouver
|Arts=Media Arts
|Type=Person
|Aspects=Asian Origin
}}
Grace Park (born March 14, 1974) is an American-born Canadian actress. She is best known as Sharon Valerii (and the various other iterations of Number Eight, a humanoid Cylon) on Battlestar Galactica, as well as Shannon Ng in the Canadian television series teen soap Edgemont. Park was co-starring in A&E's The Cleaner until it was cancelled September 25, 2009 and currently stars in the CBC's The Border in Canada. Park will play detective Kona Kalakaua in CBS' remake of Hawaii Five-O , which will debut in the fall of 2010.


Born in Los Angeles, California, Park and her family moved to Canada when she was 22 months old. She was raised in the Vancouver neighbourhood of Kerrisdale. Grace Park graduated from Magee Secondary in 1992 and holds a degree in psychology from the University of British Columbia. Park understands some Korean and is currently studying Spanish. As of 2004, Park lives in Vancouver with her husband, Phil Kim. She was named #93 in Maxim Online's 2006 Hot 100 List and named #81 on the Maxim magazine "Hot 100 of 2005" list.
= Acronyms =


Park has a role in the 2007 movie West 32nd, a crime drama dealing with New York City’s Korean underworld.
* SMW = Semantic Mediawiki
* MW = Mediawiki
* CC = Creative Commons


She appeared as Lt. Sandra Telfair in Electronic Arts' Command & Conquer 3: Tiberium Wars, along with her Battlestar Galactica co-star, Tricia Helfer.
= Web publishing =


In 2008, she had co-starring roles in the A&E series The Cleaner and the CBC series The Border. In 2009, Park had an uncredited cameo role on the television show CSI: Crime Scene Investigation. She appeared as a fan in a crowd at a science fiction convention, objecting to a gritty remake of a Star Trek-like series, comparable to the Battlestar Galactica remake in which she starred. In 2009 she reprised her role as Sharon aka cylon Number Eight from Battlestar Galactica in the television movie Battlestar Galactica: The Plan. It told the series story from the cylons' point of view. In 2010, she appeared in Fox series Human Target as Eva Kahn.
== Access models ==
* Fully open, no login required
* Require login for editing
* Require created accounts to edit (closed editing)
* Require created accounts to access (fully private)
** Encryption to avoid snooping
 
Access models can be changed over time; avoid starting a wiki with jargon or unsympathetic content.
 
== Site users ==
 
* Levels
** De-emphasize control, make it as flat as possible
** Bureaucrats still exist - edit site-wide content and styles, block pages and users
* OpenID signin
 
{{Practice|Create an account and sign in}}
 
== Accessibility ==
 
''Here, accessibility refers to supporting people with vision, keyboard control or cognitive difficulties.''
 
* Making sites accessible generally increases usability
** Works on more devices from text browser to handheld
** Typically more straightforward navigation
** Accessible hot keys can be used by any expert user
** [http://asyourworldchanges.wordpress.com/2008/10/06/using-the-curb-cuts-principle-to-reboot-computing/ The curb cuts principle]
* Mediawiki is accessible, SMW has issues (forms)
* Value content over appearance
* Good tags for images, image maps
 
[[File:Copright continuum.jpg|right|500px|Copyright continuum, from traditional copyright to public domain]]
 
== Terms of use ==
 
* Creative Commons - share with options for attribution, non-commercial, changes
** [http://creativecommons.org/choose/?jurisdiction=ca Choose your license]
* Traditional copyright - by permission only
 
* Re-using content
** [http://search.creativecommons.org/ Find CC media]
 
<br class="cleared" />
 
= Using Mediawiki =
 
[[File:MediaWiki_logo_without_tagline.png|right]]
 
''Mediawiki is the underlying software of Wikipedia. It is robust, supported by a large community and supports hundreds of useful extensions.''
 
== Progressive uses ==
 
* Basic site with pages and categories
** You just need to know a few things for your wiki to be as useful as most Web sites
* Add widgets for more interactivity
* Wiki gardening to reorganize content
* Add semantic classes for reusable data
* Guide users of the site
** Viewer
** Casual editor
** Advanced editor, gardener
** Semantic coder
 
== Creating pages ==
 
* How to name pages
** One topic per page
* Short, avoid special symbols, sentence form
* Code and matching brackets
 
=== Basic markup ===
 
[[File:Sky_Clouds_13.jpg|right|400px|A picture of clouds with the sun poking through in case people start to panic]]
 
''Rather than using a rich text editor, Mediawiki uses a progressively learned set of markup, that's designed to be human-readable, consistent and enforces meaning over appearance. It's not dependant on special programs, and could be carved into a park bench and retain its meaning.''
 
* <nowiki>''Italic'', '''Bold'''</nowiki>
* <nowiki>* List heading level one</nowiki> — use # for numbered list
** <nowiki>** List level two</nowiki> — ## for numbered list
*** ...
* <nowiki>=Heading one=</nowiki>
** <nowiki>==Heading two==</nowiki>
*** ...
 
* <nowiki>[[Mypage]]</nowiki> — A wiki link
** <nowiki>[[File:Mypicture.png]]</nowiki> — Media (inline or link)
** <nowiki>[[Mypage|This is my page]]</nowiki> Alternate link text (using pipe symbol)
* <nowiki>[http://theirsite.com]</nowiki> — A non-wiki link
** Use a space after the link to use your own link text. <nowiki>[http://theirsite.com Their site]</nowiki>.
 
* <nowiki>{{My Template}}</nowiki> — A template (reusable content, function or variable)
** Don't Repeat Yourself
** Pipe symbol is used to pass parameters — <nowiki>{{Show Something|Something}}</nowiki>
* <nowiki>{{ #geocode: Montréal, Quebec}}</nowiki> — Template function, in this case geocode turns a place name into geographic coordinates
* <nowiki>{{{1}}}</nowiki> — SMW variable, in this case the first value passed to a template
 
* Finding pages
* Starting new pages
* Proactive linking
** Brainstorm using links
 
{{Practice|Create a new page that's a unique generally recognized placename, include a link to another page and another site.}}
 
* Categories
** Subcategories
 
{{Practice|Put your page in a category, put that category in a sub-category}}
 
* Uploading images and files
 
* Moving pages
** Moving preserves the original link, can be useful for "also known as"
 
{{Practice|Move your page to a more specific location (Placename, Region), observe [[Special:RecentChanges]]}}
{{Bonus practice|Add an image, place it on the right and include a caption.}}
 
* Deleting pages
 
* Templates - used for consistently reused content
 
=== Making pages look good ===
 
''CSS is the style system of Web pages and can also be used in Mediawiki. Like wiki markup, learning can be progressive.''
 
[http://www.placeography.org/index.php/Main_Page Placeography] | [http://genozymes-ge3ls.ca/wiki/Bioenergy Biofuel Visions]
 
* Re-using CSS styling <nowiki><div style="background: orange">Hello world</div></nowiki>
** Avoid losing meaning (don't use <nowiki><big></nowiki> for headers), keep it simple
* Re-using styles [[MediaWiki:Common.css]]
* Possible to hide MW's menus and change the 'skin'
 
{{Practice|Add <nowiki><div class="noticebox">...</div></nowiki> to some page content}}
 
= Semantic Mediawiki =
 
[[File:SMW_logo_180px.png|right]]
 
''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
** 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?
 
== Inline property annotation ==
 
''Single instances of data can be marked-up using annotations.''
 
<nowiki>[[Date::Jan 1, 2011]]</nowiki>
 
Or combinations:
 
<div class="noticebox" style="background: #D5C3AC">
'''Page: Montreal'''
 
* <nowiki>[[A::Place]]</nowiki>
* <nowiki>[[Population::1,906,811]]</nowiki>
* <nowiki>[[Geographic coordinates::45.5088889, -73.5541667]]</nowiki>
</div>
 
{{Practice|Add a population annotation to your place.}}
 
* [http://semantic-mediawiki.org/wiki/Help:Properties_and_types#List_of_data_types Built-in types]
* Geographic coordinate
* [[Special:Properties|Viewing all properties]]
* Subtypes
 
== Queries ==
 
* [[Special:Ask|Queries]]
** <nowiki>{{ #ask: [[A::Place]] }}</nowiki>
** <nowiki>{{ #ask: [[Category:City]] }}</nowiki>
 
== Classes ==
 
* [[Special:CreateClass|Creating a class]] (template, properties, forms)
** One topic per page
** Formlink <nowiki>{{#formlink:Comment|comment||Comment[Topic]={{PAGENAME}}}}</formlink></nowiki>
* 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 ==
 
<div style="float: right">
{{ #ask: [[Geographic coordinate::+]]|format=map}}
</div>
 
* Format= parameter to queries
** <nowiki>{{ #ask: [[Geographic coordinate::+]]|format=map}}</nowiki>
 
* Timeline, Calendar, Map, Facet browser
 
<br class="cleared" />
 
== 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==
 
* Relating ontologies
* Reusing content
* Creating a big picture where anyone can ask questions and add their data
 
<br class="cleared" />
 
= Mediawiki Widgets=
 
''[http://www.mediawikiwidgets.org/Main_Page Mediawiki Widgets] allow embedding third-party site content for rich media (Youtube, photo sites, etc) and interactive discussions (DISQUS, Twitter, etc) without needing to set it up or host it on your site''.
 
* DISQUS discussion
** Register with DISQUS
** Get key
** Create [[Widget:DISQUS|widget]]
** Embed widget on pages
 
= Converting content or sites =
 
* [http://johnmacfarlane.net/pandoc/ Pandoc]
* Convertors for [http://wiki.services.openoffice.org/wiki/Convert2MediaWiki Open Office], [http://wikieducator.org/Microsoft_Launches_Open_Source_Filter_for_Mediawiki Microsoft Word]
 
= Hosting =
 
* Export a site, modularize by category
** Complete site export
* [[Special:Version]]
* Free light/startup hosting
* Inexpensive Mediawiki with SMW option
* Wikia
* Self-hosting
 
= Getting help =
 
* View source of pages
* Mediawiki help sites and community
* Semantic mediawiki help sites and community
* If it's for an open cause, ask me
** Let's form a user group
 
[[Category:SemWeb]]

Revision as of 17:07, 25 November 2010

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.

Acronyms

  • SMW = Semantic Mediawiki
  • MW = Mediawiki
  • CC = Creative Commons

Web publishing

Access models

  • Fully open, no login required
  • Require login for editing
  • Require created accounts to edit (closed editing)
  • Require created accounts to access (fully private)
    • Encryption to avoid snooping

Access models can be changed over time; avoid starting a wiki with jargon or unsympathetic content.

Site users

  • Levels
    • De-emphasize control, make it as flat as possible
    • Bureaucrats still exist - edit site-wide content and styles, block pages and users
  • OpenID signin

The distinction is in the capability, and the phrase 'community plumbing.'

When developing a functional web site, once we get into the php / database level, things get tremendously more complex. Semantic Mediawiki avoids that altogether by building on Mediawiki markup and a higher level of expression.

The Drupal core developers have a policy of not maintaining backward compatibility between major versions. So a client with a Drupal 5.x module has a real problem. If something goes wrong or needs to be changed/extended on a module, you have to find a developer willing to do that work, which is very specific. They may need to update to the latest Drupal, which is a major undertaking when all modules are considered. Any change on a Drupal site, no matter how minor, might involve dozens of hours, it involves accessing the server via ssh or ftp, changing the database, you name it. It's clearly out of the hands of mere mortals. I saw this again and again, and was forced to create this situation. I see a lot of programming shops that have bad relationships with their clients and act very defensively, with high charges for every change, because of the complexity involved.

Whereas with SMW, you can view the source of any page to see how something was done, and do it yourself.

Granted, SMW is not a full programming system and can't do everything php/Drupal can do, but it can cover a large number of cases - blogs, discussions, home pages, events, hypertext pages, database functions including locations, dates, etc.

Many non programmers edit Wikis, none can change a Drupal site. They're completely reliant on the plumber. The plumber has to chose a particular version of Drupal for particular modules, which is probably not the most recent version so it has built in obsolescence. If the client can't reach their original plumber, they better hope they can find someone who can deal with the previous work. SMW has core underpinnings, with markup on top of that, and it's all built on the thousands of tested MW modules.

People can progressively learn MW/SMW, they really can't do that with Drupal without creating a disaster. I've taught non technical people to create schemas, queries and views in SMW. They typically didn't use the advanced function after the overview, but at least I'm teaching them more than how to fill in a form, and the computer isn't so much a scary database and mystical programming language, it's clear it's a participatory medium built on the momentum of Wikipedia. There's no similar heralded Drupal site (Drupal was used for the Howard Dean campaign, but any CMS could have been used).

I don't know much about Wordpress, from what I understand it's more something you use as is, the customization is more around themes. Last I checked, Drupal was heading in a more fluid direction with CCK (with RDF under the covers for reusable content across sites), but it's still not the same thing as the "aliveness" of an SMW page. If I could cc this message to an SMW install (extensions exist for this), I could create todo events, pages, entities, all using the established MW/SMW combo from email.

My interest is in digital literacy.. getting people to stop using computers as fancy typewriters, instead create reusable statements, schemas, queries, progressively build on their knowledge in focused ways, always able to learn from examples. SMW excels at that. Any content on an SMW site can be reused between functions, and sites can access each other's information.

MW/SMW also comes with a culture of Creative Commons style licenses. On a MW/SMW site, any user can create their own sub site out of pages and structure, and take it away if they need to. On a Drupal site, it's all top down.

I try to get this across to clients, ultimately they usually enjoy the overview but can't participate for their own good reasons, which is fine. SMW isn't ready for everything yet, but I think the markup approach is the best way out of MS Word / forms based approaches.

See also: SMW as Lego blocks



RSS

Blikied on April 9, 2010



Accessibility

Here, accessibility refers to supporting people with vision, keyboard control or cognitive difficulties.

  • Making sites accessible generally increases usability
    • Works on more devices from text browser to handheld
    • Typically more straightforward navigation
    • Accessible hot keys can be used by any expert user
    • The curb cuts principle
  • Mediawiki is accessible, SMW has issues (forms)
  • Value content over appearance
  • Good tags for images, image maps
Copyright continuum, from traditional copyright to public domain

Terms of use

  • Creative Commons - share with options for attribution, non-commercial, changes
  • Traditional copyright - by permission only


Using Mediawiki

MediaWiki logo without tagline.png

Mediawiki is the underlying software of Wikipedia. It is robust, supported by a large community and supports hundreds of useful extensions.

Progressive uses

  • Basic site with pages and categories
    • You just need to know a few things for your wiki to be as useful as most Web sites
  • Add widgets for more interactivity
  • Wiki gardening to reorganize content
  • Add semantic classes for reusable data
  • Guide users of the site
    • Viewer
    • Casual editor
    • Advanced editor, gardener
    • Semantic coder

Creating pages

  • How to name pages
    • One topic per page
  • Short, avoid special symbols, sentence form
  • Code and matching brackets

Basic markup

A picture of clouds with the sun poking through in case people start to panic

Rather than using a rich text editor, Mediawiki uses a progressively learned set of markup, that's designed to be human-readable, consistent and enforces meaning over appearance. It's not dependant on special programs, and could be carved into a park bench and retain its meaning.

  • ''Italic'', '''Bold'''
  • * List heading level one — use # for numbered list
    • ** List level two — ## for numbered list
      • ...
  • =Heading one=
    • ==Heading two==
      • ...
  • [[Mypage]] — A wiki link
    • [[File:Mypicture.png]] — Media (inline or link)
    • [[Mypage|This is my page]] Alternate link text (using pipe symbol)
  • [http://theirsite.com] — A non-wiki link
    • Use a space after the link to use your own link text. [http://theirsite.com Their site].
  • {{My Template}} — A template (reusable content, function or variable)
    • Don't Repeat Yourself
    • Pipe symbol is used to pass parameters — {{Show Something|Something}}
  • {{ #geocode: Montréal, Quebec}} — Template function, in this case geocode turns a place name into geographic coordinates
  • {{{1}}} — SMW variable, in this case the first value passed to a template
  • Finding pages
  • Starting new pages
  • Proactive linking
    • Brainstorm using links

The distinction is in the capability, and the phrase 'community plumbing.'

When developing a functional web site, once we get into the php / database level, things get tremendously more complex. Semantic Mediawiki avoids that altogether by building on Mediawiki markup and a higher level of expression.

The Drupal core developers have a policy of not maintaining backward compatibility between major versions. So a client with a Drupal 5.x module has a real problem. If something goes wrong or needs to be changed/extended on a module, you have to find a developer willing to do that work, which is very specific. They may need to update to the latest Drupal, which is a major undertaking when all modules are considered. Any change on a Drupal site, no matter how minor, might involve dozens of hours, it involves accessing the server via ssh or ftp, changing the database, you name it. It's clearly out of the hands of mere mortals. I saw this again and again, and was forced to create this situation. I see a lot of programming shops that have bad relationships with their clients and act very defensively, with high charges for every change, because of the complexity involved.

Whereas with SMW, you can view the source of any page to see how something was done, and do it yourself.

Granted, SMW is not a full programming system and can't do everything php/Drupal can do, but it can cover a large number of cases - blogs, discussions, home pages, events, hypertext pages, database functions including locations, dates, etc.

Many non programmers edit Wikis, none can change a Drupal site. They're completely reliant on the plumber. The plumber has to chose a particular version of Drupal for particular modules, which is probably not the most recent version so it has built in obsolescence. If the client can't reach their original plumber, they better hope they can find someone who can deal with the previous work. SMW has core underpinnings, with markup on top of that, and it's all built on the thousands of tested MW modules.

People can progressively learn MW/SMW, they really can't do that with Drupal without creating a disaster. I've taught non technical people to create schemas, queries and views in SMW. They typically didn't use the advanced function after the overview, but at least I'm teaching them more than how to fill in a form, and the computer isn't so much a scary database and mystical programming language, it's clear it's a participatory medium built on the momentum of Wikipedia. There's no similar heralded Drupal site (Drupal was used for the Howard Dean campaign, but any CMS could have been used).

I don't know much about Wordpress, from what I understand it's more something you use as is, the customization is more around themes. Last I checked, Drupal was heading in a more fluid direction with CCK (with RDF under the covers for reusable content across sites), but it's still not the same thing as the "aliveness" of an SMW page. If I could cc this message to an SMW install (extensions exist for this), I could create todo events, pages, entities, all using the established MW/SMW combo from email.

My interest is in digital literacy.. getting people to stop using computers as fancy typewriters, instead create reusable statements, schemas, queries, progressively build on their knowledge in focused ways, always able to learn from examples. SMW excels at that. Any content on an SMW site can be reused between functions, and sites can access each other's information.

MW/SMW also comes with a culture of Creative Commons style licenses. On a MW/SMW site, any user can create their own sub site out of pages and structure, and take it away if they need to. On a Drupal site, it's all top down.

I try to get this across to clients, ultimately they usually enjoy the overview but can't participate for their own good reasons, which is fine. SMW isn't ready for everything yet, but I think the markup approach is the best way out of MS Word / forms based approaches.

See also: SMW as Lego blocks



RSS

Blikied on April 9, 2010



  • Categories
    • Subcategories

The distinction is in the capability, and the phrase 'community plumbing.'

When developing a functional web site, once we get into the php / database level, things get tremendously more complex. Semantic Mediawiki avoids that altogether by building on Mediawiki markup and a higher level of expression.

The Drupal core developers have a policy of not maintaining backward compatibility between major versions. So a client with a Drupal 5.x module has a real problem. If something goes wrong or needs to be changed/extended on a module, you have to find a developer willing to do that work, which is very specific. They may need to update to the latest Drupal, which is a major undertaking when all modules are considered. Any change on a Drupal site, no matter how minor, might involve dozens of hours, it involves accessing the server via ssh or ftp, changing the database, you name it. It's clearly out of the hands of mere mortals. I saw this again and again, and was forced to create this situation. I see a lot of programming shops that have bad relationships with their clients and act very defensively, with high charges for every change, because of the complexity involved.

Whereas with SMW, you can view the source of any page to see how something was done, and do it yourself.

Granted, SMW is not a full programming system and can't do everything php/Drupal can do, but it can cover a large number of cases - blogs, discussions, home pages, events, hypertext pages, database functions including locations, dates, etc.

Many non programmers edit Wikis, none can change a Drupal site. They're completely reliant on the plumber. The plumber has to chose a particular version of Drupal for particular modules, which is probably not the most recent version so it has built in obsolescence. If the client can't reach their original plumber, they better hope they can find someone who can deal with the previous work. SMW has core underpinnings, with markup on top of that, and it's all built on the thousands of tested MW modules.

People can progressively learn MW/SMW, they really can't do that with Drupal without creating a disaster. I've taught non technical people to create schemas, queries and views in SMW. They typically didn't use the advanced function after the overview, but at least I'm teaching them more than how to fill in a form, and the computer isn't so much a scary database and mystical programming language, it's clear it's a participatory medium built on the momentum of Wikipedia. There's no similar heralded Drupal site (Drupal was used for the Howard Dean campaign, but any CMS could have been used).

I don't know much about Wordpress, from what I understand it's more something you use as is, the customization is more around themes. Last I checked, Drupal was heading in a more fluid direction with CCK (with RDF under the covers for reusable content across sites), but it's still not the same thing as the "aliveness" of an SMW page. If I could cc this message to an SMW install (extensions exist for this), I could create todo events, pages, entities, all using the established MW/SMW combo from email.

My interest is in digital literacy.. getting people to stop using computers as fancy typewriters, instead create reusable statements, schemas, queries, progressively build on their knowledge in focused ways, always able to learn from examples. SMW excels at that. Any content on an SMW site can be reused between functions, and sites can access each other's information.

MW/SMW also comes with a culture of Creative Commons style licenses. On a MW/SMW site, any user can create their own sub site out of pages and structure, and take it away if they need to. On a Drupal site, it's all top down.

I try to get this across to clients, ultimately they usually enjoy the overview but can't participate for their own good reasons, which is fine. SMW isn't ready for everything yet, but I think the markup approach is the best way out of MS Word / forms based approaches.

See also: SMW as Lego blocks



RSS

Blikied on April 9, 2010



  • Uploading images and files
  • Moving pages
    • Moving preserves the original link, can be useful for "also known as"

The distinction is in the capability, and the phrase 'community plumbing.'

When developing a functional web site, once we get into the php / database level, things get tremendously more complex. Semantic Mediawiki avoids that altogether by building on Mediawiki markup and a higher level of expression.

The Drupal core developers have a policy of not maintaining backward compatibility between major versions. So a client with a Drupal 5.x module has a real problem. If something goes wrong or needs to be changed/extended on a module, you have to find a developer willing to do that work, which is very specific. They may need to update to the latest Drupal, which is a major undertaking when all modules are considered. Any change on a Drupal site, no matter how minor, might involve dozens of hours, it involves accessing the server via ssh or ftp, changing the database, you name it. It's clearly out of the hands of mere mortals. I saw this again and again, and was forced to create this situation. I see a lot of programming shops that have bad relationships with their clients and act very defensively, with high charges for every change, because of the complexity involved.

Whereas with SMW, you can view the source of any page to see how something was done, and do it yourself.

Granted, SMW is not a full programming system and can't do everything php/Drupal can do, but it can cover a large number of cases - blogs, discussions, home pages, events, hypertext pages, database functions including locations, dates, etc.

Many non programmers edit Wikis, none can change a Drupal site. They're completely reliant on the plumber. The plumber has to chose a particular version of Drupal for particular modules, which is probably not the most recent version so it has built in obsolescence. If the client can't reach their original plumber, they better hope they can find someone who can deal with the previous work. SMW has core underpinnings, with markup on top of that, and it's all built on the thousands of tested MW modules.

People can progressively learn MW/SMW, they really can't do that with Drupal without creating a disaster. I've taught non technical people to create schemas, queries and views in SMW. They typically didn't use the advanced function after the overview, but at least I'm teaching them more than how to fill in a form, and the computer isn't so much a scary database and mystical programming language, it's clear it's a participatory medium built on the momentum of Wikipedia. There's no similar heralded Drupal site (Drupal was used for the Howard Dean campaign, but any CMS could have been used).

I don't know much about Wordpress, from what I understand it's more something you use as is, the customization is more around themes. Last I checked, Drupal was heading in a more fluid direction with CCK (with RDF under the covers for reusable content across sites), but it's still not the same thing as the "aliveness" of an SMW page. If I could cc this message to an SMW install (extensions exist for this), I could create todo events, pages, entities, all using the established MW/SMW combo from email.

My interest is in digital literacy.. getting people to stop using computers as fancy typewriters, instead create reusable statements, schemas, queries, progressively build on their knowledge in focused ways, always able to learn from examples. SMW excels at that. Any content on an SMW site can be reused between functions, and sites can access each other's information.

MW/SMW also comes with a culture of Creative Commons style licenses. On a MW/SMW site, any user can create their own sub site out of pages and structure, and take it away if they need to. On a Drupal site, it's all top down.

I try to get this across to clients, ultimately they usually enjoy the overview but can't participate for their own good reasons, which is fine. SMW isn't ready for everything yet, but I think the markup approach is the best way out of MS Word / forms based approaches.

See also: SMW as Lego blocks



RSS

Blikied on April 9, 2010




Bonus practice: Add an image, place it on the right and include a caption.

  • Deleting pages
  • Templates - used for consistently reused content

Making pages look good

CSS is the style system of Web pages and can also be used in Mediawiki. Like wiki markup, learning can be progressive.

Placeography | Biofuel Visions

  • Re-using CSS styling <div style="background: orange">Hello world</div>
    • Avoid losing meaning (don't use <big> for headers), keep it simple
  • Re-using styles MediaWiki:Common.css
  • Possible to hide MW's menus and change the 'skin'

The distinction is in the capability, and the phrase 'community plumbing.'

When developing a functional web site, once we get into the php / database level, things get tremendously more complex. Semantic Mediawiki avoids that altogether by building on Mediawiki markup and a higher level of expression.

The Drupal core developers have a policy of not maintaining backward compatibility between major versions. So a client with a Drupal 5.x module has a real problem. If something goes wrong or needs to be changed/extended on a module, you have to find a developer willing to do that work, which is very specific. They may need to update to the latest Drupal, which is a major undertaking when all modules are considered. Any change on a Drupal site, no matter how minor, might involve dozens of hours, it involves accessing the server via ssh or ftp, changing the database, you name it. It's clearly out of the hands of mere mortals. I saw this again and again, and was forced to create this situation. I see a lot of programming shops that have bad relationships with their clients and act very defensively, with high charges for every change, because of the complexity involved.

Whereas with SMW, you can view the source of any page to see how something was done, and do it yourself.

Granted, SMW is not a full programming system and can't do everything php/Drupal can do, but it can cover a large number of cases - blogs, discussions, home pages, events, hypertext pages, database functions including locations, dates, etc.

Many non programmers edit Wikis, none can change a Drupal site. They're completely reliant on the plumber. The plumber has to chose a particular version of Drupal for particular modules, which is probably not the most recent version so it has built in obsolescence. If the client can't reach their original plumber, they better hope they can find someone who can deal with the previous work. SMW has core underpinnings, with markup on top of that, and it's all built on the thousands of tested MW modules.

People can progressively learn MW/SMW, they really can't do that with Drupal without creating a disaster. I've taught non technical people to create schemas, queries and views in SMW. They typically didn't use the advanced function after the overview, but at least I'm teaching them more than how to fill in a form, and the computer isn't so much a scary database and mystical programming language, it's clear it's a participatory medium built on the momentum of Wikipedia. There's no similar heralded Drupal site (Drupal was used for the Howard Dean campaign, but any CMS could have been used).

I don't know much about Wordpress, from what I understand it's more something you use as is, the customization is more around themes. Last I checked, Drupal was heading in a more fluid direction with CCK (with RDF under the covers for reusable content across sites), but it's still not the same thing as the "aliveness" of an SMW page. If I could cc this message to an SMW install (extensions exist for this), I could create todo events, pages, entities, all using the established MW/SMW combo from email.

My interest is in digital literacy.. getting people to stop using computers as fancy typewriters, instead create reusable statements, schemas, queries, progressively build on their knowledge in focused ways, always able to learn from examples. SMW excels at that. Any content on an SMW site can be reused between functions, and sites can access each other's information.

MW/SMW also comes with a culture of Creative Commons style licenses. On a MW/SMW site, any user can create their own sub site out of pages and structure, and take it away if they need to. On a Drupal site, it's all top down.

I try to get this across to clients, ultimately they usually enjoy the overview but can't participate for their own good reasons, which is fine. SMW isn't ready for everything yet, but I think the markup approach is the best way out of MS Word / forms based approaches.

See also: SMW as Lego blocks



RSS

Blikied on April 9, 2010



Semantic Mediawiki

SMW logo 180px.png

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
    • 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?

Inline property annotation

Single instances of data can be marked-up using annotations.

[[Date::Jan 1, 2011]]

Or combinations:

Page: Montreal

  • [[A::Place]]
  • [[Population::1,906,811]]
  • [[Geographic coordinates::45.5088889, -73.5541667]]

The distinction is in the capability, and the phrase 'community plumbing.'

When developing a functional web site, once we get into the php / database level, things get tremendously more complex. Semantic Mediawiki avoids that altogether by building on Mediawiki markup and a higher level of expression.

The Drupal core developers have a policy of not maintaining backward compatibility between major versions. So a client with a Drupal 5.x module has a real problem. If something goes wrong or needs to be changed/extended on a module, you have to find a developer willing to do that work, which is very specific. They may need to update to the latest Drupal, which is a major undertaking when all modules are considered. Any change on a Drupal site, no matter how minor, might involve dozens of hours, it involves accessing the server via ssh or ftp, changing the database, you name it. It's clearly out of the hands of mere mortals. I saw this again and again, and was forced to create this situation. I see a lot of programming shops that have bad relationships with their clients and act very defensively, with high charges for every change, because of the complexity involved.

Whereas with SMW, you can view the source of any page to see how something was done, and do it yourself.

Granted, SMW is not a full programming system and can't do everything php/Drupal can do, but it can cover a large number of cases - blogs, discussions, home pages, events, hypertext pages, database functions including locations, dates, etc.

Many non programmers edit Wikis, none can change a Drupal site. They're completely reliant on the plumber. The plumber has to chose a particular version of Drupal for particular modules, which is probably not the most recent version so it has built in obsolescence. If the client can't reach their original plumber, they better hope they can find someone who can deal with the previous work. SMW has core underpinnings, with markup on top of that, and it's all built on the thousands of tested MW modules.

People can progressively learn MW/SMW, they really can't do that with Drupal without creating a disaster. I've taught non technical people to create schemas, queries and views in SMW. They typically didn't use the advanced function after the overview, but at least I'm teaching them more than how to fill in a form, and the computer isn't so much a scary database and mystical programming language, it's clear it's a participatory medium built on the momentum of Wikipedia. There's no similar heralded Drupal site (Drupal was used for the Howard Dean campaign, but any CMS could have been used).

I don't know much about Wordpress, from what I understand it's more something you use as is, the customization is more around themes. Last I checked, Drupal was heading in a more fluid direction with CCK (with RDF under the covers for reusable content across sites), but it's still not the same thing as the "aliveness" of an SMW page. If I could cc this message to an SMW install (extensions exist for this), I could create todo events, pages, entities, all using the established MW/SMW combo from email.

My interest is in digital literacy.. getting people to stop using computers as fancy typewriters, instead create reusable statements, schemas, queries, progressively build on their knowledge in focused ways, always able to learn from examples. SMW excels at that. Any content on an SMW site can be reused between functions, and sites can access each other's information.

MW/SMW also comes with a culture of Creative Commons style licenses. On a MW/SMW site, any user can create their own sub site out of pages and structure, and take it away if they need to. On a Drupal site, it's all top down.

I try to get this across to clients, ultimately they usually enjoy the overview but can't participate for their own good reasons, which is fine. SMW isn't ready for everything yet, but I think the markup approach is the best way out of MS Word / forms based approaches.

See also: SMW as Lego blocks



RSS

Blikied on April 9, 2010



Queries

  • Queries
    • {{ #ask: [[A::Place]] }}
    • {{ #ask: [[Category:City]] }}

Classes

  • Creating a class (template, properties, forms)
    • One topic per page
    • Formlink {{#formlink:Comment|comment||Comment[Topic]={{PAGENAME}}}}</formlink>
  • Class templates will often contain queries that show linked classes

The distinction is in the capability, and the phrase 'community plumbing.'

When developing a functional web site, once we get into the php / database level, things get tremendously more complex. Semantic Mediawiki avoids that altogether by building on Mediawiki markup and a higher level of expression.

The Drupal core developers have a policy of not maintaining backward compatibility between major versions. So a client with a Drupal 5.x module has a real problem. If something goes wrong or needs to be changed/extended on a module, you have to find a developer willing to do that work, which is very specific. They may need to update to the latest Drupal, which is a major undertaking when all modules are considered. Any change on a Drupal site, no matter how minor, might involve dozens of hours, it involves accessing the server via ssh or ftp, changing the database, you name it. It's clearly out of the hands of mere mortals. I saw this again and again, and was forced to create this situation. I see a lot of programming shops that have bad relationships with their clients and act very defensively, with high charges for every change, because of the complexity involved.

Whereas with SMW, you can view the source of any page to see how something was done, and do it yourself.

Granted, SMW is not a full programming system and can't do everything php/Drupal can do, but it can cover a large number of cases - blogs, discussions, home pages, events, hypertext pages, database functions including locations, dates, etc.

Many non programmers edit Wikis, none can change a Drupal site. They're completely reliant on the plumber. The plumber has to chose a particular version of Drupal for particular modules, which is probably not the most recent version so it has built in obsolescence. If the client can't reach their original plumber, they better hope they can find someone who can deal with the previous work. SMW has core underpinnings, with markup on top of that, and it's all built on the thousands of tested MW modules.

People can progressively learn MW/SMW, they really can't do that with Drupal without creating a disaster. I've taught non technical people to create schemas, queries and views in SMW. They typically didn't use the advanced function after the overview, but at least I'm teaching them more than how to fill in a form, and the computer isn't so much a scary database and mystical programming language, it's clear it's a participatory medium built on the momentum of Wikipedia. There's no similar heralded Drupal site (Drupal was used for the Howard Dean campaign, but any CMS could have been used).

I don't know much about Wordpress, from what I understand it's more something you use as is, the customization is more around themes. Last I checked, Drupal was heading in a more fluid direction with CCK (with RDF under the covers for reusable content across sites), but it's still not the same thing as the "aliveness" of an SMW page. If I could cc this message to an SMW install (extensions exist for this), I could create todo events, pages, entities, all using the established MW/SMW combo from email.

My interest is in digital literacy.. getting people to stop using computers as fancy typewriters, instead create reusable statements, schemas, queries, progressively build on their knowledge in focused ways, always able to learn from examples. SMW excels at that. Any content on an SMW site can be reused between functions, and sites can access each other's information.

MW/SMW also comes with a culture of Creative Commons style licenses. On a MW/SMW site, any user can create their own sub site out of pages and structure, and take it away if they need to. On a Drupal site, it's all top down.

I try to get this across to clients, ultimately they usually enjoy the overview but can't participate for their own good reasons, which is fine. SMW isn't ready for everything yet, but I think the markup approach is the best way out of MS Word / forms based approaches.

See also: SMW as Lego blocks



RSS

Blikied on April 9, 2010



Views

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


Basic inference

Inference is used to derive information from basic information.

{{#ifexpr: {{{Population|}}} > 50000 | [[Category:City]] }}

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

  • Relating ontologies
  • Reusing content
  • Creating a big picture where anyone can ask questions and add their data


Mediawiki Widgets

Mediawiki Widgets allow embedding third-party site content for rich media (Youtube, photo sites, etc) and interactive discussions (DISQUS, Twitter, etc) without needing to set it up or host it on your site.

  • DISQUS discussion
    • Register with DISQUS
    • Get key
    • Create widget
    • Embed widget on pages

Converting content or sites

Hosting

  • Export a site, modularize by category
    • Complete site export
  • Special:Version
  • Free light/startup hosting
  • Inexpensive Mediawiki with SMW option
  • Wikia
  • Self-hosting

Getting help

  • View source of pages
  • Mediawiki help sites and community
  • Semantic mediawiki help sites and community
  • If it's for an open cause, ask me
    • Let's form a user group