Computer Science

Translating SVG into X3D using Ontology Mapping

Overview | Translation Process | Creating Mappings | Examples | Future Work

Authors: Owen Gilson and Nuno Silva

Overview

  1. A simple translator between SVG and X3D using Ontology Mapping techniques has been developed.
  2. The mappings were built and executed using MAFRA toolkit (further details or download).
  3. Two SVG object types (circle and rect) can be mapped to the the "equivalents" in X3D (sphere and box).
    Note that a 2D to 3D translation is being performed. This is not a 1:1 semantic mapping.
  4. Features handled:
    1. Alignment and mapping between object types
    2. Mapping between fill colours
    3. Mapping between sizes (width/height & radius)
    4. Mapping between object positions (x and y)
    5. Default values given to unknown parameters (i.e. depth of object and Z position)
  5. The mapping uses the following MAFRA features:
    1. Concept Bridges
    2. Extensional Specification
    3. Property Bridges:
      1. Copy Attribute
      2. Copy Relation
      3. Concat
      4. Attribute Table Translation
      5. Source Concept Specification
  6. There are three example translations:
    1. Simple shapes
    2. A representation of the planets in the solar system
    3. A picture of a house


University Home | Computer Science Home
About the Department | Research | Teaching | Online Resources