get_axiom
- get_axiom(mapping: SemanticMapping, converter: Converter, *, allow_arbitrary: bool = False, mapping_annotations: bool = False) Box | None[source]
Get an OWL axiom from a semantic mapping.
- Parameters:
mapping – A semantic mapping
converter – A converter
allow_arbitrary – When in
inlinemode, if set to true, skip mappings with predicates that aren’t incuries.vocabulary.extended_match_typedefsmapping_annotations – whether to include annotations (extra metadata like mapping type, confidence, etc.) on the produced axioms, defaults to false
- Returns:
A functional OWL axiom, if possible
Semantic Mapping
Functional OWL Expression
S skos:exactMatch OAnnotationAssertion(skos:exactMatch S O)S skos:broadMatch OAnnotationAssertion(skos:broadMatch S O)S skos:narrowMatch OAnnotationAssertion(skos:narrowMatch S O)S skos:closeMatch OAnnotationAssertion(skos:closeMatch S O)S skos:relatedMatch OAnnotationAssertion(skos:relatedMatch S O)S rdfs:seeAlso OAnnotationAssertion(skos:seeAlso S O)And so on, see
curies.vocabulary.extended_match_typedefs.