Class: RDF::RDFS
- Inherits:
-
StrictVocabulary
- Object
- Vocabulary
- StrictVocabulary
- RDF::RDFS
- Defined in:
- vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/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
-
#Class ⇒ RDF::Vocabulary::Term
readonly
The class of classes.
-
#comment ⇒ RDF::Vocabulary::Term
readonly
A description of the subject resource.
-
#Container ⇒ RDF::Vocabulary::Term
readonly
The class of RDF containers.
-
#ContainerMembershipProperty ⇒ RDF::Vocabulary::Term
readonly
The class of container membership properties, rdf:_1, rdf:_2, ..., all of which are sub-properties of 'member'.
-
#Datatype ⇒ RDF::Vocabulary::Term
readonly
The class of RDF datatypes.
-
#domain ⇒ RDF::Vocabulary::Term
readonly
A domain of the subject property.
-
#isDefinedBy ⇒ RDF::Vocabulary::Term
readonly
The defininition of the subject resource.
-
#label ⇒ RDF::Vocabulary::Term
readonly
A human-readable name for the subject.
-
#Literal ⇒ RDF::Vocabulary::Term
readonly
The class of literal values, eg.
-
#member ⇒ RDF::Vocabulary::Term
readonly
A member of the subject resource.
-
#range ⇒ RDF::Vocabulary::Term
readonly
A range of the subject property.
-
#Resource ⇒ RDF::Vocabulary::Term
readonly
The class resource, everything.
-
#seeAlso ⇒ RDF::Vocabulary::Term
readonly
Further information about the subject resource.
-
#subClassOf ⇒ RDF::Vocabulary::Term
readonly
The subject is a subclass of a class.
-
#subPropertyOf ⇒ RDF::Vocabulary::Term
readonly
The subject is a subproperty of a property.
Method Summary
Methods inherited from StrictVocabulary
Methods inherited from Vocabulary
#[], [], __prefix__, __prefix__=, _orig_each, _orig_from_sym, 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_html, to_iri, to_jsonld, to_s, #to_s, to_ttl, #to_uri, to_uri, value_to_html, 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
#Class ⇒ RDF::Vocabulary::Term (readonly)
The class of classes.
8 9 10 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 8 def Class @Class end |
#comment ⇒ RDF::Vocabulary::Term (readonly)
A description of the subject resource.
32 33 34 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 32 def comment @comment end |
#Container ⇒ RDF::Vocabulary::Term (readonly)
The class of RDF containers.
12 13 14 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 12 def Container @Container end |
#ContainerMembershipProperty ⇒ RDF::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 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 16 def ContainerMembershipProperty @ContainerMembershipProperty end |
#Datatype ⇒ RDF::Vocabulary::Term (readonly)
The class of RDF datatypes.
20 21 22 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 20 def Datatype @Datatype end |
#domain ⇒ RDF::Vocabulary::Term (readonly)
A domain of the subject property.
36 37 38 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 36 def domain @domain end |
#isDefinedBy ⇒ RDF::Vocabulary::Term (readonly)
The defininition of the subject resource.
40 41 42 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 40 def isDefinedBy @isDefinedBy end |
#label ⇒ RDF::Vocabulary::Term (readonly)
A human-readable name for the subject.
44 45 46 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 44 def label @label end |
#Literal ⇒ RDF::Vocabulary::Term (readonly)
The class of literal values, eg. textual strings and integers.
24 25 26 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 24 def Literal @Literal end |
#member ⇒ RDF::Vocabulary::Term (readonly)
A member of the subject resource.
48 49 50 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 48 def member @member end |
#range ⇒ RDF::Vocabulary::Term (readonly)
A range of the subject property.
52 53 54 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 52 def range @range end |
#Resource ⇒ RDF::Vocabulary::Term (readonly)
The class resource, everything.
28 29 30 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 28 def Resource @Resource end |
#seeAlso ⇒ RDF::Vocabulary::Term (readonly)
Further information about the subject resource.
56 57 58 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 56 def seeAlso @seeAlso end |
#subClassOf ⇒ RDF::Vocabulary::Term (readonly)
The subject is a subclass of a class.
60 61 62 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 60 def subClassOf @subClassOf end |
#subPropertyOf ⇒ RDF::Vocabulary::Term (readonly)
The subject is a subproperty of a property.
64 65 66 |
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/rdf-884e3ef78084/lib/rdf/vocab/rdfs.rb', line 64 def subPropertyOf @subPropertyOf end |