6. Query Languages for Integrated Models

  1. Fernando Silva Parreiras

Published Online: 21 MAY 2012

DOI: 10.1002/9781118135068.ch6

Semantic Web and Model-Driven Engineering

Semantic Web and Model-Driven Engineering

How to Cite

Parreiras, F. S. (2012) Query Languages for Integrated Models, in Semantic Web and Model-Driven Engineering, John Wiley & Sons, Inc., Hoboken, NJ, USA. doi: 10.1002/9781118135068.ch6

Author Information

  1. FUMEC University, Brazil

Publication History

  1. Published Online: 21 MAY 2012
  2. Published Print: 1 JUN 2012

ISBN Information

Print ISBN: 9781118004173

Online ISBN: 9781118135068



  • metamodel;
  • object constraint language (OCL);
  • querying integrated models;
  • SPARQLAS4TwoUse;
  • UML class-based modeling;
  • unified modeling language (UML);
  • web ontology language (OWL)


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