ontocast.check.messages¶
Messages of the facts check, one per kind, written for a person.
Every argument is already in display form (a compact IRI such as
ex:worksFor, or <iri> when no prefix fits).
Functions:¶
catalog_subject(subject)
¶
Statements about a term of the project's ontologies.
dangling_reference(obj, predicates)
¶
An object that is referenced but never described.
Source code in ontocast/check/messages.py
domain_violation(subject, predicate, types, expected)
¶
A subject whose type contradicts a property's rdfs:domain.
Source code in ontocast/check/messages.py
functional_violation(subject, predicate, count)
¶
Several values on a property that allows one.
invalid_literal(subject, predicate, lexical, datatype, language=None)
¶
A value that is not a value of its datatype or the declared one.
Source code in ontocast/check/messages.py
isolated_instance(subject)
¶
non_catalog_vocabulary(term, uses, suggestions)
¶
A term no ontology of the project defines.
Source code in ontocast/check/messages.py
schema_in_facts(term, role)
¶
A class or property the upload declares itself.
Source code in ontocast/check/messages.py
shacl_violation(subject, message)
¶
silent_instance(subject)
¶
temporal_range_mismatch(subject, predicate, lexical, datatype, declared)
¶
A value of another datatype where a date, time or duration belongs.
Source code in ontocast/check/messages.py
twin_labels(label, count)
¶
unknown_placeholder_term(term, suggestions)
¶
A term in a placeholder namespace such as example.org.
Source code in ontocast/check/messages.py
unknown_well_known_term(term, vocabulary_title, suggestions)
¶
A term missing from a well-known vocabulary.
untyped_instance(subject, suggestions)
¶
An instance with no class of the project's ontologies.
untyped_value(subject, predicate, lexical, datatype)
¶
A plain or xsd:string value that reads as the property's datatype.