From e8d6148088737039256f60c91a0a985c7e361c51 Mon Sep 17 00:00:00 2001 From: Bogdan Kostov Date: Tue, 22 Oct 2024 20:49:40 +0200 Subject: [PATCH] [Fix partially kbss-cvut/fta-fmea-ui#638] Fix graph pattern for matching fha based failure rate --- src/main/java/cz/cvut/kbss/analysis/dao/FaultTreeDao.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/cz/cvut/kbss/analysis/dao/FaultTreeDao.java b/src/main/java/cz/cvut/kbss/analysis/dao/FaultTreeDao.java index 5745692..aaf86d2 100755 --- a/src/main/java/cz/cvut/kbss/analysis/dao/FaultTreeDao.java +++ b/src/main/java/cz/cvut/kbss/analysis/dao/FaultTreeDao.java @@ -128,8 +128,7 @@ public Query getSummariesQuery() { ?failureRateRequirement fta:to ?requiredFailureRate. } OPTIONAL{ - ?rootEventType fta:is-derived-from ?supsup. - ?supsup fta:has-failure-rate ?fhaFailureRateQ. + ?rootEventType fta:has-failure-rate ?fhaFailureRateQ. ?fhaFailureRateQ fta:has-estimate ?fhaFailureRateP. ?fhaFailureRateP a fta:failure-rate-estimate; fta:value ?fhaBasedFailureRate.