@@ -376,6 +376,60 @@ def append_exact_match(
376376 self .annotate_object (v .exact_match , reference , annotations = axioms )
377377 return self
378378
379+ def append_broad_match (
380+ self ,
381+ reference : ReferenceHint ,
382+ * ,
383+ mapping_justification : Reference | None = None ,
384+ confidence : float | None = None ,
385+ contributor : Reference | None = None ,
386+ ) -> Self :
387+ """Append a broad match, also adding an xref."""
388+ reference = _ensure_ref (reference )
389+ axioms = self ._prepare_mapping_annotations (
390+ mapping_justification = mapping_justification ,
391+ confidence = confidence ,
392+ contributor = contributor ,
393+ )
394+ self .annotate_object (v .broad_match , reference , annotations = axioms )
395+ return self
396+
397+ def append_narrow_match (
398+ self ,
399+ reference : ReferenceHint ,
400+ * ,
401+ mapping_justification : Reference | None = None ,
402+ confidence : float | None = None ,
403+ contributor : Reference | None = None ,
404+ ) -> Self :
405+ """Append a narrow match, also adding an xref."""
406+ reference = _ensure_ref (reference )
407+ axioms = self ._prepare_mapping_annotations (
408+ mapping_justification = mapping_justification ,
409+ confidence = confidence ,
410+ contributor = contributor ,
411+ )
412+ self .annotate_object (v .narrow_match , reference , annotations = axioms )
413+ return self
414+
415+ def append_related_match (
416+ self ,
417+ reference : ReferenceHint ,
418+ * ,
419+ mapping_justification : Reference | None = None ,
420+ confidence : float | None = None ,
421+ contributor : Reference | None = None ,
422+ ) -> Self :
423+ """Append a related match, also adding an xref."""
424+ reference = _ensure_ref (reference )
425+ axioms = self ._prepare_mapping_annotations (
426+ mapping_justification = mapping_justification ,
427+ confidence = confidence ,
428+ contributor = contributor ,
429+ )
430+ self .annotate_object (v .related_match , reference , annotations = axioms )
431+ return self
432+
379433 def set_species (self , identifier : str , name : str | None = None ) -> Self :
380434 """Append the from_species relation."""
381435 if name is None :
0 commit comments