ErdenDocs

When a check is refused

What each reasoner limit, source refusal, SHACL refusal and platform message from erden check or a publication means, and exactly what to do about it.

Who needs this, and when

Who: anyone whose erden check or publication stopped with a refusal instead of a result. When: as soon as you see one. Status: these messages come from every Erden CLI and registry; nothing needs to be turned on.

Every refusal names three things: the file it is about, the term or limit it reached, and the setting or fix that changes it. Find the code in the first line of the message, then its section below.

Code in the messageMeaning in one lineSection
budget-exhausted, wall-time-budgetThe reasoner ran out of timeThe time budget
max-input-axioms, max-inferencesThe ontology or its inferences are larger than the limitThe size limits
REQUEST_TOO_LARGE, STDOUT_OVERFLOWThe request to the reasoner, or its answer, is too many bytesThe size limits
CHECK_OUTSIDE_PROFILEStatements the reasoner does not reason over yetNot reasoned over yet
undeclared-annotation-property (a warning)A property is used without a declarationAnnotations every project may use
incomplete-certificate, uncheckable-inconsistencyThe ontology has no model, and Erden cannot certify why yetAn inconsistency Erden cannot certify yet
shacl-unsupported-constructThe shapes use SHACL the bundled SHACL engine cannot runSHACL the engine cannot run
CHECK_SHACL_REFUSED, CHECK_SHACL_…The SHACL engine refused the shapes or could not answerWhen the SHACL engine stops the check
CHECK_ONTOLOGY_SOURCE_REFUSED, …_PARSE_ERRORA source file could not be readA refused source
CHECK_TOOLCHAIN_UNAVAILABLEThis computer has no bundled reasonerYour computer is not supported
CHECK_LOCK_STALE, INSTALL_PROJECT_TRANSACTION_PENDINGThe lockfile does not match, or an install was interruptedLockfile and install

The time budget

The reasoner decides inside a wall-time budget: 30 seconds by default for a local check. The hosted registry has its own budget. When the time runs out, the check stops with budget-exhausted:

Reasoning: failed (budget-exhausted)
...
Failures:
- [reasoning] budget-exhausted
- [reasoning/wall-time-budget] Wall-time budget elapsed; internal worker was terminated
- [reasoning] the wall-time budget of 30000 ms elapsed; ERDEN_REASONER_MAX_WALL_TIME_MS sets it (1000 to 600000 ms)

What to do:

  1. Check again with more time, in milliseconds:

    ERDEN_REASONER_MAX_WALL_TIME_MS=120000 erden check --offline
  2. If it passes, the ontology is fine and only needed time. A larger budget never changes a verdict that both budgets reach.

  3. Before you publish, ask the Erden team what its budget is. The registry runs the same check with its own budget, so a publication can still be refused with budget-exhausted if the registry's is lower. They can raise it.

Some shapes take much longer than their size suggests: many properties with ranges, or many individuals that each have many property values. If even ten minutes is not enough, more time will not help; split the data out of the ontology, or report the ontology to the Erden team.

The size limits

Three more limits keep a check bounded. Each message names the variable that sets it and its range:

LimitDefaultWhat the message says
ERDEN_REASONER_MAX_INPUT_AXIOMS100,000the ontology normalized to N input axioms, over the limit of 100000; ERDEN_REASONER_MAX_INPUT_AXIOMS sets it
ERDEN_REASONER_MAX_INFERENCES100,000reasoning reached the limit of 100000 inferred statements; ERDEN_REASONER_MAX_INFERENCES sets it
ERDEN_REASONER_MAX_REQUEST_BYTES16 MiBREQUEST_TOO_LARGE, with the request's size and the three source files that contribute the most axioms

A registry can set a lower size limit than your machine, so a package that passes erden check can still be refused at publication. erden publish then fails with CHECK_REQUEST_TOO_LARGE or CHECK_STDOUT_OVERFLOW and names the limit, which only the registry's operator can raise.

A real REQUEST_TOO_LARGE, from a check run with the smallest ceiling:

