We use the ConceptBase system for analysing larger networks, e.g. enterprise models. Many queries rely on the transitive closure of some relations. If the graph has many loops (i.e. bi.directional transitive relations), then the DATALOG engine of ConceptBase gets to its knees.
Are there algorithms or heuristics known that deal specifically with this case? The DATALOG engine of ConceptBase does use tabling, i.e. it computes one fact only once. Still, graphs with many links pose a challenge.
Any hint is welcome!
Manfred