Common OWL/RDFS Vocabularies for use with Ruby RDF.rb
This gem extends RDF::Vocabulary
with #to_ttl
, #to_jsonld
, and #to_html
methods to create special-purpose vocabulary serializations. The HTML version is templated using a Haml template to allow output to be customized.
Also extends RDF::Vocabulary::Format
with the gen-vocab
command extension to the rdf
executable.
- RDF::Vocab::ACL - Web Access Control (W3C)
- RDF::Vocab::Bibframe - Bibliographic Framework Initiaitive (LoC)
- RDF::Vocab::BIBO - Bibliographic Ontology
- RDF::Vocab::CC - Creative Commons Vocabulary (Creative Commons) - Alias of
RDF::CC
- RDF::Vocab::CERT - Cert Ontology (W3C) - Alias of
RDF::CERT
- RDF::Vocab::CNT - Representing Content in RDF (W3C)
- RDF::Vocab::DataCite - DataCite Ontology
- RDF::Vocab::DC - DCMI Metadata Terms (DCMI) - Alias of
RDF::DC
- RDF::Vocab::DC11 - Dublin Core Metadata Element Set (DCMI) - Alias of
RDF::DC11
- RDF::Vocab::DCAT - Data Catalog Vocabulary (DCMI) - Alias of
RDF::DCAT
- RDF::Vocab::DCMIType - DCMI Type Vocabulary (DCMI)
- RDF::Vocab::DOAP - Description of a Project (DOAP) vocabulary - Alias of
RDF::DOAP
- RDF::Vocab::DWC - Darwin Core
- RDF::Vocab::EBUCore - EBUCore
- RDF::Vocab::EXIF - Exif vocabulary workspace (W3C) - Alias of
RDF::EXIF
- RDF::Vocab::Fcrepo4 - Fedora Commons Repository 4 Ontology
- RDF::Vocab::FOAF - Friend of a Friend (FOAF) vocabulary - Alias of
RDF::FOAF
- RDF::Vocab::GEO - GEO Vocabulary (W3C) - Alias of
RDF::GEO
- RDF::Vocab::GR - Good Relations - Alias of
RDF::GR
- RDF::Vocab::HT - HTTP Vocabulary in RDF 1.0 (W3C) - Alias of
RDF::HT
- RDF::Vocab::ICAL - iCalendar vocabulary (W3C) - Alias of
RDF::ICAL
- RDF::Vocab::Identifiers - Standard Identifiers Scheme (LoC)
- RDF::Vocab::IIIF - International Image Interoperability Framework Presentation API (IIIF)
- RDF::Vocab::JSONLD - JSON-LD Vocabulary
- RDF::Vocab::LDP - Linked Data Platform (W3C)
- RDF::Vocab::LRMI - Learning Resources Metadata Initiative (DCMI)
- RDF::Vocab::MA - Ontology for Media Resources (W3C) - Alias of
RDF::MA
- RDF::Vocab::MADS - Metadata Authority Description Schema (LoC)
- RDF::Vocab::MARCRelators - MARC Code List for Relators (LoC)
- RDF::Vocab::MO - Music Ontology - Alias of
RDF::MO
- RDF::Vocab::MODS - Metadata Object Description Schema (LoC)
- RDF::Vocab::NFO - NEPOMUK File Ontology (NFO)
- RDF::Vocab::OA - Open Annotation Data Model (W3C)
- RDF::Vocab::OG - Open Graph protocol - Alias of
RDF::OG
- RDF::Vocab::OGC - Open Graph protocol classes - Alias of
RDF::OGC
- RDF::Vocab::ORE - Object Reuse and Exchange Ontology (OAI)
- RDF::Vocab::ORG - Organization Ontology (W3C)
- RDF::Vocab::PPLAN - P-Plan Ontology
- RDF::Vocab::PREMIS - Preservation Metadata Implementation Strategies Ontology (LoC)
- RDF::Vocab::PremisEventType - PREMIS Event Type (LoC)
- RDF::Vocab::PROV - Provenance Ontology (W3C) - Alias of
RDF::PROV
- RDF::Vocab::RSA - The RSA Ontology - Alias of
RDF::RSA
- RDF::Vocab::RSS - RDF Site Summary - Alias of
RDF::RSS
- RDF::Vocab::SCHEMA - Schema.org - Alias of
RDF::SCHEMA
- RDF::Vocab::SIOC - Semantically-Interlinked Online Communities - Alias of
RDF::SIOC
- RDF::Vocab::SiocServices - SIOC Services (SIOC)
- RDF::Vocab::SKOS - Simple Knowledge Organization System (W3C) - Alias of
RDF::SKOS
- RDF::Vocab::SKOSXL - SKOS eXtension for Labels (W3C) - Alias of
RDF::SKOSXL
- RDF::Vocab::V - RDF data vocabulary - Alias of
RDF::V
- RDF::Vocab::VCARD - Ontology for vCards (W3C) - Alias of
RDF::VCARD
- RDF::Vocab::VMD - RDF data vocabulary - Alias of
RDF::VMD
- RDF::Vocab::VOID - Vocabulary of Interlinked Datasets (W3C) - Alias of
RDF::VOID
- RDF::Vocab::VS - SemWeb Vocab Status ontology (W3C) - Alias of
RDF::VS
- RDF::Vocab::WOT - Web of Trust - Alias of
RDF::WOT
- RDF::Vocab::WDRS - Protocol for Web Description Resources (W3C) - Alias of
RDF::WRDS
- RDF::Vocab::XHTML - Extensible HyperText Markup Language (W3C) - Alias of
RDF::XHTML
- RDF::Vocab::XHV - XHTML Vocabulary (W3C) - Alias of
RDF::XHV
Add to your Gemfile
gem "rdf-vocab"
then
bundle install
require "rdf/vocab"
This will load all the vocabulary classes in the library.
Also adds the gen-vocab
command to the rdf
command-line executable to generate specifically generated output in Turtle, JSON-LD, and HTML+RDFa for either built-in or arbitrary vocabularies.
- First, add an entry to
lib/rdf/vocab.rb
, the key names contained within for guidance. For more information, see the documentation on RDF::Vocabulary. - Next, create an empty file in
lib/rdf/vocab
based on the key name for your vocabulary. For example, if you've added the vocabulary:foo
, create a new empty file atlib/rdf/vocab/foo.rb
. - Run
rake gen_vocabs
.
This repository uses Git Flow to mange development and release activity. All submissions must be on a feature branch based on the develop branch to ease staging and integration.
- Do your best to adhere to the existing coding conventions and idioms.
- Don't use hard tabs, and don't leave trailing whitespace on any line.
Before committing, run
git diff --check
to make sure of this. - Do document every method you add using YARD annotations. Read the tutorial or just look at the existing code for examples.
- Don't touch the
.gemspec
orVERSION
files. If you need to change them, do so on your private branch only. - Do note that in order for us to merge any non-trivial changes (as a rule of thumb, additions larger than about 15 lines of code), we need an explicit public domain dedication on record from you.
This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying {file:LICENSE} file.