Class: RDF::Vocab::OG

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

Overview

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

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

#audioRDF::Vocabulary::Term (readonly)

A relevant audio URL for your object.



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

def audio
  @audio
end

#descriptionRDF::Vocabulary::Term (readonly)

A one to two sentence description of your object.



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

def description
  @description
end

#determinerRDF::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 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 14

def determiner
  @determiner
end

#emailRDF::Vocabulary::Term (readonly)

[DEPRECATED] Email of the contact for your object.



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

def email
  @email
end

#fax_numberRDF::Vocabulary::Term (readonly)

[DEPRECATED] Fax number of the contact for your object.



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

def fax_number
  @fax_number
end

#imageRDF::Vocabulary::Term (readonly)

An image URL which should represent your object within the graph.



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

def image
  @image
end

#isbnRDF::Vocabulary::Term (readonly)

[DEPRECATED] International Standard Book Number for you object.



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

def isbn
  @isbn
end

#latitudeRDF::Vocabulary::Term (readonly)

[DEPRECATED] The latitude of the resource e.g., the latitude of a company.



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

def latitude
  @latitude
end

#localeRDF::Vocabulary::Term (readonly)

A Unix locale in which this markup is rendered.



38
39
40
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 38

def locale
  @locale
end

#localityRDF::Vocabulary::Term (readonly)

[DEPRECATED] The locality of the resource e.g, "Palo Alto"



42
43
44
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 42

def locality
  @locality
end

#longitudeRDF::Vocabulary::Term (readonly)

[DEPRECATED] The longitude of the resource e.g., the longitude of a company.



46
47
48
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 46

def longitude
  @longitude
end

#phone_numberRDF::Vocabulary::Term (readonly)

[DEPRECATED] Phone number of the contact for your object.



50
51
52
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 50

def phone_number
  @phone_number
end

#regionRDF::Vocabulary::Term (readonly)

[DEPRECATED] The region of the resource e.g., "CA"



54
55
56
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 54

def region
  @region
end

#site_nameRDF::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 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 58

def site_name
  @site_name
end

#titleRDF::Vocabulary::Term (readonly)

The title of the object as it should appear within the graph, e.g., "The Rock".



62
63
64
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 62

def title
  @title
end

#typeRDF::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 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 66

def type
  @type
end

#upcRDF::Vocabulary::Term (readonly)

[DEPRECATED] Universal Product Code for your object.



70
71
72
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 70

def upc
  @upc
end

#urlRDF::Vocabulary::Term (readonly)

The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/".



74
75
76
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 74

def url
  @url
end

#videoRDF::Vocabulary::Term (readonly)

A relevant video URL for your object.



78
79
80
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-7bb82695cd86/lib/rdf/vocab/og.rb', line 78

def video
  @video
end