Class: RDF::Vocab::OGC

Inherits:
RDF::Vocabulary show all
Defined in:
lib/rdf/vocab/ogc.rb

Overview

Vocabulary for <ogp.me/ns/class#>

Instance Attribute Summary collapse

Method Summary

Methods inherited from RDF::Vocabulary

_orig_each, _orig_from_sym, each, from_sym, limit_vocabs, to_html, to_jsonld, to_ttl, value_to_html, vocab_map

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

Returns:

  • (RDF::Vocabulary::Term)


6
7
8
# File '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.

Returns:

  • (RDF::Vocabulary::Term)


10
11
12
# File '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”.

Returns:

  • (RDF::Vocabulary::Term)


14
15
16
# File '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”.

Returns:

  • (RDF::Vocabulary::Term)


18
19
20
# File '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”.

Returns:

  • (RDF::Vocabulary::Term)


22
23
24
# File '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”).

Returns:

  • (RDF::Vocabulary::Term)


26
27
28
# File 'lib/rdf/vocab/ogc.rb', line 26

def mime_type_str
  @mime_type_str
end

#stringRDF::Vocabulary::Term (readonly)

A string of Unicode characters.

Returns:

  • (RDF::Vocabulary::Term)


30
31
32
# File '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.

Returns:

  • (RDF::Vocabulary::Term)


34
35
36
# File 'lib/rdf/vocab/ogc.rb', line 34

def url
  @url
end