Ontology-Based Design Pattern Recognition [chapter]

Damir Kirasić, Danko Basch
Lecture Notes in Computer Science  
This paper presents ontology-based architecture for pattern recognition in the context of static source code analysis. The proposed system has three subsystems: parser, OWL ontologies and analyser. The parser subsystem translates the input code to AST that is constructed as an XML tree. The OWL ontologies define code patterns and general programming concepts. The analyser subsystem constructs instances of the input code as ontology individuals and asks the reasoner to classify them. The
more » ... ce gained in the implementation of the proposed system and some practical issues are discussed. The recognition system successfully integrates the knowledge representation field and static code analysis, resulting in greater flexibility of the recognition system.
doi:10.1007/978-3-540-85563-7_50 fatcat:kb4spoaopzddnibuyjljs7fthu