File:Class overview.png

Summarising a 'class' in SMW/SF

Overview of the Person class, as used by Semantic Forms. A class includes a form, a matching template, several properties, and a category. Several pages are defined as instances of the given class by their use of a common template (bottom left). The template adds semantic annotation to the passed data, and ensures that the calling page is placed in a specific category (top right). The use of the special property 'Has default form' in the category page associates the form with the pages in the category (bottom right), allowing the page to be edited with the form (top left).