Erden check could not complete [reasoning/CHECK_REQUEST_TOO_LARGE]: Trusted reasoning could not complete
- [REQUEST_TOO_LARGE] Canonical reasoner request is 4249859 bytes, over the 1048576-byte request ceiling; ERDEN_REASONER_MAX_REQUEST_BYTES sets it (1048576 to 134217728 bytes); the largest sources are ontology.ttl (7501 axioms)

The bundled reasoner reads at most 16 MiB however high the setting is; above that, the message names the bundled reasoner and its own ceiling instead. STDOUT_OVERFLOW is the same ceiling reached by the reasoner's answer, which can be several times larger than the request when individuals infer many types.

What to do: raise the named variable for your check, as for the time budget, and ask the Erden team about publication limits. Large data usually belongs in a separate layer from the ontology that describes it.

A value outside a limit's range is a usage error (exit code 2) that names the variable:

Erden usage error: ERDEN_REASONER_MAX_WALL_TIME_MS must be a whole number of milliseconds from 1000 to 600000

Not reasoned over yet

The reasoner covers a growing part of OWL 2, on the way to all of it (see Reasoning coverage in the glossary). A check refuses the statements it does not reason over yet before reasoning starts, and lists all of them at once:

Erden check could not complete [reasoning/CHECK_OUTSIDE_PROFILE]: 5 statements in 2 findings are outside what Erden reasons over yet, starting with owl:Restriction on https://example.invalid/erden/project#Dog; set outsideProfile to report to reason over the rest and list these
- ontology.ttl:14:5 [OUTSIDE_PROFILE] [unreasoned/owl:Restriction] https://example.invalid/erden/project#Dog http://www.w3.org/2000/01/rdf-schema#subClassOf (4 statements) is ObjectMinCardinality: SubClassOf(<https://example.invalid/erden/project#Dog> ObjectMinCardinality(1 <https://example.invalid/erden/project#chases>))
- ontology.ttl:12:34 [OUTSIDE_PROFILE] [unreasoned/owl:AsymmetricProperty] https://example.invalid/erden/project#chases http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.w3.org/2002/07/owl#AsymmetricProperty is AsymmetricObjectProperty: AsymmetricObjectProperty(<https://example.invalid/erden/project#chases>)

Each line says what was refused and where:

PartWhat it tells you
ontology.ttl:14:5The file, line and column of the statement. Lines and columns count from 1
[unreasoned/owl:Restriction]Erden's group for it: unreasoned for logic the reasoner skips, annotation for statements with no logical effect
The IRIs, and (4 statements)The statement's subject, predicate and object, and how many statements it covers with its anonymous parts
is ObjectMinCardinalityThe exact OWL 2 construct, such as ObjectMinCardinality, ObjectHasValue or AsymmetricObjectProperty
After the colonThe statement in OWL functional-style syntax

An anonymous statement has no subject to print, so the text after the colon names it by what it says: the axiom an owl:Axiom annotates (AxiomAnnotation on SubClassOf(...) with ...), or the class expression a general class axiom starts from.

Where the position points, by format:

  • Turtle and N-Triples: the statement's predicate, or its object when the object starts on a later line, as in a list of objects over several lines.
  • RDF/XML: the property element that states it, inside its node element; a statement inside an anonymous structure, and anything the element does not state directly, points to the element's start tag.
  • JSON-LD: the node object that holds it.

If a file's positions cannot be worked out, the line names the file alone. The list stops at 10,000 findings; a larger ontology ends with a line that says how many more were not listed, such as 5315 more findings are outside what Erden reasons over yet and are not listed: this list stops at 10000 of 15315. Report mode, below, counts every one of them by construct.

What to do:

  • In your own ontology, change the statement. For a datatype, use one the reasoner decides: xsd:string instead of xsd:anyURI, xsd:dateTime instead of xsd:dateTimeStamp.
  • In a file you cannot edit, such as a standard you mirror, add "outsideProfile": "report" to that project's manifest. The check then reasons over the rest and lists these statements under Not reasoned, with the OWL construct, the description and the position of each example. See mirror an upstream ontology.

