How does the path finder work?
It first sends a SPARQL query to the Wikidata Query Service to search for 2- and 3-hop paths. If SPARQL times out, it falls back to a bidirectional BFS that expands connections from both figures simultaneously until the two frontiers meet.