Vocabulary file (RDF)

I'm looking for the syntax of RDF-files. Where can I find a good tutorial for making a Vocabulary file for adding attributes?