Common RDF Vocabularies

Type-safe constants for FOAF, Dublin Core, DCAT, SKOS, and more.
Essential vocabularies for semantic web applications.

Included Vocabularies

Essential semantic web vocabularies for building linked data applications.

FOAF

Friend of a Friend

Describe people, their relationships, and activities

Docs β†’

Dublin Core

DC / DCTerms / DCMIType

Metadata for describing resources and documents

Docs β†’

DCAT

Data Catalog Vocabulary

Describe datasets and data catalogs

Docs β†’

SKOS

Simple Knowledge Organization

Taxonomies, thesauri, and classification schemes

Docs β†’

vCard

Contact Information

Represent contact and address information

Docs β†’

ACL

Web Access Control

Define access permissions for resources

Docs β†’

LDP

Linked Data Platform

RESTful interaction with linked data

Docs β†’

Solid

Solid Platform Terms

Solid pod and application vocabulary

Docs β†’

Contact

Contact Vocabulary

Contact information and relationships

Docs β†’

Event

Event Ontology

Describe events and their properties

Docs β†’

GEO

WGS84 Geospatial

Geographic coordinates and locations

Docs β†’

PIM

Personal Information Management

Personal data organization

Docs β†’

Getting Started

Installation

# Install common vocabularies
dart pub add locorda_rdf_terms_common

Usage Example

import 'package:locorda_rdf_core/core.dart';
import 'package:locorda_rdf_terms_common/foaf.dart';
import 'package:locorda_rdf_terms_common/dc.dart';

void main() {
  final personIri = IriTerm('http://example.org/person/jane');

  // Use FOAF for person data
  final graph = RdfGraph.fromTriples([
    Triple(personIri, Foaf.name, LiteralTerm('Jane Doe')),
    Triple(personIri, Foaf.mbox, IriTerm('mailto:jane@example.com')),
    Triple(personIri, Dc.creator, LiteralTerm('System')),
  ]);

  print(turtle.encode(graph));
}

πŸ’‘ Recommended for Most Projects

At ~800KB compressed, this package provides the most commonly used semantic web vocabularies. It's the recommended starting point for most applications.

Why Use This Package?

🎯 Most Popular Vocabularies

Includes the vocabularies used by the vast majority of semantic web applications.

βš–οΈ Balanced Size

At ~800KB, it's larger than core but much smaller than Schema.org. Good balance for most use cases.

πŸ”— Linked Data Ready

Perfect for building Solid apps, knowledge graphs, and linked data applications.

⚑ Zero Runtime Overhead

All constants are compile-time. No performance impact, just pure type safety.

Ready to Use Common Vocabularies?

Start using type-safe semantic web vocabulary constants in your Dart projects.