lib/rdf/vocab/v.rb in rdf-vocab-3.1.7 vs lib/rdf/vocab/v.rb in rdf-vocab-3.1.8
- old
+ new
@@ -299,56 +299,54 @@
# end
V = Class.new(RDF::StrictVocabulary("http://rdf.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: "v: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: "v:Person".freeze,
@@ -359,37 +357,37 @@
unionOf: list("v:Person".freeze, "v:Organization".freeze)
),
range: "v: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: "v:Person".freeze,
range: term(
type: "owl:Class".freeze,
unionOf: list("v:Organization".freeze, "xsd:string".freeze)
),
type: "rdf:Property".freeze
property :amount,
domain: "v: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: "v:Recipe".freeze,
range: term(
type: "owl:Class".freeze,
unionOf: list("v:Person".freeze, "xsd:string".freeze)
),
type: "rdf:Property".freeze
property :availability,
domain: "v: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: "v: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: "v:Rating".freeze,
type: "rdf:Property".freeze
property :brand,
domain: "v:Product".freeze,
type: "rdf:Property".freeze
@@ -429,11 +427,11 @@
type: "owl:Class".freeze,
unionOf: list("v: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: "v:Review-aggregate".freeze,
type: "rdf:Property".freeze
property :"country-name",
domain: "v:Address".freeze,
type: "rdf:Property".freeze
@@ -448,11 +446,11 @@
type: "owl:Class".freeze,
unionOf: list("v:Review".freeze, "v:Product".freeze)
),
type: "rdf:Property".freeze
property :dtreviewed,
- comment: %(The date of the review.).freeze,
+ comment: "The date of the review.".freeze,
domain: "v:Review".freeze,
type: "rdf:Property".freeze
property :duration,
domain: "v:Recipe".freeze,
range: term(
@@ -480,19 +478,19 @@
type: "rdf:Property".freeze
property :image,
domain: "v: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: "v:Recipe".freeze,
range: "v:RecipeIngredient".freeze,
type: "rdf:Property".freeze
property :instruction,
domain: "v: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: "v:Recipe".freeze,
range: "v:Instructions".freeze,
type: "rdf:Property".freeze
property :itemoffered,
domain: term(
@@ -508,18 +506,18 @@
type: "rdf:Property".freeze
property :lowprice,
domain: "v: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("v:Rating".freeze, "v: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("v:Rating".freeze, "v:TimeRange".freeze)
),
type: "rdf:Property".freeze
@@ -527,11 +525,11 @@
type: "rdf:Property".freeze
property :nickname,
domain: "v: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: "v:Recipe".freeze,
range: "v:Nutrition".freeze,
type: "rdf:Property".freeze
property :offercount,
domain: "v:OfferAggregate".freeze,
@@ -559,13 +557,11 @@
type: "rdf:Property".freeze
property :price,
domain: "v: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: "v:Organization".freeze,
type: "rdf:Property".freeze
property :pricevaliduntil,
domain: "v:Offer".freeze,
type: "rdf:Property".freeze
@@ -577,11 +573,11 @@
type: "rdf:Property".freeze
property :quantity,
domain: "v: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: "v:Review".freeze,
range: term(
type: "owl:Class".freeze,
unionOf: list("v:Rating".freeze, "xsd:string".freeze)
),
@@ -591,11 +587,11 @@
type: "rdf:Property".freeze
property :region,
domain: "v: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: "v:Review".freeze,
range: term(
type: "owl:Class".freeze,
unionOf: list("v:Person".freeze, "xsd:string".freeze)
),
@@ -632,11 +628,11 @@
type: "owl:Class".freeze,
unionOf: list("v:Person".freeze, "v: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: "v:Recipe".freeze,
range: "v:TimeRange".freeze,
type: "rdf:Property".freeze
property :title,
domain: term(
@@ -659,14 +655,14 @@
type: "owl:Class".freeze,
unionOf: list("v:Person".freeze, "v:Organization".freeze, "v:Product".freeze, "v: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: "v: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: "v:Rating".freeze,
type: "rdf:Property".freeze
property :yield,
domain: "v:Recipe".freeze,
type: "rdf:Property".freeze