The page http://xmlns.com/foaf/spec/ discusses the FOAF vocabularies. Details of the terms are discussed in the same page (e.g. http://xmlns.com/foaf/spec/#term_Person).
But if I am looking for the actual rdfs
code of a class or property, where do I get it?
Surprisingly, a web search has not produced anything. The textbooks contain some class and property codes, but they are mostly outdated, as expected.