Semantic MediaWiki special pages

The educational technology and digital learning wiki
Revision as of 16:15, 12 June 2013 by Daniel K. Schneider (talk | contribs) (Created page with "{{incomplete}} This page lists special pages for the Semantic MediaWiki (SMW) extensions and extensions that work with SMW, such as Semantic Forms. Semantic Formas ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page lists special pages for the Semantic MediaWiki (SMW) extensions and extensions that work with SMW, such as Semantic Forms.


Semantic Formas and SMW include a few special pages that allow to define semantic "elements" without hand coding. They also allow to add forms to pages, make queries, etc.

List and search

Special:Properties
List all properties (defined and undefined as well used and unused)
From there you then can browse through each property or data type.
Special:Types
Lists all data types that can be assigned to properties
Special:UnusedProperties
List all unused properties (defined and undefined)
Special:SearchByProperty
Enter property and an optional value
Special:Ask
Semantic search form. You should enter at least one information, i.e. which page to select. Optionally, what information to display about these pages. Read more in Semantic Search
Example: Simple query that will find all pages that include a "Has URL" property with value "http://edutechwiki.unige.ch/en/Semantic_Forms":
[[Has URL::http://edutechwiki.unige.ch/en/Semantic_Forms]]
Results are displayed in various ways. By default they are appended to the bottom of the same page.
Example: Simple query finding all instances of a Category
[[Category: Software information]]
Special:RunQuery
Allows to to link to a special query page using a form. Query forms have the same syntax as editing forms.
Ugly Example: Special:RunQuery/Software information (using a form made for editing)
Special:Forms
Lists all forms
Special:Templates
Lists all templates

Defining new classes, categories, forms, templates and properties

Special:CreateClass
Allows to enter all the data to create properties, a template, a form and a category for a single class. For more options, use the pages Create a property, Create a template, Create a form and Create a category instead (see below).
Special:CreateCategory
Creates a new category and associates a default form with this category. Categories are the same as normal MediaWiki categories, but will have an associated form.
Special:CreateForm
Creates a new form and an associated template. Therefore the template should be defined first.
Special:CreateProperty
Creates a new property and its type. By default a property is "page", i.e. its value will refer to a wiki page. You can link a property to pages that use a given form.
Special:CreateTemplate
Creates new user input templates, i.e. a list of input fields. You can enter field names, display label and the associated semantic property (the latter from a pulldown list of all properties)


Using forms

Special:FormEdit
Does not work as such, i.e. you must specifiy a form name and a target page in the URL
Examples: http://edutechwiki.unige.ch/en/Special:FormEdit?form=Software%20information&target=Semantic%20Forms or using Semantic forms syntax: Special:FormEdit/Software information/Some software
Special:FormStart
Allows to add a form to a page and then allows to edit the page.

Other