Class: RDF::RDFS

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

Overview

Vocabulary for <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__, __prefix__=, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, #inspect, inspect, limit_vocabs, 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.



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

def Class
  @Class
end

#commentRDF::Vocabulary::Term (readonly)

A description of the subject resource.



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

def comment
  @comment
end

#ContainerRDF::Vocabulary::Term (readonly)

The class of RDF containers.



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

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’.



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

def ContainerMembershipProperty
  @ContainerMembershipProperty
end

#DatatypeRDF::Vocabulary::Term (readonly)

The class of RDF datatypes.



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

def Datatype
  @Datatype
end

#domainRDF::Vocabulary::Term (readonly)

A domain of the subject property.



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

def domain
  @domain
end

#isDefinedByRDF::Vocabulary::Term (readonly)

The defininition of the subject resource.



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

def isDefinedBy
  @isDefinedBy
end

#labelRDF::Vocabulary::Term (readonly)

A human-readable name for the subject.



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

def label
  @label
end

#LiteralRDF::Vocabulary::Term (readonly)

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



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

def Literal
  @Literal
end

#memberRDF::Vocabulary::Term (readonly)

A member of the subject resource.



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

def member
  @member
end

#rangeRDF::Vocabulary::Term (readonly)

A range of the subject property.



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

def range
  @range
end

#ResourceRDF::Vocabulary::Term (readonly)

The class resource, everything.



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

def Resource
  @Resource
end

#seeAlsoRDF::Vocabulary::Term (readonly)

Further information about the subject resource.



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

def seeAlso
  @seeAlso
end

#subClassOfRDF::Vocabulary::Term (readonly)

The subject is a subclass of a class.



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

def subClassOf
  @subClassOf
end

#subPropertyOfRDF::Vocabulary::Term (readonly)

The subject is a subproperty of a property.



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

def subPropertyOf
  @subPropertyOf
end