Search code examples
semantic-websemantic-markuprdfa

Knowing what RDFA vocabulary to use


How do we know which vocabulary/namespace to use to describe data with RDFa?

I have seen a lot of examples that use xmlns:dcterms="http://purl.org/dc/terms/" or xmlns:sioc="http://rdfs.org/sioc/ns#" then there is this video that uses FOAF vocabulary.

This is all pretty confusing and I am not sure what these vocabularies mean or what is best to use for the data I am describing. Is there some trick I am missing?


Solution

  • The simplest thing is to check if schema.org covers your needs. Schema.org is backed by Google and the other major search engines and generally pretty awesome.

    If it doesn't suit your needs, then enter a few of the terms you need into a vocabulary search engine. My recommendation is LOV.

    Another option is to just ask the community about the best vocabularies for the specific domain you need to represent. A good place is answers.semanticweb.com, which is like StackOverflow but with more RDF experts hanging out.