For each reasoning attempt, R h can be considered as the region of interest (ROI) of the agent to start reasoning, where the ROI related paths tend to be more relevant to the current entity pair.
we refine the demonstration set by filtering out the demonstrations which begin from R h : where Ω E is generated by the static demo sampling method and r 1 (x) denotes the first relation in relational path x = {r 1 , r 2 , ...r t , ...}.