Report mode never stops at a statement it cannot read. A structure the reasoner's input cannot represent, such as a list two expressions share, becomes one more finding, [unreasoned/malformed-rdf], whose description starts with the reason; the rest is reasoned. In refuse mode the same statement stops the check with that reason and its position.

The same happens when two layers disagree about a property. If one ontology in the check declares dct:creator an owl:ObjectProperty and another gives it a literal value, such as dct:creator "A. Author", the literal cannot be read as an object property assertion. The reason names the property and says it is declared an object property in the checked ontologies. The mode of the project that makes the statement decides: in report mode the statement is a [unreasoned/malformed-rdf] finding and the rest is reasoned; in refuse mode the check stops at it.

A union domain, such as rdfs:domain [ owl:unionOf ( ex:Person ex:Organization ) ], is reasoned by trying each case. When a case's conclusion would have to reach another individual or class, which the reasoner cannot follow yet, report mode leaves that domain statement out as [unreasoned/union-domain-not-local] and reasons over the rest; in refuse mode the check stops with the refusal union-domain-not-local, naming the domain axiom. Counting restrictions (at most one, or functional properties) over a property built from a transitive property or a chain are refused as non-simple-property-in-cardinality, as OWL 2 forbids them.

Annotations every project may use

Some statements carry no logic, so the reasoner never needs them. A check accepts them in either mode, leaves them out of reasoning, and keeps them in the published ontology:

  • rdfs:seeAlso and owl:versionIRI, with an IRI or a literal value;
  • a property your files use without declaring it, with an IRI or a literal value. It is read as an annotation property, and the report has a warning for each one, with the place it is first used:
Warnings:
- [reasoning/undeclared-annotation-property] http://purl.org/dc/terms/title is used in 1 statement without a declaration, so it is read as an annotation property and not reasoned over (first use at ontology.ttl:9:5); declare it to make this explicit

Declare such a property, dct:title a owl:AnnotationProperty ., to make the warning go away. In a project in refuse mode, a property from another namespace also needs that declaration for the core ontology stage's borrowed-term rule, which asks every term a project borrows to be declared. If you meant it to carry logic, declare it as an owl:ObjectProperty or owl:DatatypeProperty instead.

A blank-node value, such as rdfs:seeAlso [ ... ], is still not reasoned over.

Competency questions now work in projects that use union domains (rdfs:domain with owl:unionOf); they used to fail with COMPETENCY_QUESTION_ARTIFACT_MISMATCH.

An inconsistency Erden cannot certify yet

Erden accepts an answer from the reasoner only with a proof it checks itself. When the reasoner finds that the ontology has no model but the proof checker cannot verify the reason, the check fails with incomplete-certificate and uncheckable-inconsistency instead of reporting an inconsistency nobody checked.

The usual cause is a value outside the range of its property. Each such value is its own failure: it names the subject, the property, the value and the range, and ends with the file, line and column of the statements that clash:

- [reasoning/uncheckable-inconsistency] <https://example.test/root> <https://example.test/root#modified> "2026-09-03"^^xsd:string, but <https://example.test/root#modified> has range xsd:dateTime, and "2026-09-03"^^xsd:string is not a value of xsd:dateTime, so the ontology is inconsistent; Erden's proof checker cannot certify this kind of inconsistency yet, so reasoning is refused (at ontology.ttl:8:5, ontology.ttl:10:5)

Datatypes share no value unless one is a subtype of the other, as xsd:integer is of xsd:decimal: no xsd:string and no xsd:date is an xsd:dateTime, and an untyped "2026-09-03" in Turtle is an xsd:string. This applies to ontology headers too: once any file declares dcterms:modified an owl:DatatypeProperty with a range, the header statement <ontology> dcterms:modified "2026-09-03" is a value of that data property, wherever it is written. A value reached through a sub-property names the sub-property as well.

What to do: write the value in the range's datatype ("2026-09-03T00:00:00"^^xsd:dateTime), or change the range. The two statements can be in different projects, such as a dependency's header and your range; fix the one you own. If both are in a dependency, its owner has to publish a fixed version.

