Controlled vocabularies of the Semantic Web define the concepts and relationships (terms) used to describe a field of interest or area of concern.
Definition (Controlled Vocabulary). A controlled vocabulary is the triple V = (NC, NR, NI) of countably infinite sets of IRI symbols denoting atomic concepts (concept names, classes) (NC), atomic roles (role names, properties, or predicates) (NR), and individual names (objects) (NI), respectively, where NC, NR, and NI are pairwise disjoint sets.
Ontologies refer to more complex collection of constructs suitable to describe virtually any statement in a machine-readable form. For example, to declare a person in a machine-readable format, we need a vocabulary that has the formal definition of “Person.” A straightforward choice is the Friend of a Friend (FOAF) vocabulary, which has a Person class that defines typical properties of a person including, but not limited to, name and homepage, or the Person vocabulary of Schema.org. Similarly, a book can be described using the Book vocabulary of Schema.org and general publication terms from the Dublin Core vocabulary, an event with the Event vocabulary of Schema.org, and so on.
To use machine-readable terms from any controlled vocabulary, web designers can choose from a variety of annotation formats, all of which represent the same concepts. For example, to describe the name and website of a person using the Person vocabulary of Schema.org, you can use RDFa, HTML5 Microdata, or JSON-LD in the markup:
|Markup without Structured Data||
|Markup with HTML5 Microdata||
|Markup with RDFa||
|Markup with JSON-LD||
Beyond the markup annotation, the same information can also be represented using any RDF serialization such as RDF/XML, Turtle, Notation3, TriG, or TriX.
To find controlled vocabularies, you can use the Linked Open Vocabularies vocabulary collection, which covers vocabulary documentations and provides open data access, a vocabulary search engine, and applications.