Assume that $X$   is a compact  Hausdorff  space and $A\subset X$  is  a  retract of $X$.

>Is there a topological  groupoid structure on the topological  pair $(X,A)$ where,  in the corresponding small category,  $X$ and $A$ plays the role of morphisms and objects, respectively. 


After the  comment to this question we  add:

For example what  about $X=S^{n}$  and $A=$ Its north hemisphere?