Class: RDF::RDFS

Inherits:
StrictVocabulary show all
Defined in:
lib/rdf/vocab/rdfs.rb

Overview

Vocabulary for http://www.w3.org/2000/01/rdf-schema#

The RDF Schema vocabulary (RDFS)

Instance Attribute Summary collapse

Method Summary

Methods inherited from StrictVocabulary

[], strict?

Methods inherited from Vocabulary

[], #[], __prefix__, camelize, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, #inspect, inspect, limit_vocabs, list, #method_missing, method_missing, ontology, properties, property, register, strict?, to_iri, #to_s, to_s, #to_uri, to_uri, vocab_map

Constructor Details

This class inherits a constructor from RDF::Vocabulary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RDF::Vocabulary

Instance Attribute Details

#ClassRDF::Vocabulary::Term (readonly)

The class of classes.


7
8
9
# File 'lib/rdf/vocab/rdfs.rb', line 7

def Class
  @Class
end

#commentRDF::Vocabulary::Term (readonly)

A description of the subject resource.


31
32
33
# File 'lib/rdf/vocab/rdfs.rb', line 31

def comment
  @comment
end

#ContainerRDF::Vocabulary::Term (readonly)

The class of RDF containers.


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

def Container
  @Container
end

#ContainerMembershipPropertyRDF::Vocabulary::Term (readonly)

The class of container membership properties, rdf:_1, rdf:_2, ..., all of which are sub-properties of 'member'.


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

def ContainerMembershipProperty
  @ContainerMembershipProperty
end

#DatatypeRDF::Vocabulary::Term (readonly)

The class of RDF datatypes.


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

def Datatype
  @Datatype
end

#domainRDF::Vocabulary::Term (readonly)

A domain of the subject property.


35
36
37
# File 'lib/rdf/vocab/rdfs.rb', line 35

def domain
  @domain
end

#isDefinedByRDF::Vocabulary::Term (readonly)

The defininition of the subject resource.


39
40
41
# File 'lib/rdf/vocab/rdfs.rb', line 39

def isDefinedBy
  @isDefinedBy
end

#labelRDF::Vocabulary::Term (readonly)

A human-readable name for the subject.


43
44
45
# File 'lib/rdf/vocab/rdfs.rb', line 43

def label
  @label
end

#LiteralRDF::Vocabulary::Term (readonly)

The class of literal values, eg. textual strings and integers.


23
24
25
# File 'lib/rdf/vocab/rdfs.rb', line 23

def Literal
  @Literal
end

#memberRDF::Vocabulary::Term (readonly)

A member of the subject resource.


47
48
49
# File 'lib/rdf/vocab/rdfs.rb', line 47

def member
  @member
end

#rangeRDF::Vocabulary::Term (readonly)

A range of the subject property.


51
52
53
# File 'lib/rdf/vocab/rdfs.rb', line 51

def range
  @range
end

#ResourceRDF::Vocabulary::Term (readonly)

The class resource, everything.


27
28
29
# File 'lib/rdf/vocab/rdfs.rb', line 27

def Resource
  @Resource
end

#seeAlsoRDF::Vocabulary::Term (readonly)

Further information about the subject resource.


55
56
57
# File 'lib/rdf/vocab/rdfs.rb', line 55

def seeAlso
  @seeAlso
end

#subClassOfRDF::Vocabulary::Term (readonly)

The subject is a subclass of a class.


59
60
61
# File 'lib/rdf/vocab/rdfs.rb', line 59

def subClassOf
  @subClassOf
end

#subPropertyOfRDF::Vocabulary::Term (readonly)

The subject is a subproperty of a property.


63
64
65
# File 'lib/rdf/vocab/rdfs.rb', line 63

def subPropertyOf
  @subPropertyOf
end