Semantic Wiki Guide: Difference between revisions

From Synthesis Infrastructures
No edit summary
Line 9: Line 9:
As a brief summary of how different parts of the wiki are split across different elements:
As a brief summary of how different parts of the wiki are split across different elements:


* '''[[Special:Properties|Properties]]''' - Define the "meaning" of links between pages. Each requires a data type (Most commonly another Page, but also text, URLs, dates, and so on), and can be linked to an external vocabulary like schema.org
* '''[[Special:Properties|Properties]]''' - Define the "meaning" of links between pages or external resources. Each requires a data type (Most commonly another Page, but also text, URLs, dates, and so on), and can be linked to an external vocabulary like schema.org
* '''[[Special:Templates|Templates]]''' - Group together multiple properties, and define how they are displayed on a page.
* '''[[Special:Templates|Templates]]''' - Group together multiple properties, and define how they are displayed on a page.
* '''[[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.
Line 15: Line 15:


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 ==
== Properties ==

Revision as of 03:18, 25 October 2022

This wiki runs Semantic Mediawiki - an extension that lets you declare triplet links with the current page as the subject, a Property which serves as the predicate, and an object with a type specified by the property.

Semantic mediawiki lets you declare semantic/triplet links within text with a minor extension to wikilinks like [[Property Name::Object]] with a :: delimiter.

To combine fluid semantic properties with more structured information, we additionally make use of Templates and Forms using the Page Forms and Page Schemas extensions.

Component Summary

As a brief summary of how different parts of the wiki are split across different elements:

  • Properties - Define the "meaning" of links between pages or external resources. Each requires a data type (Most commonly another Page, but also text, URLs, dates, and so on), and can be linked to an external vocabulary like schema.org
  • Templates - Group together multiple properties, and define how they are displayed on a page.
  • Forms - Provide an interface for creating/editing pages by filling the values in (potentially multiple) Templates.
  • Categories - Define schemas for categories of objects on the wiki that group together a (single) form, template(s), and schemas.

Typically one would define these from "bottom to top" - defining properties, then templates, and so on, but 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

  • Types
  • External Schema Integration

Templates

References