Depends on what you mean by "the lore". There's a lot of stuff in the three SRDs (3rd, 3.5, and 5th) and the original/revised/complete Tome of Horrors that very clearly and distinctively originates in D&D, rather than, say, Tunnels & Trolls or Palladium Fantasy. It might not be "the lore" in a...