Class: RDF::Vocab::VS

Inherits:
StrictVocabulary
  • Object
show all
Defined in:
lib/rdf/vocab/vs.rb

Overview

Vocabulary for <www.w3.org/2003/06/sw-vocab-status/ns#>

SemWeb Vocab Status ontology

This vocabulary was created in the FOAF project, based on experience with FOAF, Dublin Core and other early RDF vocabularies. Deployment experience shows that changing namespace URIs is expensive and unrewarding, so this vocabulary provides terms to support in-place evolution of structured data vocabularies. By indicating status at the level of terms rather than vocabularies, dictionary-style, fine grained improvements become easier. Different organizations and parties can agree or disagree on the status of a vocabulary term; however the status published alongside the term may deserve special attention. Future work could include patterns for citing announcements and decisions, or using SKOS to decentralise the extension of the basic status levels.

An RDF vocabulary for relating SW vocabulary terms to their status.

Instance Attribute Summary collapse

Instance Attribute Details

#moreinfoRDF::Vocabulary::Term (readonly)

more information about the status etc of a term, typically human oriented

Returns:

  • (RDF::Vocabulary::Term)


11
12
13
# File 'lib/rdf/vocab/vs.rb', line 11

def moreinfo
  @moreinfo
end

#term_statusRDF::Vocabulary::Term (readonly)

the status of a vocabulary term, expressed as a short symbolic string; known values include ‘unstable’,‘testing’, ‘stable’ and ‘archaic’

Returns:

  • (RDF::Vocabulary::Term)


15
16
17
# File 'lib/rdf/vocab/vs.rb', line 15

def term_status
  @term_status
end

#userdocsRDF::Vocabulary::Term (readonly)

human-oriented documentation, examples etc for use of this term

Returns:

  • (RDF::Vocabulary::Term)


19
20
21
# File 'lib/rdf/vocab/vs.rb', line 19

def userdocs
  @userdocs
end