<commit_before># WontoMedia - a wontology web application
# Copyright (C) 2010 - <NAME>
#    www.wontology.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version
# 3 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in the file COPYING and/or LICENSE.  If not,
# see <http://www.gnu.org/licenses/>.


# "item" schema: name, sti_type, title, description


#### Category items at the root of the built-in schema:

Item_Class:
  name: Item_Class
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Class of all Items (foundation class)
  description: >-
    This category item is the foundation for the hierarchy of items
    that represent "classes."  A class is an item, some of whose
    properties make statements about the other items that are
    "instances" of that class.  Wontologies can be constructed where
    the membership (set of instances) in the class are determined by
    rules that compare against the other items in the wontology, but
    more commonly, a class' instance items are explicitly identified
    using the is_instance_of property.

    Any item that is to represent a "class" (a category whose child
    items are "instances" of the class) should be identified as a
    child of this category or one of this category's other children
    using the sub_class_of property.


Property_Item:
  name: Property_Item
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Class of all Property Items (foundation class)
  description: >-
    This category item is the base of the hierarchy of items that are
    properties.  It is a class, and is therefore identified as such by
    the connection "Property_Item is_instance_of Item_Class".  The
    absolute requirement to identify items as being "property type"
    (as opposed to individual or category) is to specify that when
    they are created.  However, most properties will also be
    identified as such by the existence of either the connection
    "[property] sub_property_of [another property]" or "[property]
    is_instance_of [another property class]".  In the second of these
    connection forms "another property class" will be either
    Property_Item or one of its children.


Type_Item:
  name: Type_Item
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Class of all Scalar Types (foundation class)
  description: >-
    This category item is the class that contains all items
    representing possible "types" for the values of property objects
    that are constants (rather than other items).  For example, in the
    connection "SallySinger sBirthdayIs 'March 10, 1977'", the object
    of the "sBirthdayIs" property is a date constant.  The type for
    data constants is represented in the system by the item
    "Date_Value", which is one of the members of this class.  All of
    the constant types that the system is capable of handling are
    represented by members of "Type_Item".  (Note that, if the type of
    information you want to use as a constant object doesn't have a
    matching "Type_Item" member, you can use the generic
    "String_Value" type.)


String_Value:
  name: String_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: String (scalar type)
  description: >-
    This item represents a particular type of constant value that can
    be used as the object of connections.  For example, in the
    statement "SallySinger sFavoriteColorIs 'Blue'", "Blue" is a
    String-type constant value.  The system doesn't perform any
    checks on the content of String constant aside from ensuring that
    they are not empty and not too long.


Integer_Value:
  name: Integer_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Integer (scalar type)
  description: >-
    This item represents a particular type of consant value that can
    be used as the object of connections.  For example, in the
    statement "SallySinger sTestScoreIs '45'", "45" is an Integer-type
    constant.  The system will only allow the digits 0 through 9
    (possibly with a leading minus sign, '-') to be entered for a
    connections constant object if it is marked as "Integer_Value".


Number_Value:
  name: Number_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Any Number (scalar type)
  description: >-
    This item represents a particular type of constant value that can
    be used as the object of connections.  For example, in the
    statement "SallySinger sPercentileRankingInClassIs '88.75'", the
    object value "88.75" is a number (in this point, a floating-point
    number with a fractional part).  The system will accept any number
    that can be typed, and attempts to parse number formats that
    include non-number characters (such as the "e" or "E" in
    scientific notation).  The system does not have a way to represent
    fractions, imaginary numbers, repeating digits, or significant
    figures.


Boolean_Value:
  name: Boolean_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Boolean ('True' or 'False' scalar type)
  description: >-
    This item represents a particular type of constant value that can
    be used as the object of connections.  For example, in the
    statement "SallySinger paysTaxesOnTime-Is 'True'", "true" is the
    Boolean constant object of the connection.  Sometimes the value of
    a Boolean-type constant can be input by selecting a specific
    web-page control, and other types it has to be typed into a
    text-entry box.  When typed, only the words "true" or "false"
    should be used, although the capitalization ("true", "True",
    "TRUE") doesn't matter.  In addition, for connections that use
    properties that express a true/false state but whose objects are
    Items rather than constants, the system provides the built-in
    Items "Value_True" and "Value_False" that can be selected as a
    relationship's object.


Value_True:
  name: Value_True
  sti_type: IndividualItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: True (a constant value)
  description: >-
    This item is provide for use as the object of connections that
    express a simple (true or false) fact.  For example, "Value_True"
    is the object of the connection "BillTheDog hasFleas Value_True".
<commit_msg>Ooops.  Forgot to include this new data type along with the rest.<commit_after># WontoMedia - a wontology web application
# Copyright (C) 2010 - <NAME>
#    www.wontology.com
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License version
# 3 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program in the file COPYING and/or LICENSE.  If not,
# see <http://www.gnu.org/licenses/>.


# "item" schema: name, sti_type, title, description


#### Category items at the root of the built-in schema:

