SAI (Semantic Annotator for Inkscape) is an Inkscape extension that lets authors of semantically-annotated graphics bridge the gap between authoring vector graphics and adding semantics from a supporting ontology to their elements.
For further information, read our paper (published on the Journal on Technology & Persons with Disabilities, Volume 6).
- Install Inkscape on your computer.
- Ensure that the following libraries are installed on your Inkscape's Python environment:
RDFLibsvg.pathIsodate
- To install these libraries you may use pip:
> cd path/to/Inkscape > python.exe -m pip install -U --force-reinstall pip > cd bin > pip.exe install rdflib > pip.exe install isodate > pip.exe install svg.path
- Copy the contents of the /SAI folder (not the SAI folder itself!). On your Inkscape installation directory go to share/extensions and paste the files.
- Run Inkscape
- Create or load a .svg file.
- To run SAI, go to Extensions -> Semantic -> Add Annotation. The SAI GUI will launch.
- Go to File -> Load Ontology to load a new .rdf ontology.
- To select SVG elements to annotate, close the SAI GUI and select the desired elements on the Inkscape canvas.
- To annotate the selected elements, run SAI (point 3) and use the interface tree views and buttons.
- Save the resulting ontology by going to File -> Save Ontology. Temporary changes are always kept in your home folder (viso.json file)
Watch the video for a quick use overview.
