Hi @stephen
My previous post was closed due to > 14 days
I’ve been looking more into why ICV was so slow and I think I’ve discovered something. I had reasoning.consistency.automatic=true
in my database. I’ve turned it off, and now ICV is much snappier again.
With reasoning.consistency.automatic=true
I could insert data into my database and then run the following query with reasoning:
# Constraint: AxiomConstraint{bruker:Innsynskrav rdfs:subClassOf (bruker:forsendelsesmåte min 1 owl:Thing)}
SELECT DISTINCT *
FROM <http://data.einnsyn.no/innsynskravGraph>
FROM <http://www.arkivverket.no/standarder/noark5/arkivstruktur/ontologyGraph>
FROM <http://data.einnsyn.no/osloKommuneVirksomheterGraph>
FROM <http://data.einnsyn.no/brukereGraph>
FROM <http://data.einnsyn.no/virksomheterGraph>
WHERE {
?x0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.einnsyn.no/brukermeta/Innsynskrav> .
FILTER NOT EXISTS {
?x0 <http://data.einnsyn.no/brukermeta/forsendelsesmåte> ?x1 .
}
}
Which would take around 7 seconds on a test database.
Turning reasoning.consistency.automatic=true
to false
and following the same procedure, upload data and run the query now takes 50 ms.
@stephen, do you know why reasoning.consistency.automatic=true
makes that query so slow after inserting data?