# -*- encoding: utf-8 -*- # frozen_string_literal: true # This file generated automatically using rdf vocabulary format from http://data-vocabulary.org/ require 'rdf' module RDF::Vocab # @!parse # # Vocabulary for # # # class VMD < RDF::StrictVocabulary # # Postal address for a Person or Organization. # # @return [RDF::Vocabulary::Term] # attr_reader :Address # # # Represents a single Breadcrumb in a Breadcrumb trail. # # @return [RDF::Vocabulary::Term] # attr_reader :Breadcrumb # # # Represents the steps to make a dish. # # @return [RDF::Vocabulary::Term] # attr_reader :Instructions # # # Represents the nutrition information about a recipe. # # @return [RDF::Vocabulary::Term] # attr_reader :Nutrition # # # Represents an offer to sell a product. # # @return [RDF::Vocabulary::Term] # attr_reader :Offer # # # Represents a collection of offers to sell a product. # # @return [RDF::Vocabulary::Term] # attr_reader :OfferAggregate # # # An Organization is a business, agency, school, etc. # # @return [RDF::Vocabulary::Term] # attr_reader :Organization # # # Represents a Person, living/dead/fictional. # # @return [RDF::Vocabulary::Term] # attr_reader :Person # # # Represents a product or service in a Review or Review-aggregate. # # @return [RDF::Vocabulary::Term] # attr_reader :Product # # # Represents a rating in a Review or Review-aggregate. # # @return [RDF::Vocabulary::Term] # attr_reader :Rating # # # A single instance of a Recipe. # # @return [RDF::Vocabulary::Term] # attr_reader :Recipe # # # Represents ingredients used in a recipe. # # @return [RDF::Vocabulary::Term] # attr_reader :RecipeIngredient # # # A single instance of a Review. # # @return [RDF::Vocabulary::Term] # attr_reader :Review # # # Represents the length of time it takes to prepare a recipe. # # @return [RDF::Vocabulary::Term] # attr_reader :TimeRange # # # @return [RDF::Vocabulary::Term] # attr_reader :acquaintance # # # @return [RDF::Vocabulary::Term] # attr_reader :address # # # An affiliation can be specified by a string literal or an Organization instance. # # @return [RDF::Vocabulary::Term] # attr_reader :affiliation # # # @return [RDF::Vocabulary::Term] # attr_reader :amount # # # An author of the recipe can be specified by a string literal or a Person instance. # # @return [RDF::Vocabulary::Term] # attr_reader :author # # # @return [RDF::Vocabulary::Term] # attr_reader :availability # # # The average of an aggregate value. # # @return [RDF::Vocabulary::Term] # attr_reader :average # # # The best value of a rating scale (default 5). # # @return [RDF::Vocabulary::Term] # attr_reader :best # # # @return [RDF::Vocabulary::Term] # attr_reader :brand # # # @return [RDF::Vocabulary::Term] # attr_reader :calories # # # @return [RDF::Vocabulary::Term] # attr_reader :carbohydrates # # # @return [RDF::Vocabulary::Term] # attr_reader :category # # # @return [RDF::Vocabulary::Term] # attr_reader :child # # # @return [RDF::Vocabulary::Term] # attr_reader :cholesterol # # # @return [RDF::Vocabulary::Term] # attr_reader :colleague # # # @return [RDF::Vocabulary::Term] # attr_reader :condition # # # @return [RDF::Vocabulary::Term] # attr_reader :contact # # # @return [RDF::Vocabulary::Term] # attr_reader :cookTime # # # The total number of items used in an aggregate (e.g., number of reviews). # # @return [RDF::Vocabulary::Term] # attr_reader :count # # # @return [RDF::Vocabulary::Term] # attr_reader :currency # # # @return [RDF::Vocabulary::Term] # attr_reader :description # # # The date of the review. # # @return [RDF::Vocabulary::Term] # attr_reader :dtreviewed # # # @return [RDF::Vocabulary::Term] # attr_reader :duration # # # @return [RDF::Vocabulary::Term] # attr_reader :fat # # # @return [RDF::Vocabulary::Term] # attr_reader :fiber # # # @return [RDF::Vocabulary::Term] # attr_reader :friend # # # @return [RDF::Vocabulary::Term] # attr_reader :highprice # # # @return [RDF::Vocabulary::Term] # attr_reader :identifier # # # @return [RDF::Vocabulary::Term] # attr_reader :image # # # Represents ingredients used in a recipe. # # @return [RDF::Vocabulary::Term] # attr_reader :ingredient # # # @return [RDF::Vocabulary::Term] # attr_reader :instruction # # # Represents the steps to make a dish. # # @return [RDF::Vocabulary::Term] # attr_reader :instructions # # # @return [RDF::Vocabulary::Term] # attr_reader :itemoffered # # # @return [RDF::Vocabulary::Term] # attr_reader :itemreviewed # # # @return [RDF::Vocabulary::Term] # attr_reader :locality # # # @return [RDF::Vocabulary::Term] # attr_reader :lowprice # # # The maximum value of an aggregated Rating. # # @return [RDF::Vocabulary::Term] # attr_reader :max # # # The minimum value of an aggregated Rating. # # @return [RDF::Vocabulary::Term] # attr_reader :min # # # @return [RDF::Vocabulary::Term] # attr_reader :name # # # @return [RDF::Vocabulary::Term] # attr_reader :nickname # # # Represents the nutrition information about a recipe. # # @return [RDF::Vocabulary::Term] # attr_reader :nutrition # # # @return [RDF::Vocabulary::Term] # attr_reader :offercount # # # @return [RDF::Vocabulary::Term] # attr_reader :offerdetails # # # @return [RDF::Vocabulary::Term] # attr_reader :offerurl # # # @return [RDF::Vocabulary::Term] # attr_reader :photo # # # @return [RDF::Vocabulary::Term] # attr_reader :prepTime # # # @return [RDF::Vocabulary::Term] # attr_reader :price # # # The price range of products and services offered by a restaurant, business or other organization. # # @return [RDF::Vocabulary::Term] # attr_reader :pricerange # # # @return [RDF::Vocabulary::Term] # attr_reader :pricevaliduntil # # # @return [RDF::Vocabulary::Term] # attr_reader :protein # # # @return [RDF::Vocabulary::Term] # attr_reader :published # # # @return [RDF::Vocabulary::Term] # attr_reader :quantity # # # A rating can be specified by a string literal or a Rating instance. # # @return [RDF::Vocabulary::Term] # attr_reader :rating # # # @return [RDF::Vocabulary::Term] # attr_reader :recipeType # # # @return [RDF::Vocabulary::Term] # attr_reader :region # # # A reviewer can be specified by a string literal or a Person instance. # # @return [RDF::Vocabulary::Term] # attr_reader :reviewer # # # @return [RDF::Vocabulary::Term] # attr_reader :role # # # @return [RDF::Vocabulary::Term] # attr_reader :saturatedFat # # # @return [RDF::Vocabulary::Term] # attr_reader :seller # # # @return [RDF::Vocabulary::Term] # attr_reader :servingSize # # # @return [RDF::Vocabulary::Term] # attr_reader :sugar # # # @return [RDF::Vocabulary::Term] # attr_reader :summary # # # @return [RDF::Vocabulary::Term] # attr_reader :tag # # # @return [RDF::Vocabulary::Term] # attr_reader :tel # # # Represents the length of time it takes to prepare a recipe. # # @return [RDF::Vocabulary::Term] # attr_reader :timeRange # # # @return [RDF::Vocabulary::Term] # attr_reader :title # # # @return [RDF::Vocabulary::Term] # attr_reader :totalTime # # # @return [RDF::Vocabulary::Term] # attr_reader :unsaturatedFat # # # @return [RDF::Vocabulary::Term] # attr_reader :url # # # The value of a single Rating. # # @return [RDF::Vocabulary::Term] # attr_reader :value # # # The poorest value of a rating scale (default 1). # # @return [RDF::Vocabulary::Term] # attr_reader :worst # # # @return [RDF::Vocabulary::Term] # attr_reader :yield # # end VMD = Class.new(RDF::StrictVocabulary("http://data-vocabulary.org/")) do # Class definitions term :Address, 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, type: ["owl:Class".freeze, "rdfs:Class".freeze] term :Instructions, comment: "Represents the steps to make a dish.".freeze, type: "rdfs:Class".freeze term :Nutrition, comment: "Represents the nutrition information about a recipe.".freeze, type: "rdfs:Class".freeze term :Offer, 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, type: ["owl:Class".freeze, "rdfs:Class".freeze] term :Organization, 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, type: ["owl:Class".freeze, "rdfs:Class".freeze] term :Product, 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, type: ["owl:Class".freeze, "rdfs:Class".freeze] term :Recipe, 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, type: "rdfs:Class".freeze term :Review, 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.\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, type: ["owl:Class".freeze, "rdfs:Class".freeze] # Property definitions property :acquaintance, domain: "vmd:Person".freeze, type: "rdf:Property".freeze property :address, domain: term( type: "owl:Class".freeze, 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, 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, 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, domain: "vmd:Rating".freeze, type: "rdf:Property".freeze property :best, 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 property :calories, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :carbohydrates, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :category, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Organization".freeze, "vmd:Product".freeze) ), type: "rdf:Property".freeze property :child, domain: "vmd:Breadcrumb".freeze, type: "rdf:Property".freeze property :cholesterol, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :colleague, domain: "vmd:Person".freeze, type: "rdf:Property".freeze property :condition, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Offer".freeze, "vmd:OfferAggregate".freeze) ), type: "rdf:Property".freeze property :contact, domain: "vmd:Person".freeze, type: "rdf:Property".freeze property :cookTime, domain: "vmd:Recipe".freeze, range: term( 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, domain: "vmd:Review-aggregate".freeze, type: "rdf:Property".freeze property :"country-name", domain: "vmd:Address".freeze, type: "rdf:Property".freeze property :currency, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Offer".freeze, "vmd:OfferAggregate".freeze) ), type: "rdf:Property".freeze property :description, domain: term( 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, domain: "vmd:Review".freeze, type: "rdf:Property".freeze property :duration, domain: "vmd:Recipe".freeze, range: term( type: "owl:Class".freeze, unionOf: list("vmd:TimeRange".freeze, "xsd:string".freeze) ), type: "rdf:Property".freeze property :fat, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :fiber, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :friend, domain: "vmd:Person".freeze, type: "rdf:Property".freeze property :highprice, domain: "vmd:OfferAggregate".freeze, type: "rdf:Property".freeze property :identifier, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Product".freeze, "vmd:Offer".freeze) ), type: "rdf:Property".freeze property :image, domain: "vmd:Product".freeze, type: "rdf:Property".freeze property :ingredient, 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, domain: "vmd:Recipe".freeze, range: "vmd:Instructions".freeze, type: "rdf:Property".freeze property :itemoffered, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Offer".freeze, "vmd:OfferAggregate".freeze) ), type: "rdf:Property".freeze property :itemreviewed, domain: "vmd:Review".freeze, type: "rdf:Property".freeze property :locality, domain: "vmd:Address".freeze, 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, 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, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Rating".freeze, "vmd:TimeRange".freeze) ), type: "rdf:Property".freeze property :name, 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, domain: "vmd:Recipe".freeze, range: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :offercount, domain: "vmd:OfferAggregate".freeze, type: "rdf:Property".freeze property :offerdetails, domain: "vmd:Product".freeze, type: "rdf:Property".freeze property :offerurl, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Offer".freeze, "vmd:OfferAggregate".freeze) ), type: "rdf:Property".freeze property :photo, type: "rdf:Property".freeze property :"postal-code", domain: "vmd:Address".freeze, type: "rdf:Property".freeze property :prepTime, domain: "vmd:Recipe".freeze, range: term( type: "owl:Class".freeze, unionOf: list("vmd:TimeRange".freeze, "xsd:string".freeze) ), 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\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 property :protein, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :published, domain: "vmd:Recipe".freeze, 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, domain: "vmd:Review".freeze, range: term( type: "owl:Class".freeze, unionOf: list("vmd:Rating".freeze, "xsd:string".freeze) ), type: "rdf:Property".freeze property :recipeType, domain: "vmd:Recipe".freeze, 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, domain: "vmd:Review".freeze, range: term( type: "owl:Class".freeze, unionOf: list("vmd:Person".freeze, "xsd:string".freeze) ), type: "rdf:Property".freeze property :role, domain: "vmd:Person".freeze, type: "rdf:Property".freeze property :saturatedFat, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :seller, domain: "vmd:Offer".freeze, type: "rdf:Property".freeze property :servingSize, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :"street-address", domain: "vmd:Address".freeze, type: "rdf:Property".freeze property :sugar, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :summary, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Review".freeze, "vmd:Recipe".freeze) ), type: "rdf:Property".freeze property :tag, domain: "vmd:Recipe".freeze, type: "rdf:Property".freeze property :tel, domain: term( 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, domain: "vmd:Recipe".freeze, range: "vmd:TimeRange".freeze, type: "rdf:Property".freeze property :title, domain: term( type: "owl:Class".freeze, unionOf: list("vmd:Person".freeze, "vmd:Breadcrumb".freeze) ), type: "rdf:Property".freeze property :totalTime, domain: "vmd:Recipe".freeze, range: term( type: "owl:Class".freeze, unionOf: list("vmd:TimeRange".freeze, "xsd:string".freeze) ), type: "rdf:Property".freeze property :unsaturatedFat, domain: "vmd:Nutrition".freeze, type: "rdf:Property".freeze property :url, domain: term( 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, domain: "vmd:Rating".freeze, type: "rdf:Property".freeze property :worst, 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 end end