@jh-RLI maybe the performance issues are related to the filter_scenario_bundles_view. executing it locally, it takes very long and fuseki spams a LOT of executed queries. there is a lot of nested loops, like here:
scenario_bundles_input = set()
for bundle, _, _ in self.oekg.triples(
(None, RDF.type, namespaces.OEO.OEO_00020227)
):
for scen in related_scenarios_input:
for s1, _, _ in self.oekg.triples(
(bundle, namespaces.OBO.BFO_0000051, scen)
):
if s1:
scenario_bundles_input.add((s1, bundle))
Originally posted by @wingechr in #2189
Originally posted by @wingechr in #2189