Class: RDF::Vocab::OG
- Inherits:
-
RDF::Vocabulary
- Object
- RDF::Vocabulary
- RDF::Vocab::OG
- Defined in:
- lib/rdf/vocab/og.rb
Overview
Vocabulary for <ogp.me/ns#>
Instance Attribute Summary collapse
-
#audio ⇒ RDF::Vocabulary::Term
readonly
A relevant audio URL for your object.
-
#description ⇒ RDF::Vocabulary::Term
readonly
A one to two sentence description of your object.
-
#determiner ⇒ RDF::Vocabulary::Term
readonly
The word to precede the object’s title in a sentence (e.g., “the” in “the statue of liberty”).
-
#email ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
Email of the contact for your object.
-
#fax_number ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
Fax number of the contact for your object.
-
#image ⇒ RDF::Vocabulary::Term
readonly
An image URL which should represent your object within the graph.
-
#isbn ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
International Standard Book Number for you object.
-
#latitude ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
The latitude of the resource e.g., the latitude of a company.
-
#locale ⇒ RDF::Vocabulary::Term
readonly
A Unix locale in which this markup is rendered.
-
#locality ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
The locality of the resource e.g, “Palo Alto”.
-
#longitude ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
The longitude of the resource e.g., the longitude of a company.
-
#phone_number ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
Phone number of the contact for your object.
-
#region ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
The region of the resource e.g., “CA”.
-
#site_name ⇒ RDF::Vocabulary::Term
readonly
If your object is part of a larger web site, the name which should be displayed for the overall site.
-
#title ⇒ RDF::Vocabulary::Term
readonly
The title of the object as it should appear within the graph, e.g., “The Rock”.
-
#type ⇒ RDF::Vocabulary::Term
readonly
The type of your object, e.g., “movie”.
-
#upc ⇒ RDF::Vocabulary::Term
readonly
- DEPRECATED
-
Universal Product Code for your object.
-
#url ⇒ RDF::Vocabulary::Term
readonly
The canonical URL of your object that will be used as its permanent ID in the graph, e.g., “www.imdb.com/title/tt0117500/”.
-
#video ⇒ RDF::Vocabulary::Term
readonly
A relevant video URL for your object.
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
#audio ⇒ RDF::Vocabulary::Term (readonly)
A relevant audio URL for your object.
6 7 8 |
# File 'lib/rdf/vocab/og.rb', line 6 def audio @audio end |
#description ⇒ RDF::Vocabulary::Term (readonly)
A one to two sentence description of your object.
10 11 12 |
# File 'lib/rdf/vocab/og.rb', line 10 def description @description end |
#determiner ⇒ RDF::Vocabulary::Term (readonly)
The word to precede the object’s title in a sentence (e.g., “the” in “the statue of liberty”). Valid values are “a”, “an”, “the”, “”, and “auto”.
14 15 16 |
# File 'lib/rdf/vocab/og.rb', line 14 def determiner @determiner end |
#email ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
Email of the contact for your object.
18 19 20 |
# File 'lib/rdf/vocab/og.rb', line 18 def email @email end |
#fax_number ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
Fax number of the contact for your object.
22 23 24 |
# File 'lib/rdf/vocab/og.rb', line 22 def fax_number @fax_number end |
#image ⇒ RDF::Vocabulary::Term (readonly)
An image URL which should represent your object within the graph.
26 27 28 |
# File 'lib/rdf/vocab/og.rb', line 26 def image @image end |
#isbn ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
International Standard Book Number for you object.
30 31 32 |
# File 'lib/rdf/vocab/og.rb', line 30 def isbn @isbn end |
#latitude ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
The latitude of the resource e.g., the latitude of a company.
34 35 36 |
# File 'lib/rdf/vocab/og.rb', line 34 def latitude @latitude end |
#locale ⇒ RDF::Vocabulary::Term (readonly)
A Unix locale in which this markup is rendered.
38 39 40 |
# File 'lib/rdf/vocab/og.rb', line 38 def locale @locale end |
#locality ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
The locality of the resource e.g, “Palo Alto”
42 43 44 |
# File 'lib/rdf/vocab/og.rb', line 42 def locality @locality end |
#longitude ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
The longitude of the resource e.g., the longitude of a company.
46 47 48 |
# File 'lib/rdf/vocab/og.rb', line 46 def longitude @longitude end |
#phone_number ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
Phone number of the contact for your object.
50 51 52 |
# File 'lib/rdf/vocab/og.rb', line 50 def phone_number @phone_number end |
#region ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
The region of the resource e.g., “CA”
54 55 56 |
# File 'lib/rdf/vocab/og.rb', line 54 def region @region end |
#site_name ⇒ RDF::Vocabulary::Term (readonly)
If your object is part of a larger web site, the name which should be displayed for the overall site. e.g., “IMDb”.
58 59 60 |
# File 'lib/rdf/vocab/og.rb', line 58 def site_name @site_name end |
#title ⇒ RDF::Vocabulary::Term (readonly)
The title of the object as it should appear within the graph, e.g., “The Rock”.
62 63 64 |
# File 'lib/rdf/vocab/og.rb', line 62 def title @title end |
#type ⇒ RDF::Vocabulary::Term (readonly)
The type of your object, e.g., “movie”. Depending on the type you specify, other properties may also be required.
66 67 68 |
# File 'lib/rdf/vocab/og.rb', line 66 def type @type end |
#upc ⇒ RDF::Vocabulary::Term (readonly)
- DEPRECATED
-
Universal Product Code for your object.
70 71 72 |
# File 'lib/rdf/vocab/og.rb', line 70 def upc @upc end |
#url ⇒ RDF::Vocabulary::Term (readonly)
The canonical URL of your object that will be used as its permanent ID in the graph, e.g., “www.imdb.com/title/tt0117500/”.
74 75 76 |
# File 'lib/rdf/vocab/og.rb', line 74 def url @url end |
#video ⇒ RDF::Vocabulary::Term (readonly)
A relevant video URL for your object.
78 79 80 |
# File 'lib/rdf/vocab/og.rb', line 78 def video @video end |