Rule Modeling

From semantic-mediawiki.org
Jump to: navigation, search

This page described tips for rule modeling in Semantic MediaWiki. The rule modeling can be viewed as part of wiki-level application logic.

What is a rule

When we're talking about rules we usually mean that the system has to do something responding to some condition.

A rule therefore is a construction that has condition and the action to be made if the condition is fulfilled.

How to model rules in Semantic MediaWiki ?

In Semantic MediaWiki a rule is like a recipe where ingredients are :

  • ask queries
  • parser function like #if:, #arraymap:, #switch
  • variables and loops
  • Lua scripts
  • SMW inference support
  • SMW concepts
  • MW templates

From semantic values to Category with parser functions

From semantic values in a template to semantic values in a template with parser functions

External links

This page is a DRAFT!
The content of this page is incomplete and might contain errors.