Last modified: 2010-10-27 00:15:43 UTC
I often redirect code-pages to their current description page, and would like to query these code pages in several places in the user interface. These code pages are also categorized. SMW does not permit redirect pages to be visible, so they can't currently be queried at all. It'd be terrific to have a special SMW property, "Semantic redirect", that is created on a redirect page when multiple values exist for the present "redirect to page" property. A default form can ask the user to resolve pesky ambiguous user-initiated page navigations, listing the values of the "redirect to page" property, and showing the text stored for the page. 'Semantic redirect' is used by ask/show as the default path when multiple valeus exist for the 'redirect to page' property. Examples (note:'redirect to page' is simpified to 'redirect'): 1. Query Redirect pages of a namespace {{#ask: [[NS:+]] [[#REDIRECT]] }} 2. Query Redirect pages of a category {{#ask: [[Category:X]] [[#REDIRECT]] }} 3. Query Redirect pages of a property {{#ask: [[X::+]] [[#REDIRECT]] }} 4. Query Redirect page target(s) {{#ask: [[redirect::~root/]] [[#REDIRECT]] }} 5. Query Redirect page property {{#ask: [[semantic redirect::+]] [[#REDIRECT]] }} 6. Query property of target page {{#ask: [[redirect.X::+]] [[#REDIRECT]] }} 7. Query pair-wise value namespace of target page(s) {{#ask: [[redirect namespace::+]] [[#REDIRECT]] }}