Semantic MediaWiki special pages
Jump to navigation
Jump to search
Warning: Needs to be reorganized, so far it's a cut/paste from the Semantic Forms article .....
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.
1 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:UnusedProperties
- List all unused properties (defined and undefined). In principle properties that show up should be deleted since they are in no use at all.
- Special:WantedProperties
- List all used properties that do not have a descriptive page.
- Special:Types
- Lists all data types that can be assigned to properties
- Special:SearchByProperty
- Enter property and an optional value
- Special: Allpages
- By selecting a namespace (e.g. Form or Property) you can list pages about properties, categories, types, forms. This also can be useful for finding unused and garbled ones ...
- 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:PageProperty
- Displays either all values a page has for a property or all values for a property on all pages. Users either enter a page and a property name or a property name.
- Special:RunQuery
- requires Semantic Forms
- 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
- requires Semantic Forms
- Lists all forms
- Special:Templates
- requires Semantic Forms
- Lists all templates
- special:browseData
- requires Semantic Drilldown
- Browse data with categories
2 Defining new classes, categories, forms, templates and properties
- Special:CreateProperty
- Creates a new property and its type. By default a property is of type "page", i.e. the property value will refer to a wiki page. Each property should be defined with a page in the Properties Namespace. E.g. Property:Was_last_edited
- Special:CreateClass
- requires Semantic Forms
- 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
- requires Semantic Forms
- 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
- requires Semantic Forms
- Creates a new form and an associated template. Therefore the template should be defined first.
- Special:CreateTemplate
- requires Semantic Forms
- 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)
3 Using forms
- Special:FormEdit
- requires Semantic Forms
- 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
- requires Semantic Forms
- Allows to add a form to a page and then allows to edit the page.
4 Other
- Category pages will tell if the category is based on a semantic form, e.g. see Category:Software_information