SlideServe
Menu
Préférences
© SlideServe · v2026

Querying Ontology Based Database Using OntoQL

agatha avatar
22 diapositives · 445 Views · Aug 09, 2014

Querying Ontology Based Database Using OntoQL. Stephane Jean et al. Presented by: Meher Talat Shaikh. Overview. OntoQL is a language for defining, manipulating and querying data stored in an OBDB. Objective: retrieve definition, meaning, translation and/or identifier of a given data item.

Querying Ontology Based Database Using OntoQL - slide 1
01 / 22Querying Ontology Based Database Using OntoQL
1 / 17

Télécharger la présentation

Querying Ontology Based Database Using OntoQL
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Querying Ontology Based Database UsingOntoQL Stephane Jean et al. Presented by: Meher Talat Shaikh

  2. Overview • OntoQL is a language for defining, manipulating and querying data stored in an OBDB. • Objective: retrieve definition, meaning, translation and/or identifier of a given data item. • OBDB (OntoDB) data model: created and customized by users • OntoQL operators that makes up OntoAlgebra • Example queries

  3. OBDB data model Built on top of relational database model. Both the ontology and the instances are kept in the same database. Content part: Stores the instances Ontology part: Stores ontology definitions

  4. Ontology • E is a set of entities representing the ontology model • OC is the set of concepts of ontologies • A is the set of attributes describing each OC • SuperEntities: associates set of super entities to an entity (E 2E1 ) • TypeOf: Associates the strongest entity to each concept of ontology (OC E) • AttributeDomain, AttributeRange • Val

  5. Ontology kernel

  6. Ontology example

  7. Ontology class example

  8. Content • EXTENT is a set of extensional definitions of ontology classes • I is the set of instances of the OBDB • TypeOf : I EXTENT • SchemaProp : EXTENT  2P • Val

  9. Content cont.. Relationship between ontology and content is defined by partial function nomination: CEXTENT Classes without extensional definition are said to be abstract

  10. Content example

  11. Onto Algebra • OntoImage: returns collection of objects after applying a specific function. OntoImage(C, IC, p) • OntoProject: allows the application of more than one function. • OntoSelect: creates a collection of objects satisfying a selection predicate. • OntoJoin: creates relationships between objects of two collections. • * : introduces polymorphism: returns the instances of the class C and all the classes subsumed by C

  12. OntoQL • Extension of SQL • DDL to create, alter and drop concepts of ontologies to create, alter and drop attributes of these concepts of ontologies • DML Update, Insert, Delete etc.

  13. OntoQL DDL

  14. Laboratory example

  15. Querying OBDB

  16. example queries

  17. OntoQL Features • Path expressions. Associations may be traversed using dot notation. • Polymorphic query: * operator • Nested queries • Aggregate functions: count, avg, min max. • Quantification: Existential (ANY, SOME) and universal (ALL) • Set operators: Union, Intersection and Except

  18. Processing of ONtoQL • OntoQL query is parsed into an OntoAlgebra expression tree • path expressions and * operators removed • The expression tree is optimized • OntoAlgebra is translated to relational algebra tree. • The relational algebra tree is optimized. • The optimized relational algebra trees are translated into SQL queries.

  19. Advantages of OntoQL • Based on SQL • Allows schema manipulation • Express queries in different languages. • Provides GROUP BY and ORDER By operators.

  20. Shortcomings • FROM Clause is mandatory • Does not yet support multi-instantiation capability • Large sets of data are to be evaluated to study the OntoQL scalability issue.

  21. Conclusion • OntoQL is effective in querying data, ontology and both • Based on Object oriented concepts and RDB model • conceptual model may be created and customized by users.

  22. Thank you.