Semantic query optimization uses semantic knowledge (i.e., integrity constraints) to transform a query into an equivalent one that may be answered more efficiently. This article proposes a general method for semantic query optimization in the framework of Object-Oriented Database Systems. The method is effective for a large class of queries, including conjunctive recursive queries expressed with regular path expressions and is based on three ingredients. The first is a Description Logic, ODL RE , providing a type system capable of expressing: class descriptions, queries, views, integrity constraint rules and inference techniques, such as incoherence detection and subsumption computation. The second is a semantic expansion function for queries, which incorporates restrictions logically implied by the query and the schema (classes + rules) in one query. The third is an optimal rewriting method of a query with respect to the schema classes that rewrites a query into an equivalent one, by determining more specialized classes to be accessed and by reducing the number of factors. We implemented the method in a tool providing an ODMG-compliant interface that allows a full interaction with OQL queries, wrapping underlying Description Logic representation and techniques to the user.
The follow-up of external science alerts received from gamma-ray burst (GRB) and gravitational wave detectors is one of the AGILE Team’s current major activities. The AGILE team developed an automated real-time analysis pipeline to analyze AGILE Gamma-Ray Imaging Detector (GRID) data to detect possible counterparts in the energy range 0.1–10 GeV. This work presents a new approach for detecting GRBs using a convolutional neural network (CNN) to classify the AGILE-GRID intensity maps by improving the GRB detection capability over the Li & Ma method, currently used by the AGILE team. The CNN is trained with large simulated data sets of intensity maps. The AGILE complex observing pattern due to the so-called “spinning mode” is studied to prepare data sets to test and evaluate the CNN. A GRB emission model is defined from the second Fermi-LAT GRB catalog and convoluted with the AGILE observing pattern. Different p-value distributions are calculated, evaluating, using the CNN, millions of background-only maps simulated by varying the background level. The CNN is then used on real data to analyze the AGILE-GRID data archive, searching for GRB detections using the trigger time and position taken from the Swift-BAT, Fermi-GBM, and Fermi-LAT GRB catalogs. From these catalogs, the CNN detects 21 GRBs with a significance of ≥3σ, while the Li & Ma method detects only two GRBs. The results shown in this work demonstrate that the CNN is more effective in detecting GRBs than the Li & Ma method in this context and can be implemented into the AGILE-GRID real-time analysis pipeline.