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

- old
+ new

@@ -3,12 +3,412 @@ # This file generated automatically using rdf vocabulary format from http://rdfs.org/sioc/ns# require 'rdf' module RDF::Vocab # @!parse # # Vocabulary for <http://rdfs.org/sioc/ns#> + # # + # # SIOC Core Ontology Namespace + # # + # # SIOC (Semantically-Interlinked Online Communities) is an ontology for describing the information in online communities. This information can be used to export information from online communities and to link them together. The scope of the application areas that SIOC can be used for includes (and is not limited to) weblogs, message boards, mailing lists and chat channels. + # # @version Revision: 1.36 + # # @see http://rdfs.org/sioc/spec # class SIOC < RDF::StrictVocabulary + # # Community is a high-level concept that defines an online community and what it consists of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Community + # + # # An area in which content Items are contained. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Container + # + # # A discussion area on which Posts or entries are made. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Forum + # + # # An Item is something which can be in a Container. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Item + # + # # An article or message that can be posted to a Forum. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Post + # + # # A Role is a function of a UserAccount within a scope of a particular Forum, Site, etc. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Role + # + # # A Site can be the location of an online community or set of communities, with UserAccounts and Usergroups creating Items in a set of Containers. It can be thought of as a web-accessible data Space. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Site + # + # # A Space is a place where data resides, e.g. on a website, desktop, fileshare, etc. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Space + # + # # A container for a series of threaded discussion Posts or Items. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Thread + # + # # UserAccount is now preferred. This is a deprecated class for a User in an online community site. + # # @return [RDF::Vocabulary::Term] + # attr_reader :User + # + # # A user account in an online community site. + # # @return [RDF::Vocabulary::Term] + # attr_reader :UserAccount + # + # # A set of UserAccounts whose owners have a common purpose or interest. Can be used for access control purposes. + # # @return [RDF::Vocabulary::Term] + # attr_reader :Usergroup + # + # # Specifies that this Item is about a particular resource, e.g. a Post describing a book, hotel, etc. + # # @return [RDF::Vocabulary::Term] + # attr_reader :about + # + # # Refers to the foaf:Agent or foaf:Person who owns this sioc:UserAccount. + # # @return [RDF::Vocabulary::Term] + # attr_reader :account_of + # + # # Refers to who (e.g. a UserAccount, e-mail address, etc.) a particular Item is addressed to. + # # @return [RDF::Vocabulary::Term] + # attr_reader :addressed_to + # + # # A Site that the UserAccount is an administrator of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :administrator_of + # + # # The URI of a file attached to an Item. + # # @return [RDF::Vocabulary::Term] + # attr_reader :attachment + # + # # An image or depiction used to represent this UserAccount. + # # @return [RDF::Vocabulary::Term] + # attr_reader :avatar + # + # # An Item that this Container contains. + # # @return [RDF::Vocabulary::Term] + # attr_reader :container_of + # + # # The content of the Item in plain text format. + # # @return [RDF::Vocabulary::Term] + # attr_reader :content + # + # # The encoded content of the Post, contained in CDATA areas. + # # @return [RDF::Vocabulary::Term] + # attr_reader :content_encoded + # + # # When this was created, in ISO 8601 format. + # # @return [RDF::Vocabulary::Term] + # attr_reader :created_at + # + # # A resource that the UserAccount is a creator of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :creator_of + # + # # When this was delivered, in ISO 8601 format. + # # @return [RDF::Vocabulary::Term] + # attr_reader :delivered_at + # + # # The content of the Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :description + # + # # The Item that this discussion is about. + # # @return [RDF::Vocabulary::Term] + # attr_reader :discussion_of + # + # # Links to a previous (older) revision of this Item or Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :earlier_version + # + # # An electronic mail address of the UserAccount. + # # @return [RDF::Vocabulary::Term] + # attr_reader :email + # + # # An electronic mail address of the UserAccount, encoded using SHA1. + # # @return [RDF::Vocabulary::Term] + # attr_reader :email_sha1 + # + # # This links Items to embedded statements, facts and structured content. + # # @return [RDF::Vocabulary::Term] + # attr_reader :embeds_knowledge + # + # # A feed (e.g. RSS, Atom, etc.) pertaining to this resource (e.g. for a Forum, Site, UserAccount, etc.). + # # @return [RDF::Vocabulary::Term] + # attr_reader :feed + # + # # First (real) name of this User. Synonyms include given name or christian name. + # # @return [RDF::Vocabulary::Term] + # attr_reader :first_name + # + # # Indicates that one UserAccount follows another UserAccount (e.g. for microblog posts or other content item updates). + # # @return [RDF::Vocabulary::Term] + # attr_reader :follows + # + # # A UserAccount that has this Role. + # # @return [RDF::Vocabulary::Term] + # attr_reader :function_of + # + # # A URI for the application used to generate this Item. + # # @return [RDF::Vocabulary::Term] + # attr_reader :generator + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :group_of + # + # # A UserAccount that is an administrator of this Site. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_administrator + # + # # The Container to which this Item belongs. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_container + # + # # This is the UserAccount that made this resource. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_creator + # + # # A discussion that is related to this Item. The discussion can be anything, for example, a sioc:Forum or sioc:Thread, a sioct:WikiArticle or simply a foaf:Document. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_discussion + # + # # A Role that this UserAccount has. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_function + # + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_group + # + # # The Site that hosts this Container. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_host + # + # # A UserAccount that is a member of this Usergroup. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_member + # + # # A UserAccount that is a moderator of this Forum. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_moderator + # + # # A UserAccount that modified this resource (e.g. Item, Container, Space). + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_modifier + # + # # A UserAccount that this resource is owned by. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_owner + # + # # A Container or Forum that this Container or Forum is a child of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_parent + # + # # An resource that is a part of this subject. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_part + # + # # Points to an Item or Post that is a reply or response to this Item or Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_reply + # + # # A resource that this Role applies to. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_scope + # + # # A data Space which this resource is a part of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_space + # + # # A UserAccount that is subscribed to this Container. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_subscriber + # + # # Points to a Usergroup that has certain access to this Space. + # # @return [RDF::Vocabulary::Term] + # attr_reader :has_usergroup + # + # # A Container that is hosted on this Site. + # # @return [RDF::Vocabulary::Term] + # attr_reader :host_of + # + # # An identifier of a SIOC concept instance. For example, a user ID. Must be unique for instances of each type of SIOC concept within the same site. + # # @return [RDF::Vocabulary::Term] + # attr_reader :id + # + # # The IP address used when creating this Item, UserAccount, etc. This can be associated with a creator. Some wiki articles list the IP addresses for the creator or modifiers when the usernames are absent. + # # @return [RDF::Vocabulary::Term] + # attr_reader :ip_address + # + # # The date and time of the last activity associated with a SIOC concept instance, and expressed in ISO 8601 format. This could be due to a reply Post or Comment, a modification to an Item, etc. + # # @return [RDF::Vocabulary::Term] + # attr_reader :last_activity_date + # + # # The date and time of the last Post (or Item) in a Forum (or a Container), in ISO 8601 format. + # # @return [RDF::Vocabulary::Term] + # attr_reader :last_item_date + # + # # Last (real) name of this user. Synonyms include surname or family name. + # # @return [RDF::Vocabulary::Term] + # attr_reader :last_name + # + # # The date and time of the last reply Post or Comment, which could be associated with a starter Item or Post or with a Thread, and expressed in ISO 8601 format. + # # @return [RDF::Vocabulary::Term] + # attr_reader :last_reply_date + # + # # Links to a later (newer) revision of this Item or Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :later_version + # + # # Links to the latest revision of this Item or Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :latest_version + # + # # Used to indicate some form of endorsement by a UserAccount or Agent of an Item, Container, Space, UserAccount, etc. + # # @return [RDF::Vocabulary::Term] + # attr_reader :likes + # + # # A URI of a document which contains this SIOC object. + # # @return [RDF::Vocabulary::Term] + # attr_reader :link + # + # # Links extracted from hyperlinks within a SIOC concept, e.g. Post or Site. + # # @return [RDF::Vocabulary::Term] + # attr_reader :links_to + # + # # A Usergroup that this UserAccount is a member of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :member_of + # + # # Refers to a UserAccount that a particular Item mentions. + # # @return [RDF::Vocabulary::Term] + # attr_reader :mentions + # + # # A Forum that a UserAccount is a moderator of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :moderator_of + # + # # When this was modified, in ISO 8601 format. + # # @return [RDF::Vocabulary::Term] + # attr_reader :modified_at + # + # # A resource that this UserAccount has modified. + # # @return [RDF::Vocabulary::Term] + # attr_reader :modifier_of + # + # # The name of a SIOC concept instance, e.g. a username for a UserAccount, group name for a Usergroup, etc. + # # @return [RDF::Vocabulary::Term] + # attr_reader :name + # + # # Next Item or Post in a given Container sorted by date. + # # @return [RDF::Vocabulary::Term] + # attr_reader :next_by_date + # + # # Links to the next revision of this Item or Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :next_version + # + # # A note associated with this resource, for example, if it has been edited by a UserAccount. + # # @return [RDF::Vocabulary::Term] + # attr_reader :note + # + # # The number of unique authors (UserAccounts and unregistered posters) who have contributed to this Item, Thread, Post, etc. + # # @return [RDF::Vocabulary::Term] + # attr_reader :num_authors + # + # # The number of Posts (or Items) in a Forum (or a Container). + # # @return [RDF::Vocabulary::Term] + # attr_reader :num_items + # + # # The number of replies that this Item, Thread, Post, etc. has. Useful for when the reply structure is absent. + # # @return [RDF::Vocabulary::Term] + # attr_reader :num_replies + # + # # The number of Threads (AKA discussion topics) in a Forum. + # # @return [RDF::Vocabulary::Term] + # attr_reader :num_threads + # + # # The number of times this Item, Thread, UserAccount profile, etc. has been viewed. + # # @return [RDF::Vocabulary::Term] + # attr_reader :num_views + # + # # A resource owned by a particular UserAccount, for example, a weblog or image gallery. + # # @return [RDF::Vocabulary::Term] + # attr_reader :owner_of + # + # # A child Container or Forum that this Container or Forum is a parent of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :parent_of + # + # # A resource that the subject is a part of. + # # @return [RDF::Vocabulary::Term] + # attr_reader :part_of + # + # # Previous Item or Post in a given Container sorted by date. + # # @return [RDF::Vocabulary::Term] + # attr_reader :previous_by_date + # + # # Links to the previous revision of this Item or Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :previous_version + # + # # When this was read, in ISO 8601 format. + # # @return [RDF::Vocabulary::Term] + # attr_reader :read_at + # + # # Links either created explicitly or extracted implicitly on the HTML level from the Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :reference + # + # # Related resources for this resource, e.g. for Posts, perhaps determined implicitly from topics or references. + # # @return [RDF::Vocabulary::Term] + # attr_reader :related_to + # + # # Links to an Item or Post which this Item or Post is a reply to. + # # @return [RDF::Vocabulary::Term] + # attr_reader :reply_of + # + # # For the reply-to address set in email messages, IMs, etc. The property name was chosen to avoid confusion with has_reply/reply_of (the reply graph). + # # @return [RDF::Vocabulary::Term] + # attr_reader :respond_to + # + # # A Role that has a scope of this resource. + # # @return [RDF::Vocabulary::Term] + # attr_reader :scope_of + # + # # For shared Items where there is a certain creator_of and an intermediary who shares or forwards it (e.g. as a sibling Item). + # # @return [RDF::Vocabulary::Term] + # attr_reader :shared_by + # + # # An Item may have a sibling or a twin that exists in a different Container, but the siblings may differ in some small way (for example, language, category, etc.). The sibling of this Item should be self-describing (that is, it should contain all available information). + # # @return [RDF::Vocabulary::Term] + # attr_reader :sibling + # + # # A resource which belongs to this data Space. + # # @return [RDF::Vocabulary::Term] + # attr_reader :space_of + # + # # Keyword(s) describing subject of the Post. + # # @return [RDF::Vocabulary::Term] + # attr_reader :subject + # + # # A Container that a UserAccount is subscribed to. + # # @return [RDF::Vocabulary::Term] + # attr_reader :subscriber_of + # + # # This is the title (subject line) of the Post. Note that for a Post within a threaded discussion that has no parents, it would detail the topic thread. + # # @return [RDF::Vocabulary::Term] + # attr_reader :title + # + # # A topic of interest, linking to the appropriate URI, e.g. in the Open Directory Project or of a SKOS category. + # # @return [RDF::Vocabulary::Term] + # attr_reader :topic + # + # # A Space that the Usergroup has access to. + # # @return [RDF::Vocabulary::Term] + # attr_reader :usergroup_of + # # end - class SIOC < RDF::StrictVocabulary("http://rdfs.org/sioc/ns#") + SIOC = Class.new(RDF::StrictVocabulary("http://rdfs.org/sioc/ns#")) do # Ontology definition ontology :"http://rdfs.org/sioc/ns#", "dc:description": "SIOC (Semantically-Interlinked Online Communities) is an ontology for describing the information in online communities. \nThis information can be used to export information from online communities and to link them together. The scope of the application areas that SIOC can be used for includes (and is not limited to) weblogs, message boards, mailing lists and chat channels.".freeze, "dc:title": "SIOC Core Ontology Namespace".freeze,