User:Skierpage/SMW queries
From MozillaWiki
- MediaWiki is like a swiss army knife with many implements that you can use as hammers, assuming you treat each datum as a page titled "Nail"
This wiki has the complex Semantic MediaWiki extension installed, so that the product team can use it for [feature pages and lists (see announcement).
Contents
Test queries
Here are some interesting queries. Rather than embedding the queries in this page, making it long and slow and heavyweight, they use Special:Ask to execute the query.
Everything in Category:Features
This picks up pages that have no property annotations. It's better than just browsing Category:Features because it shows all categories, and for grins I show the modification date
Everything in Category:Features
Everything with a Feature list property
This only picks up pages annotated with a Feature list, and it shows other Properties. Click any heading to sort by it.
Query for Feature list, show other properties
TODO
- Copy http://en.wikipedia.org/wiki/Template:Querylink to make it easier to link to a page with a query. (Still have to encode [ and ] as %5B and %5D)
- Why no interwiki link for wikipedia:Template:Querylink en:Template:Querylink wp:Template:Querylink ?