lib/rdf/vocab/as.rb in rdf-vocab-3.1.4 vs lib/rdf/vocab/as.rb in rdf-vocab-3.1.5

- old
+ new

@@ -3,12 +3,477 @@ # This file generated automatically using rdf vocabulary format from https://www.w3.org/ns/activitystreams# require 'rdf' module RDF::Vocab # @!parse # # Vocabulary for <https://www.w3.org/ns/activitystreams#> + # # + # # Activity Streams 2.0 + # # + # # Extended Activity Streams 2.0 Vocabulary # class AS < RDF::StrictVocabulary + # # Actor accepts the Object + # # @return [RDF::Vocabulary::Term] + # attr_reader :Accept + # + # # An Object representing some form of Action that has been taken + # # @return [RDF::Vocabulary::Term] + # attr_reader :Activity + # + # # To Add an Object or Link to Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Add + # + # # Actor announces the object to the target + # # @return [RDF::Vocabulary::Term] + # attr_reader :Announce + # + # # Represents a software application of any sort + # # @return [RDF::Vocabulary::Term] + # attr_reader :Application + # + # # To Arrive Somewhere (can be used, for instance, to indicate that a particular entity is currently located somewhere, e.g. a "check-in") + # # @return [RDF::Vocabulary::Term] + # attr_reader :Arrive + # + # # A written work. Typically several paragraphs long. For example, a blog post or a news article. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Article + # + # # An audio file + # # @return [RDF::Vocabulary::Term] + # attr_reader :Audio + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :Block + # + # # An ordered or unordered collection of Objects or Links + # # @return [RDF::Vocabulary::Term] + # attr_reader :Collection + # + # # A subset of items from a Collection + # # @return [RDF::Vocabulary::Term] + # attr_reader :CollectionPage + # + # # To Create Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Create + # + # # To Delete Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Delete + # + # # The actor dislikes the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :Dislike + # + # # Represents a digital document/file of any sort + # # @return [RDF::Vocabulary::Term] + # attr_reader :Document + # + # # An Event of any kind + # # @return [RDF::Vocabulary::Term] + # attr_reader :Event + # + # # To flag something (e.g. flag as inappropriate, flag as spam, etc) + # # @return [RDF::Vocabulary::Term] + # attr_reader :Flag + # + # # To Express Interest in Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Follow + # + # # A Group of any kind. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Group + # + # # Actor is ignoring the Object + # # @return [RDF::Vocabulary::Term] + # attr_reader :Ignore + # + # # An Image file + # # @return [RDF::Vocabulary::Term] + # attr_reader :Image + # + # # An Activity that has no direct object + # # @return [RDF::Vocabulary::Term] + # attr_reader :IntransitiveActivity + # + # # To invite someone or something to something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Invite + # + # # To Join Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Join + # + # # To Leave Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Leave + # + # # To Like Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Like + # + # # Represents a qualified reference to another resource. Patterned after the RFC5988 Web Linking Model + # # @return [RDF::Vocabulary::Term] + # attr_reader :Link + # + # # The actor listened to the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :Listen + # + # # A specialized Link that represents an @mention + # # @return [RDF::Vocabulary::Term] + # attr_reader :Mention + # + # # The actor is moving the object. The target specifies where the object is moving to. The origin specifies where the object is moving from. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Move + # + # # A Short note, typically less than a single paragraph. A "tweet" is an example, or a "status update" + # # @return [RDF::Vocabulary::Term] + # attr_reader :Note + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :Object + # + # # To Offer something to someone or something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Offer + # + # # A variation of Collection in which items are strictly ordered + # # @return [RDF::Vocabulary::Term] + # attr_reader :OrderedCollection + # + # # An ordered subset of items from an OrderedCollection + # # @return [RDF::Vocabulary::Term] + # attr_reader :OrderedCollectionPage + # + # # A rdf:List variant for Objects and Links + # # @return [RDF::Vocabulary::Term] + # attr_reader :OrderedItems + # + # # An Organization + # # @return [RDF::Vocabulary::Term] + # attr_reader :Organization + # + # # A Web Page + # # @return [RDF::Vocabulary::Term] + # attr_reader :Page + # + # # A Person + # # @return [RDF::Vocabulary::Term] + # attr_reader :Person + # + # # A physical or logical location + # # @return [RDF::Vocabulary::Term] + # attr_reader :Place + # + # # A Profile Document + # # @return [RDF::Vocabulary::Term] + # attr_reader :Profile + # + # # A question of any sort. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Question + # + # # The actor read the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :Read + # + # # Actor rejects the Object + # # @return [RDF::Vocabulary::Term] + # attr_reader :Reject + # + # # Represents a Social Graph relationship between two Individuals (indicated by the 'a' and 'b' properties) + # # @return [RDF::Vocabulary::Term] + # attr_reader :Relationship + # + # # To Remove Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Remove + # + # # A service provided by some entity + # # @return [RDF::Vocabulary::Term] + # attr_reader :Service + # + # # Actor tentatively accepts the Object + # # @return [RDF::Vocabulary::Term] + # attr_reader :TentativeAccept + # + # # Actor tentatively rejects the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :TentativeReject + # + # # A placeholder for a deleted object + # # @return [RDF::Vocabulary::Term] + # attr_reader :Tombstone + # + # # The actor is traveling to the target. The origin specifies where the actor is traveling from. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Travel + # + # # To Undo Something. This would typically be used to indicate that a previous Activity has been undone. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Undo + # + # # To Update/Modify Something + # # @return [RDF::Vocabulary::Term] + # attr_reader :Update + # + # # A Video document of any kind. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Video + # + # # The actor viewed the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :View + # + # # Specifies the accuracy around the point established by the longitude and latitude + # # @return [RDF::Vocabulary::Term] + # attr_reader :accuracy + # + # # Subproperty of as:attributedTo that identifies the primary actor + # # @return [RDF::Vocabulary::Term] + # attr_reader :actor + # + # # The altitude of a place + # # @return [RDF::Vocabulary::Term] + # attr_reader :altitude + # + # # Describes a possible inclusive answer or option for a question. + # # @return [RDF::Vocabulary::Term] + # attr_reader :anyOf + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :attachment + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :attachments + # + # # Identifies an entity to which an object is attributed + # # @return [RDF::Vocabulary::Term] + # attr_reader :attributedTo + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :audience + # + # # Identifies the author of an object. Deprecated. Use as:attributedTo instead + # # @return [RDF::Vocabulary::Term] + # attr_reader :author + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :bcc + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :bto + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :cc + # + # # The content of the object. + # # @return [RDF::Vocabulary::Term] + # attr_reader :content + # + # # Specifies the context within which an object exists or an activity was performed + # # @return [RDF::Vocabulary::Term] + # attr_reader :context + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :current + # + # # Specifies the date and time the object was deleted + # # @return [RDF::Vocabulary::Term] + # attr_reader :deleted + # + # # On a Profile object, describes the object described by the profile + # # @return [RDF::Vocabulary::Term] + # attr_reader :describes + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :downstreamDuplicates + # + # # The duration of the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :duration + # + # # The ending time of the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :endTime + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :first + # + # # On a Tombstone object, describes the former type of the deleted object + # # @return [RDF::Vocabulary::Term] + # attr_reader :formerType + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :generator + # + # # The display height expressed as device independent pixels + # # @return [RDF::Vocabulary::Term] + # attr_reader :height + # + # # The target URI of the Link + # # @return [RDF::Vocabulary::Term] + # attr_reader :href + # + # # A hint about the language of the referenced resource + # # @return [RDF::Vocabulary::Term] + # attr_reader :hreflang + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :icon + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :id + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :image + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :inReplyTo + # + # # Indentifies an object used (or to be used) to complete an activity + # # @return [RDF::Vocabulary::Term] + # attr_reader :instrument + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :items + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :last + # + # # The latitude + # # @return [RDF::Vocabulary::Term] + # attr_reader :latitude + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :location + # + # # The longitude + # # @return [RDF::Vocabulary::Term] + # attr_reader :longitude + # + # # The MIME Media Type + # # @return [RDF::Vocabulary::Term] + # attr_reader :mediaType + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :name + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :next + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :object + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :objectType + # + # # Describes a possible exclusive answer or option for a question. + # # @return [RDF::Vocabulary::Term] + # attr_reader :oneOf + # + # # For certain activities, specifies the entity from which the action is directed. + # # @return [RDF::Vocabulary::Term] + # attr_reader :origin + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :partOf + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :prev + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :preview + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :provider + # + # # Specifies the date and time the object was published + # # @return [RDF::Vocabulary::Term] + # attr_reader :published + # + # # Specifies a radius around the point established by the longitude and latitude + # # @return [RDF::Vocabulary::Term] + # attr_reader :radius + # + # # A numeric rating (>= 0.0, <= 5.0) for the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :rating + # + # # The RFC 5988 or HTML5 Link Relation associated with the Link + # # @return [RDF::Vocabulary::Term] + # attr_reader :rel + # + # # On a Relationship object, describes the type of relationship + # # @return [RDF::Vocabulary::Term] + # attr_reader :relationship + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :replies + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :result + # + # # In a strictly ordered logical collection, specifies the index position of the first item in the items list + # # @return [RDF::Vocabulary::Term] + # attr_reader :startIndex + # + # # The starting time of the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :startTime + # + # # On a Relationship object, identifies the subject. e.g. when saying "John is connected to Sally", 'subject' refers to 'John' + # # @return [RDF::Vocabulary::Term] + # attr_reader :subject + # + # # A short summary of the object + # # @return [RDF::Vocabulary::Term] + # attr_reader :summary + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :tag + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :tags + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :target + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :to + # + # # The total number of items in a logical collection + # # @return [RDF::Vocabulary::Term] + # attr_reader :totalItems + # + # # Identifies the unit of measurement used by the radius, altitude and accuracy properties. The value can be expressed either as one of a set of predefined units or as a well-known common URI that identifies units. + # # @return [RDF::Vocabulary::Term] + # attr_reader :units + # + # # Specifies when the object was last updated + # # @return [RDF::Vocabulary::Term] + # attr_reader :updated + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :upstreamDuplicates + # + # # Specifies a link to a specific representation of the Object + # # @return [RDF::Vocabulary::Term] + # attr_reader :url + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :verb + # + # # Specifies the preferred display width of the content, expressed in terms of device independent pixels. + # # @return [RDF::Vocabulary::Term] + # attr_reader :width + # # end - class AS < RDF::StrictVocabulary("https://www.w3.org/ns/activitystreams#") + AS = Class.new(RDF::StrictVocabulary("https://www.w3.org/ns/activitystreams#")) do # Ontology definition ontology :"https://www.w3.org/ns/activitystreams#", comment: %(Extended Activity Streams 2.0 Vocabulary).freeze, label: "Activity Streams 2.0".freeze,