Hooray! Danny finds the FOAF Topic Finder by the FOAF-tastic Morten Frederiksen.
Like I commented on his site:
I found this about two weeks ago, lost it, and have been meaning to look for it since! This is probably the algorithm the FOAF-a-matik mk2 should be using to detect the principle user when opening a FOAF file.