Semantic Wiki Guide: Difference between revisions

796 bytes added ,  03:38, 25 October 2022
no edit summary
No edit summary
Line 13: Line 13:
* '''[[Special:Forms|Forms]]''' - Provide an interface for creating/editing pages by filling the values in (potentially multiple) Templates.
* '''[[Special:Forms|Forms]]''' - Provide an interface for creating/editing pages by filling the values in (potentially multiple) Templates.
* '''[[Special:Categories|Categories]]''' - Define [https://www.mediawiki.org/wiki/Extension:Page_Schemas schemas] for categories of objects on the wiki that group together a (single) form, template(s), and schemas.
* '''[[Special:Categories|Categories]]''' - Define [https://www.mediawiki.org/wiki/Extension:Page_Schemas schemas] for categories of objects on the wiki that group together a (single) form, template(s), and schemas.
== Worked Example ==


Typically one would define these from "bottom to top" - defining properties, then templates, and so on, but [https://www.mediawiki.org/wiki/Extension:Page_Schemas Page Schemas] provides an interface that makes it much easier for doing it "top to bottom" by defining a schema that then can be used to generate the relevant forms, templates, and properties. This order gets messier with longer-lived wikis that then reuse properties and templates across categories, but we'll start with a simplified example of creating [[:Category:Resource]]
Typically one would define these from "bottom to top" - defining properties, then templates, and so on, but [https://www.mediawiki.org/wiki/Extension:Page_Schemas Page Schemas] provides an interface that makes it much easier for doing it "top to bottom" by defining a schema that then can be used to generate the relevant forms, templates, and properties. This order gets messier with longer-lived wikis that then reuse properties and templates across categories, but we'll start with a simplified example of creating [[:Category:Resource]]


== Properties ==
=== Category/Schema ===
 
* Page schemas extension example
* Subcategories
* Relationship between schema and instantiation in subpages via generation and potential subsequent editing. (how 2 use wiki histories)
 
=== Forms ===
 
* Page forms syntax and the relationship between page schemas and page forms
* Forms with multiple templates
* The relationship between a form and the free text in a page
* How a particular form is indicated by a page.
 
=== Templates ===
 
* Format/Syntax
* Relationship between display and semantic groupings/categories
* Order of operations from page schemas.
* Relationship to more general mediawiki templates
 
=== Properties ===


* Types
* Types
* External Schema Integration
* External Schema Integration


== Templates ==


== Queries/Displaying Data ==
* <code>Ask</code> syntax and usage
* inverse property lookup and assignment




Line 28: Line 53:


* SMW Data Types: https://www.semantic-mediawiki.org/wiki/Help:List_of_datatypes
* SMW Data Types: https://www.semantic-mediawiki.org/wiki/Help:List_of_datatypes
[[Has completion status::in progress]]