Item_Class:
  name: Item_Class
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Class of all Items (foundation class)
  description: >-
    This category item is the foundation for the hierarchy of items
    that represent "classes."  A class is an item, some of whose
    properties make statements about the other items that are
    "instances" of that class.  Wontologies can be constructed where
    the membership (set of instances) in the class are determined by
    rules that compare against the other items in the wontology, but
    more commonly, a class' instance items are explicitly identified
    using the is_instance_of property.

    Any item that is to represent a "class" (a category whose child
    items are "instances" of the class) should be identified as a
    child of this category or one of this category's other children
    using the sub_class_of property.


Property_Item:
  name: Property_Item
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Class of all Property Items (foundation class)
  description: >-
    This category item is the base of the hierarchy of items that are
    properties.  It is a class, and is therefore identified as such by
    the connection "Property_Item is_instance_of Item_Class".  The
    absolute requirement to identify items as being "property type"
    (as opposed to individual or category) is to specify that when
    they are created.  However, most properties will also be
    identified as such by the existence of either the connection
    "[property] sub_property_of [another property]" or "[property]
    is_instance_of [another property class]".  In the second of these
    connection forms "another property class" will be either
    Property_Item or one of its children.


Type_Item:
  name: Type_Item
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Class of all Scalar Types (foundation class)
  description: >-
    This category item is the class that contains all items
    representing possible "types" for the values of property objects
    that are constants (rather than other items).  For example, in the
    connection "SallySinger sBirthdayIs 'March 10, 1977'", the object
    of the "sBirthdayIs" property is a date constant.  The type for
    data constants is represented in the system by the item
    "Date_Value", which is one of the members of this class.  All of
    the constant types that the system is capable of handling are
    represented by members of "Type_Item".  (Note that, if the type of
    information you want to use as a constant object doesn't have a
    matching "Type_Item" member, you can use the generic
    "String_Value" type.)


String_Value:
  name: String_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: String (scalar type)
  description: >-
    This item represents a particular type of constant value that can
    be used as the object of connections.  For example, in the
    statement "SallySinger sFavoriteColorIs 'Blue'", "Blue" is a
    String-type constant value.  The system doesn't perform any
    checks on the content of String constant aside from ensuring that
    they are not empty and not too long.


Integer_Value:
  name: Integer_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Integer (scalar type)
  description: >-
    This item represents a particular type of consant value that can
    be used as the object of connections.  For example, in the
    statement "SallySinger sTestScoreIs '45'", "45" is an Integer-type
    constant.  The system will only allow the digits 0 through 9
    (possibly with a leading minus sign, '-') to be entered for a
    connections constant object if it is marked as "Integer_Value".


Number_Value:
  name: Number_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Any Number (scalar type)
  description: >-
    This item represents a particular type of constant value that can
    be used as the object of connections.  For example, in the
    statement "SallySinger sPercentileRankingInClassIs '88.75'", the
    object value "88.75" is a number (in this point, a floating-point
    number with a fractional part).  The system will accept any number
    that can be typed, and attempts to parse number formats that
    include non-number characters (such as the "e" or "E" in
    scientific notation).  The system does not have a way to represent
    fractions, imaginary numbers, repeating digits, or significant
    figures.


Date_Value:
  name: Date_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: A Date (optionally with time, scalar type)
  description: >-
    This item represents a particular date (and time).  It is a
    relatively free-form field, allowingg a mix of letters, numbers,
    and punctuation to allow easily human-readable dates to be
    entered.  The date/time can be as accurate as the information you
    have allows.  Depending on the context, it could be as general as
    a single year or even a century, or it could be a date and time
    down to the second:  "March 24, 2010 at 12:15:22pm (Pacific)".
    But it cannot be ambiguous.  For example, if you spell out the
    month when entering a birth date, then both "4 January 1955" and
    "Jan 4, 1955" are acceptable.  However, you should not type
    something like "1/4/55" because of both the month/day ambiguity
    (difference between U.S. and European common ordering) and because
    of the century ambiguity (probably 1955, but what if it was
    1855?).


Boolean_Value:
  name: Boolean_Value
  sti_type: CategoryItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: Boolean ('True' or 'False' scalar type)
  description: >-
    This item represents a particular type of constant value that can
    be used as the object of connections.  For example, in the
    statement "SallySinger paysTaxesOnTime-Is 'True'", "true" is the
    Boolean constant object of the connection.  Sometimes the value of
    a Boolean-type constant can be input by selecting a specific
    web-page control, and other types it has to be typed into a
    text-entry box.  When typed, only the words "true" or "false"
    should be used, although the capitalization ("true", "True",
    "TRUE") doesn't matter.  In addition, for connections that use
    properties that express a true/false state but whose objects are
    Items rather than constants, the system provides the built-in
    Items "Value_True" and "Value_False" that can be selected as a
    relationship's object.


Value_True:
  name: Value_True
  sti_type: IndividualItem
  flags: <%= Item::DATA_IS_UNALTERABLE %>
  title: True (a constant value)
  description: >-
    This item is provide for use as the object of connections that
    express a simple (true or false) fact.  For example, "Value_True"
    is the object of the connection "BillTheDog hasFleas Value_True".

{'fraction_non_alphanumeric': 0.05809691869146193, 'fraction_numerical': 0.005701099497760282, 'mean_word_length': 3.652668140195769, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6096873', 'n_tokens_mistral': 4097, 'n_tokens_neox': 3896, 'n_words': 2005}