And both are works of fiction.
Yep, but I think in JKR's case many of the stories are based on real life experiences, places and people she knows or knew.
Hogwarts is based on Ampleforth College, the prominent RC public school. JKR acknowledged that in a weekend half page article in the Daily Telegraph. I think she knew my suspect and wonders about him. He went to Ampleforth … and I think he commissioned someone to abduct Madeleine. Could be CB, but then again may well not be. Nothing is proven as yet, unless I have missed something.
The whole 7 volume book relies on the personalities and characters of real people JKR knew being divided and being reassembled in another order to make new characters in the book. Fascinating, as are other quirky details … but most people do not notice this third secret level! It tells a different story IMO.
I still have about 4 books to deep analyse, but sadly, I doubt that I have the energy left.
As for Dan Brown, according to a fairly recent account, all the secret religious societies that he mentions have been going for centuries and still do with the possible exception of one. And he wove a brilliant story around them. I have no idea how much is fact and how much is fiction.
No, I am sorry but I cannot give a cite for this, but I feel sure that someone could find it if truly required.