Class: RDF::Vocab::OGC

Inherits:
RDF::Vocabulary show all
Defined in:
vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb

Overview

Vocabulary for http://ogp.me/ns/class#

Instance Attribute Summary collapse

Method Summary

Methods inherited from RDF::Vocabulary

[], #[], __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, 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

#boolean_strRDF::Vocabulary::Term (readonly)

A string representation of a true or false value. The lexical space contains: "true", "false", "1", and "0".



6
7
8
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb', line 6

def boolean_str
  @boolean_str
end

#date_time_strRDF::Vocabulary::Term (readonly)

A string representation of a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes). The lexical space is defined by ISO 8601.



10
11
12
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb', line 10

def date_time_str
  @date_time_str
end

#determiner_strRDF::Vocabulary::Term (readonly)

The lexical space: "", "the", "a", "an", and "auto".



14
15
16
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb', line 14

def determiner_str
  @determiner_str
end

#float_strRDF::Vocabulary::Term (readonly)

A string representation of a 64-bit signed floating point number. Example lexical values include "1.234", "-1.234", "1.2e3", "-1.2e3", and "7E-10".



18
19
20
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb', line 18

def float_str
  @float_str
end

#integer_strRDF::Vocabulary::Term (readonly)

A string representation of a 32-bit signed integer. Example lexical values include "1234" and "-123".



22
23
24
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb', line 22

def integer_str
  @integer_str
end

#mime_type_strRDF::Vocabulary::Term (readonly)

Valid mime type strings (e.g., "application/mp3").



26
27
28
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb', line 26

def mime_type_str
  @mime_type_str
end

#stringRDF::Vocabulary::Term (readonly)

A string of Unicode characters.



30
31
32
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb', line 30

def string
  @string
end

#urlRDF::Vocabulary::Term (readonly)

A string of Unicode characters forming a valid URL having the http or https scheme.



34
35
36
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/ogc.rb', line 34

def url
  @url
end