Query Languages for Integrated Models
Fernando Silva Parreiras · 2012
This chapter describes a querying approach to support developers in querying integrated models. It examines a combination of existing approaches and introduces the solution for querying integrated models. In order to be able to query integrated models, a query framework needs to be integrated on the metamodeling level. The chapter investigates the possibilities for querying elements of the combined metamodel in a flexible manner using or combining existing languages. It analyzes the combination of existing query languages for unified modeling language (UML) class-based modeling and web ontology language (OWL). The chapter presents a concise query language for querying OWL ontologies: SPARQLAS. The adaptation of SPARQLAS, SPARQLAS4TwoUse, allows the definition of query operations for TwoUse classes that rely on ontology reasoning services. The combination of object constraint language (OCL) and SPARQLAS4TwoUse allows for using the results of ontology reasoning services as input of OCL queries. Controlled Vocabulary Terms knowledge representation languages; unified modeling language