Class: RDF::Vocab::OGC
- Inherits:
-
RDF::Vocabulary
- Object
- RDF::Vocabulary
- RDF::Vocab::OGC
- Defined in:
- lib/rdf/vocab/ogc.rb
Overview
Vocabulary for <ogp.me/ns/class#>
Instance Attribute Summary collapse
-
#boolean_str ⇒ RDF::Vocabulary::Term
readonly
A string representation of a true or false value.
-
#date_time_str ⇒ RDF::Vocabulary::Term
readonly
A string representation of a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes).
-
#determiner_str ⇒ RDF::Vocabulary::Term
readonly
The lexical space: “”, “the”, “a”, “an”, and “auto”.
-
#float_str ⇒ RDF::Vocabulary::Term
readonly
A string representation of a 64-bit signed floating point number.
-
#integer_str ⇒ RDF::Vocabulary::Term
readonly
A string representation of a 32-bit signed integer.
-
#mime_type_str ⇒ RDF::Vocabulary::Term
readonly
Valid mime type strings (e.g., “application/mp3”).
-
#string ⇒ RDF::Vocabulary::Term
readonly
A string of Unicode characters.
-
#url ⇒ RDF::Vocabulary::Term
readonly
A string of Unicode characters forming a valid URL having the http or https scheme.
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_str ⇒ RDF::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 'lib/rdf/vocab/ogc.rb', line 6 def boolean_str @boolean_str end |
#date_time_str ⇒ RDF::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 'lib/rdf/vocab/ogc.rb', line 10 def date_time_str @date_time_str end |
#determiner_str ⇒ RDF::Vocabulary::Term (readonly)
The lexical space: “”, “the”, “a”, “an”, and “auto”.
14 15 16 |
# File 'lib/rdf/vocab/ogc.rb', line 14 def determiner_str @determiner_str end |
#float_str ⇒ RDF::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 'lib/rdf/vocab/ogc.rb', line 18 def float_str @float_str end |
#integer_str ⇒ RDF::Vocabulary::Term (readonly)
A string representation of a 32-bit signed integer. Example lexical values include “1234” and “-123”.
22 23 24 |
# File 'lib/rdf/vocab/ogc.rb', line 22 def integer_str @integer_str end |
#mime_type_str ⇒ RDF::Vocabulary::Term (readonly)
Valid mime type strings (e.g., “application/mp3”).
26 27 28 |
# File 'lib/rdf/vocab/ogc.rb', line 26 def mime_type_str @mime_type_str end |
#string ⇒ RDF::Vocabulary::Term (readonly)
A string of Unicode characters.
30 31 32 |
# File 'lib/rdf/vocab/ogc.rb', line 30 def string @string end |
#url ⇒ RDF::Vocabulary::Term (readonly)
A string of Unicode characters forming a valid URL having the http or https scheme.
34 35 36 |
# File 'lib/rdf/vocab/ogc.rb', line 34 def url @url end |