SMW quick reference
The Semantic MediaWiki quick reference is a two-page "cheat sheet",
created by Yaron Koren, for the MediaWiki extension Semantic MediaWiki and its
spinoff extensions Semantic Forms, Semantic Result Formats, Semantic Maps,
Semantic Compound Queries, Semantic Internal Objects,
Semantic Forms Inputs, Semantic Drilldown and External Data.
It was inspired by the wonderful cheat sheets at
and can be used, modified and re-published under the
It was last updated on January 22, 2013.
It can be downloaded here:
You can also download the original Inkscape
file, in .svg format, to make modifications/translations/etc., here:
Modifying the SVG file
To modify the SVG file, take the following steps:
- Download Inkscape, if you don't have it already - this is a very useful, open-source illustration program, available for most operating systems.
- Download the SMW logo image, from here.
- Open the SVG file within Inkscape.
- There should be an error message where the SMW logo belongs. Right-click on the error message, select "Image properties", and specify the location where you have put that image.
- Make any translations or other modifications you want.
To save the page as a PNG image file:
- Put a giant white rectangle behind all the other contents, to provide
whitespace around the contents (there may be other ways to do this)
- Hit "Ctrl-A" to select all the contents
- From the menu, go to "File > Export Bitmap...". The "Export area" should
be set to "Selection"
- Give the file whatever name you want, as long as it ends in .png
- Hit "Export"
To save the page as a PDF file:
- First, save the document.
- Unfortunately, Inkscape can only create a one-page PDF at a time. So you
will have to perform the following set of actions twice, the second time
shifting all the contents over so that the other page is within the black
"page" rectangle that Inkscape provides:
- From the menu, go to "File > Save As..."
- In the dropdown at the bottom of the new window, select "PDF (*.pdf)"
- Choose a file name and hit "Save"
- Do not re-save this document back as SVG. If you want to make any more changes, close the document, then open the SVG file again.
- Once both PDF files have been created, use software like Adobe Acrobat or a service
like mergepdf.net to combine the two
files into one.
A note about PDF in Inkscape: Inkscape lets you modify a PDF file, just as you would an SVG file, and then resave it back in SVG format later. However, this is not recommended, since resaving a file back and forth between the two formats leads to formatting errors, due to bugs in Inkscape, and will ruin the file. You should never resave a document from PDF back to SVG, if possible.