License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/OASIcs.SLATE.2014.85
URN: urn:nbn:de:0030-drops-45611
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2014/4561/
Go to the corresponding OASIcs Volume Portal


Fonseca, João M. Sousa ; Pereira, Maria João Varanda ; Henriques, Pedro Rangel

Converting Ontologies into DSLs

pdf-format:
9.pdf (0.5 MB)


Abstract

This paper presents a project whose main objective is to explore the Ontological-based development of Domain Specific Languages (DSL), more precisely, of their underlying Grammar.

After reviewing the basic concepts characterizing Ontologies and Domain-Specific Languages, we introduce a tool, Onto2Gra, that takes profit of the knowledge described by the ontology and automatically generates a grammar for a DSL that allows to discourse about the domain described by that ontology.

This approach represents a rigorous method to create, in a secure and effective way, a grammar for a new specialized language restricted to a concrete domain. The usual process of creating a grammar from the scratch is, as every creative action, difficult, slow and error prone; so this proposal is, from a Grammar Engineering point of view, of uttermost importance.

After the grammar generation phase, the Grammar Engineer can manipulate it to add syntactic sugar to improve the final language quality or even to add semantic actions.

The Onto2Gra project is composed of three engines. The main one is OWL2DSL, the component that converts an OWL ontology into an attribute grammar. The two additional modules are Onto2OWL, converts ontologies written in OntoDL (a light-weight DSL to describe ontologies) into standard OWL, and DDesc2OWL, converts domain instances written in the DSL generated by OWL2DSL into the initial OWL ontology.

BibTeX - Entry

@InProceedings{fonseca_et_al:OASIcs:2014:4561,
  author =	{Jo{\~a}o M. Sousa Fonseca and Maria Jo{\~a}o Varanda Pereira and Pedro Rangel Henriques},
  title =	{{Converting Ontologies into DSLs}},
  booktitle =	{3rd Symposium on Languages, Applications and Technologies},
  pages =	{85--92},
  series =	{OpenAccess Series in Informatics (OASIcs)},
  ISBN =	{978-3-939897-68-2},
  ISSN =	{2190-6807},
  year =	{2014},
  volume =	{38},
  editor =	{Maria Jo{\~a}o Varanda Pereira and Jos{\'e} Paulo Leal and Alberto Sim{\~o}es},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{http://drops.dagstuhl.de/opus/volltexte/2014/4561},
  URN =		{urn:nbn:de:0030-drops-45611},
  doi =		{10.4230/OASIcs.SLATE.2014.85},
  annote =	{Keywords: ontology, OWL, RDF, languages, DSL, grammar}
}

Keywords: ontology, OWL, RDF, languages, DSL, grammar
Collection: 3rd Symposium on Languages, Applications and Technologies
Issue Date: 2014
Date of publication: 18.06.2014


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI