2,153
edits
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
(from mailing list) | (from mailing list) | ||
== Data design == | |||
- Create a top category for Semantic Classes. I called mine 'Categories'. | - Create a top category for Semantic Classes. I called mine 'Categories'. | ||
Line 11: | Line 13: | ||
categories outside of that structure for whatever your system needs. | categories outside of that structure for whatever your system needs. | ||
== MW tricks == | |||
=== Variables === | |||
You can make use of the VariablesExtension [1] and store the query (or its | |||
result? I'd like to know which one, but in the end it doesn't really matter) in | |||
a variable, which is helpful when you need the same query multiple times within | |||
a page. It looks like this: | |||
{{ #vardefine: some_variable_name | {{#show:{{PAGENAME}}| ?propertyname}} }} | |||
(silent) or | |||
{{ #vardefineecho: some_variable_name | {{#show:{{PAGENAME}}| ?propertyname}} }} (with output) | |||
Further down in the page you can write | |||
{{ #var: some_variable_name }} | |||
=== Specific searches === | |||
<nowiki> | <nowiki> | ||
Line 22: | Line 43: | ||
</inputbox> | </inputbox> | ||
</nowiki> | </nowiki> | ||
== Media == | |||
Neat talk on MW, with refs to SMW: http://www.youtube.com/watch?v=Ukytqe9pwDM | Neat talk on MW, with refs to SMW: http://www.youtube.com/watch?v=Ukytqe9pwDM | ||
[[Semantics]] | [[Semantics]] |