The other causes do not name statements yet: an owl:Thing that can have no members (for example, equivalent to two disjoint classes), two values of a functional data property that the checker cannot compare, and, in an ontology that uses only classes, subclasses, domains, ranges and disjointness, an individual that falls into two disjoint classes only through its subclasses, domains or ranges.

SHACL the engine cannot run

Erden checks shapes with its bundled SHACL engine, erden-shacl (PurRDF purrdf-shapes 3.0.1), which runs SHACL Core, SHACL-SPARQL (sh:sparql constraints, constraint components you declare with SPARQL validators, and SPARQL-based targets) and SHACL-AF node expressions (sh:expression). A few constructs it cannot run. Before any shape runs, the check looks for these, and if it finds one it refuses the whole SHACL step: no shape is checked, not even the others, and no partial results are reported. The other stages run as usual, and the check fails:

SHACL: refused (shacl-unsupported-construct)
...
Failures:
- [shacl/shacl-unsupported-construct] the SHACL step was refused and no shape was checked: 1 statement in the shapes uses SHACL the bundled engine cannot run
- shapes.ttl:19:3 [shacl/js-constraint] https://example.invalid/erden/demo#JsShape uses a SHACL-JS constraint (sh:js), which the bundled SHACL engine (erden-shacl 0.1.0+purrdf.3.0.1) cannot run (http://www.w3.org/ns/shacl#JSConstraintComponent)

Each line names the file, line and column of the statement, the kind of construct, the shape it belongs to (for an anonymous property shape, the named shape that owns it), what is unsupported, and, in brackets, the constraint component or construct. Every one in the selected shapes is listed, including those from dependencies.

KindWhat the shapes useWhy the engine cannot run it
js-constraintA SHACL-JS constraint, sh:jsIt has no JavaScript engine, and SHACL-JS is not part of SHACL 1.2
constraint-componentA parameter of a constraint component the shapes declare with a SHACL-JS sh:JSValidatorThe same
owl-importsowl:imports in a shapes fileErden never fetches imports
entailmentsh:entailment, asking for an entailment regimeSHACL requires refusing a regime the processor does not apply

Older reports may name three more kinds, sparql-constraint, expression-constraint and custom-target, and constraint-component for SPARQL validators: the engine Erden used before erden-shacl could not run those, and they are now checked like any other shape.

What to do:

  • For SHACL-JS, rewrite the constraint in SHACL Core or SHACL-SPARQL (sh:sparql, or a constraint component with a sh:SPARQLAskValidator or sh:SPARQLSelectValidator).
  • For owl:imports in a shapes file, remove it. The shapes of your dependencies are already checked with yours, and the ontology is validated after reasoning.
  • For sh:entailment, remove it. Shapes are checked against the graph after Erden's reasoning, which already holds the subclass, domain and range consequences.

If the shapes come from a dependency, the refusal names its file; ask its maintainer, or remove the dependency.

In the JSON report (--json, which still prints the full report), the SHACL stage has "status": "failed", the failure code shacl-unsupported-construct instead of shacl-conformance, empty findings, shapes and selfTest, and a list details.unsupported. Each entry has kind, shape (or null), construct, message, sourceId, file and, when the file's positions can be worked out, location with file, line and column. The field is present only on a refused step, so other reports are unchanged. The exit code is 1, as for any completed check that does not pass; a publication with such shapes fails validation the same way.

When the SHACL engine stops the check

These stop the check with exit code 3 ("could not complete"), as the reasoner's operational failures do. The code is in the first line, after CHECK_:

