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
- Tricks with ask, templates, parser-functions, loops, vars and inference by Yury Katkov
- paper about Rule Modeling Using Semantic MediaWiki
- The extension Rule Knowledge released on 2009
| This page is a DRAFT!|
The content of this page is incomplete and might contain errors.