lib/rdf/vocab/vmd.rb in rdf-vocab-3.1.7 vs lib/rdf/vocab/vmd.rb in rdf-vocab-3.1.8
- old
+ new
@@ -299,56 +299,54 @@
# end
VMD = Class.new(RDF::StrictVocabulary("http://data-vocabulary.org/")) do
# Class definitions
term :Address,
- comment: %(Postal address for a Person or Organization.).freeze,
+ comment: "Postal address for a Person or Organization.".freeze,
type: "rdfs:Class".freeze
term :Breadcrumb,
- comment: %(Represents a single Breadcrumb in a Breadcrumb trail.).freeze,
+ comment: "Represents a single Breadcrumb in a Breadcrumb trail.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :Instructions,
- comment: %(Represents the steps to make a dish.).freeze,
+ comment: "Represents the steps to make a dish.".freeze,
type: "rdfs:Class".freeze
term :Nutrition,
- comment: %(Represents the nutrition information about a recipe.).freeze,
+ comment: "Represents the nutrition information about a recipe.".freeze,
type: "rdfs:Class".freeze
term :Offer,
- comment: %(Represents an offer to sell a product.).freeze,
+ comment: "Represents an offer to sell a product.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :OfferAggregate,
- comment: %(Represents a collection of offers to sell a product.).freeze,
+ comment: "Represents a collection of offers to sell a product.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :Organization,
- comment: %(An Organization is a business, agency, school, etc.).freeze,
+ comment: "An Organization is a business, agency, school, etc.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :Person,
- comment: %(Represents a Person, living/dead/fictional.).freeze,
+ comment: "Represents a Person, living/dead/fictional.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :Product,
- comment: %(Represents a product or service in a Review or Review-aggregate.).freeze,
+ comment: "Represents a product or service in a Review or Review-aggregate.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :Rating,
- comment: %(Represents a rating in a Review or Review-aggregate.).freeze,
+ comment: "Represents a rating in a Review or Review-aggregate.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :Recipe,
- comment: %(A single instance of a Recipe.).freeze,
+ comment: "A single instance of a Recipe.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :RecipeIngredient,
- comment: %(Represents ingredients used in a recipe.).freeze,
+ comment: "Represents ingredients used in a recipe.".freeze,
type: "rdfs:Class".freeze
term :Review,
- comment: %(A single instance of a Review.).freeze,
+ comment: "A single instance of a Review.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
term :"Review-aggregate",
- comment: %(Represents data from a collection of reviews.
- Can be used whether or not there is instance-level Review data on the page.
- ).freeze,
+ comment: "Represents data from a collection of reviews.\n Can be used whether or not there is instance-level Review data on the page.\n ".freeze,
subClassOf: "vmd:Review".freeze,
type: "rdfs:Class".freeze
term :TimeRange,
- comment: %(Represents the length of time it takes to prepare a recipe.).freeze,
+ comment: "Represents the length of time it takes to prepare a recipe.".freeze,
type: ["owl:Class".freeze, "rdfs:Class".freeze]
# Property definitions
property :acquaintance,
domain: "vmd:Person".freeze,
@@ -359,37 +357,37 @@
unionOf: list("vmd:Person".freeze, "vmd:Organization".freeze)
),
range: "vmd:Address".freeze,
type: "rdf:Property".freeze
property :affiliation,
- comment: %(An affiliation can be specified by a string literal or an Organization instance.).freeze,
+ comment: "An affiliation can be specified by a string literal or an Organization instance.".freeze,
domain: "vmd:Person".freeze,
range: term(
type: "owl:Class".freeze,
unionOf: list("vmd:Organization".freeze, "xsd:string".freeze)
),
type: "rdf:Property".freeze
property :amount,
domain: "vmd:RecipeIngredient".freeze,
type: "rdf:Property".freeze
property :author,
- comment: %(An author of the recipe can be specified by a string literal or a Person instance.).freeze,
+ comment: "An author of the recipe can be specified by a string literal or a Person instance.".freeze,
domain: "vmd:Recipe".freeze,
range: term(
type: "owl:Class".freeze,
unionOf: list("vmd:Person".freeze, "xsd:string".freeze)
),
type: "rdf:Property".freeze
property :availability,
domain: "vmd:Offer".freeze,
type: "rdf:Property".freeze
property :average,
- comment: %(The average of an aggregate value.).freeze,
+ comment: "The average of an aggregate value.".freeze,
domain: "vmd:Rating".freeze,
type: "rdf:Property".freeze
property :best,
- comment: %(The best value of a rating scale \(default 5\).).freeze,
+ comment: "The best value of a rating scale (default 5).".freeze,
domain: "vmd:Rating".freeze,
type: "rdf:Property".freeze
property :brand,
domain: "vmd:Product".freeze,
type: "rdf:Property".freeze
@@ -429,11 +427,11 @@
type: "owl:Class".freeze,
unionOf: list("vmd:TimeRange".freeze, "xsd:string".freeze)
),
type: "rdf:Property".freeze
property :count,
- comment: %(The total number of items used in an aggregate \(e.g., number of reviews\).).freeze,
+ comment: "The total number of items used in an aggregate (e.g., number of reviews).".freeze,
domain: "vmd:Review-aggregate".freeze,
type: "rdf:Property".freeze
property :"country-name",
domain: "vmd:Address".freeze,
type: "rdf:Property".freeze
@@ -448,11 +446,11 @@
type: "owl:Class".freeze,
unionOf: list("vmd:Review".freeze, "vmd:Product".freeze)
),
type: "rdf:Property".freeze
property :dtreviewed,
- comment: %(The date of the review.).freeze,
+ comment: "The date of the review.".freeze,
domain: "vmd:Review".freeze,
type: "rdf:Property".freeze
property :duration,
domain: "vmd:Recipe".freeze,
range: term(
@@ -480,19 +478,19 @@
type: "rdf:Property".freeze
property :image,
domain: "vmd:Product".freeze,
type: "rdf:Property".freeze
property :ingredient,
- comment: %(Represents ingredients used in a recipe.).freeze,
+ comment: "Represents ingredients used in a recipe.".freeze,
domain: "vmd:Recipe".freeze,
range: "vmd:RecipeIngredient".freeze,
type: "rdf:Property".freeze
property :instruction,
domain: "vmd:Instructions".freeze,
type: "rdf:Property".freeze
property :instructions,
- comment: %(Represents the steps to make a dish.).freeze,
+ comment: "Represents the steps to make a dish.".freeze,
domain: "vmd:Recipe".freeze,
range: "vmd:Instructions".freeze,
type: "rdf:Property".freeze
property :itemoffered,
domain: term(
@@ -508,18 +506,18 @@
type: "rdf:Property".freeze
property :lowprice,
domain: "vmd:OfferAggregate".freeze,
type: "rdf:Property".freeze
property :max,
- comment: %(The maximum value of an aggregated Rating.).freeze,
+ comment: "The maximum value of an aggregated Rating.".freeze,
domain: term(
type: "owl:Class".freeze,
unionOf: list("vmd:Rating".freeze, "vmd:TimeRange".freeze)
),
type: "rdf:Property".freeze
property :min,
- comment: %(The minimum value of an aggregated Rating.).freeze,
+ comment: "The minimum value of an aggregated Rating.".freeze,
domain: term(
type: "owl:Class".freeze,
unionOf: list("vmd:Rating".freeze, "vmd:TimeRange".freeze)
),
type: "rdf:Property".freeze
@@ -527,11 +525,11 @@
type: "rdf:Property".freeze
property :nickname,
domain: "vmd:Person".freeze,
type: "rdf:Property".freeze
property :nutrition,
- comment: %(Represents the nutrition information about a recipe.).freeze,
+ comment: "Represents the nutrition information about a recipe.".freeze,
domain: "vmd:Recipe".freeze,
range: "vmd:Nutrition".freeze,
type: "rdf:Property".freeze
property :offercount,
domain: "vmd:OfferAggregate".freeze,
@@ -559,13 +557,11 @@
type: "rdf:Property".freeze
property :price,
domain: "vmd:Offer".freeze,
type: "rdf:Property".freeze
property :pricerange,
- comment: %(The price range of products and services offered
- by a restaurant, business or other organization.
- ).freeze,
+ comment: "The price range of products and services offered\n by a restaurant, business or other organization.\n ".freeze,
domain: "vmd:Organization".freeze,
type: "rdf:Property".freeze
property :pricevaliduntil,
domain: "vmd:Offer".freeze,
type: "rdf:Property".freeze
@@ -577,11 +573,11 @@
type: "rdf:Property".freeze
property :quantity,
domain: "vmd:Offer".freeze,
type: "rdf:Property".freeze
property :rating,
- comment: %(A rating can be specified by a string literal or a Rating instance.).freeze,
+ comment: "A rating can be specified by a string literal or a Rating instance.".freeze,
domain: "vmd:Review".freeze,
range: term(
type: "owl:Class".freeze,
unionOf: list("vmd:Rating".freeze, "xsd:string".freeze)
),
@@ -591,11 +587,11 @@
type: "rdf:Property".freeze
property :region,
domain: "vmd:Address".freeze,
type: "rdf:Property".freeze
property :reviewer,
- comment: %(A reviewer can be specified by a string literal or a Person instance.).freeze,
+ comment: "A reviewer can be specified by a string literal or a Person instance.".freeze,
domain: "vmd:Review".freeze,
range: term(
type: "owl:Class".freeze,
unionOf: list("vmd:Person".freeze, "xsd:string".freeze)
),
@@ -632,11 +628,11 @@
type: "owl:Class".freeze,
unionOf: list("vmd:Person".freeze, "vmd:Organization".freeze)
),
type: "rdf:Property".freeze
property :timeRange,
- comment: %(Represents the length of time it takes to prepare a recipe.).freeze,
+ comment: "Represents the length of time it takes to prepare a recipe.".freeze,
domain: "vmd:Recipe".freeze,
range: "vmd:TimeRange".freeze,
type: "rdf:Property".freeze
property :title,
domain: term(
@@ -659,14 +655,14 @@
type: "owl:Class".freeze,
unionOf: list("vmd:Person".freeze, "vmd:Organization".freeze, "vmd:Product".freeze, "vmd:Breadcrumb".freeze)
),
type: "rdf:Property".freeze
property :value,
- comment: %(The value of a single Rating.).freeze,
+ comment: "The value of a single Rating.".freeze,
domain: "vmd:Rating".freeze,
type: "rdf:Property".freeze
property :worst,
- comment: %(The poorest value of a rating scale \(default 1\).).freeze,
+ comment: "The poorest value of a rating scale (default 1).".freeze,
domain: "vmd:Rating".freeze,
type: "rdf:Property".freeze
property :yield,
domain: "vmd:Recipe".freeze,
type: "rdf:Property".freeze