CodeWhat happenedWhat to do
SHACL_REFUSEDerden-shacl refused the shapes: an ill-formed shape, a SPARQL query it cannot prebind, or a limitThe message gives the engine's reason and, when it names a shape, the shape and its file; fix that shape
SHACL_BUDGET_EXHAUSTEDValidation took longer than its limit, 120 seconds unless ERDEN_SHACL_MAX_WALL_TIME_MS sets itRaise ERDEN_SHACL_MAX_WALL_TIME_MS (1000 to 600000 ms), or make the shapes or the data smaller
SHACL_LIMITS_INVALIDERDEN_SHACL_MAX_WALL_TIME_MS is not a whole number from 1000 to 600000Fix or unset it
SHACL_ENGINE_UNAVAILABLENo usable erden-shacl here: no package for this computer, or it failed its integrity checkRun erden doctor; reinstall the CLI if the SHACL engine line is not known-answer passed
SHACL_ANSWER_UNTRUSTED, SHACL_ENGINE_FAILEDThe engine's answer did not pass Erden's checks, or the engine stopped without oneRun erden doctor; if it passes, report the problem with the project that causes it

For example, a SPARQL constraint whose query does not parse:

Erden check could not complete [validation/CHECK_SHACL_REFUSED]: Ontology validation could not complete
- shapes.ttl [SHACL_REFUSED] erden-shacl refused the SHACL step (shapes-invalid) at shape https://example.invalid/erden/demo#BrokenShape: sh:sparql constraint on shape <https://example.invalid/erden/demo#BrokenShape> has an unparsable sh:select query: SPARQL syntax error at byte 30: expected an RDF term, found Some(RBrace)

A project without shapes never starts the SHACL engine, so none of these can happen to it.

A refused source

A source that cannot be read stops the check before anything else, with the file and the reason:

Erden check could not complete [sources/CHECK_ONTOLOGY_SOURCE_REFUSED]: Project sources could not be discovered or assembled
- s.jsonld [ONTOLOGY_SOURCE_REFUSED] Refused (jsonld-remote-context): the JSON-LD context "https://schema.org/" would have to be loaded; inline it in the source
Reason in the messageWhat to do
jsonld-remote-contextDownload the context once and put it in the file in place of its URL
xml-external-entity, xml-external-dtd, xml-parameter-entityThe RDF/XML file asks to load something else. Erden never does; use a file without them
xml-encoding-declarationSave the file as UTF-8 and declare encoding="UTF-8"
named-graphThe file describes more than one graph. Use a single-graph serialization
A parser message with a lineThe file is not valid in the format its extension says. Check the extension and the download

Erden reads Turtle (.ttl), N-Triples (.nt), RDF/XML (.rdf, .owl), and JSON-LD (.jsonld). A folder in sources.ontology means its .ttl files only; name files in other formats one by one.

Your computer is not supported

Erden bundles a qualified reasoner for Linux x64 and arm64, with glibc or musl, macOS on Apple silicon (arm64) and Windows x64. All of them give the same answers, byte for byte, so an erden.lock written on one verifies on the others. On any other computer, including Intel Macs and Windows on arm64, erden check stops with CHECK_TOOLCHAIN_UNAVAILABLE, names your computer's runtime, and lists the supported platforms. erden doctor prints the same list.

What to do: run Erden on a supported platform, for example in a Linux container or virtual machine.

The bundled reasoner is missing or changed

Before every use, the CLI checks the reasoner and SHACL engine it ships with against their pinned size and SHA-256. If a file is missing or differs, for example after a partial copy, erden check stops with CHECK_TOOLCHAIN_UNAVAILABLE and a reason such as BINARY_MISSING or BINARY_DIGEST_MISMATCH, and erden doctor reports the engine as unavailable with the same code.

What to do: run the install command again; it replaces that version's files. See install the CLI. A CLI you built from source yourself reports SOURCE_BUILD_MISSING until you build its reasoner; the repository's Building from source section shows how.

Lockfile and install

  • CHECK_LOCK_STALE means the manifest, the dependencies or the bundled reasoner changed since erden.lock was written. Run erden install --offline (or erden install when dependencies need downloading) and check again.
  • An interrupted install. If an erden install was killed halfway, the next erden install finishes or undoes what it left behind and carries on. erden check and erden pack never write, so they say that erden install will recover it. Only when the leftover files cannot be verified does install stop with INSTALL_PROJECT_TRANSACTION_PENDING; it lists the files and what to do with them.

Next

On this page