WO2017033588A1 - データベース管理装置およびその方法 - Google Patents

データベース管理装置およびその方法 Download PDF

Info

Publication number
WO2017033588A1
WO2017033588A1 PCT/JP2016/070089 JP2016070089W WO2017033588A1 WO 2017033588 A1 WO2017033588 A1 WO 2017033588A1 JP 2016070089 W JP2016070089 W JP 2016070089W WO 2017033588 A1 WO2017033588 A1 WO 2017033588A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
element data
field
specifying
stored
Prior art date
Application number
PCT/JP2016/070089
Other languages
English (en)
French (fr)
Inventor
成仁 片山
Original Assignee
成仁 片山
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 成仁 片山 filed Critical 成仁 片山
Priority to EP16838935.1A priority Critical patent/EP3343396A4/en
Priority to JP2016568076A priority patent/JP6092493B1/ja
Priority to CN201680049061.4A priority patent/CN107924417B/zh
Publication of WO2017033588A1 publication Critical patent/WO2017033588A1/ja
Priority to US15/817,529 priority patent/US20180089274A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/289Object oriented databases

Definitions

  • the present invention relates to a database management apparatus, and more particularly to a database management apparatus having a new data structure.
  • the use of knowledge databases has determined data types according to the grammar and processed them. For example, 1) the word “eat” is a verb and takes an object, 2) the word “apple” is a noun, and has color, size, and place of origin as attributes.
  • the data type is tabulated and a data structure of a relational database having an item for each word.
  • Patent Document 1 Japanese Patent Laid-Open No. 08-077013 discloses a database employing object orientation instead of the relational database.
  • Patent Document 1 also requires the creation of a class each time.
  • An object of the present invention is to provide a database management apparatus capable of solving the above problems and easily growing a knowledge database.
  • a database management apparatus is a database management apparatus having A) a table composed of at least the following four fields a1) to a4), wherein one element data is composed of one record.
  • A1) an element data ID field in which the element data ID of the element data is stored; a2) an upper element data field in which an upper element data ID that is an ID of upper element data located above the element data is stored;
  • the table includes b1) element relation An element-related data storage unit for storing data, b2) a multiple-element group data storage unit for storing multiple-element group data, and b3) linking the element-related data with the multiple-element group top-level element data of the multiple-element group data At least a
  • Element data IDs indicating reverse predicate relation information are respectively stored in the connection attribute element data field, b2) the plural element group data Includes at least starting element data, landing element data, and path element data, and a plurality of element group highest element data connecting them, b21)
  • the element data ID is stored in the element data ID field and the content element data specifying field, respectively.
  • the starting element data is the element data ID of the main element data in the content element data specifying field.
  • the element data ID of the most significant element data is stored in the upper element data field, and the element data ID indicating the standard is stored in the connection attribute element data specifying field, b23)
  • the landing element data is the subordinate element data.
  • the element data ID of the element data is stored in the content element data identification field in the element data I of the most significant element data.
  • D is stored in the upper element data field, and an element data ID indicating a predecessor is stored in the connection attribute element data specifying field.
  • the path element data is the sub element data viewed from the main element data.
  • the element data ID indicating the predicate relation information is specified in the content element data specifying field, the element data ID of the most significant element data is specified in the upper element data field, and the element data ID indicating a path is specified in the linked attribute element data specifying.
  • the plurality of element group data concatenated data stored in each of the fields includes a plurality of element group most significant element data ID of the plurality of element group data in the content element data specifying field, and an element data ID of the element related data.
  • the highest element data of the plurality of element groups A concatenated attribute ID of a focusing attribute indicating that it is concatenated with continuous data is stored in a concatenated attribute element data specifying field.
  • a search request specifying a main element data ID is given for the upper element data field.
  • the element-related data including the main element data is extracted, the plurality of element group data connection data including the element data ID of the extracted element-related data is extracted, and specified by the extracted plurality of element group data connection data.
  • a database management apparatus in which various types of data are concatenated in a common format table of the element data ID field, the upper element data field, the connection attribute element data field, and the content element data specifying field. be able to.
  • a database management apparatus is a database management apparatus having A) a table composed of at least the following four fields a1) to a4) and comprising one element data per record.
  • A1) an element data ID field in which an element data ID of the element data is stored; a2) an upper element data field in which an upper element data ID that is an ID of upper element data located above the element data is stored; a3) a connection attribute element data field in which a connection attribute element data ID, which is an ID of a connection attribute element data indicating a connection attribute between the element data and the upper element data, is stored; a4) a content element indicating the content of the connection attribute Content element data identification field for storing content element data ID for specifying data,
  • the table is related to b1) element B2) a plurality of element group data storage units for storing a plurality of element group data, and b3) a plurality of element group most significant element data of the plurality of element group data.
  • a plurality of element group data linked data storage unit for storing linked multiple element group data linked data; b1) the element related data is data for specifying the relationship between the main element data and the slave element data; Yes, the element data ID of the sub element data is in the content element data specifying field, the element data ID of the main element data is in the upper element data field, and the predicate relation information of the main element data as viewed from the sub element data. Element data ID indicating certain reverse predicate relation information is stored in the connection attribute element data field, respectively.
  • the plural element group data Includes at least starting element data, landing element data, and path element data, and a plurality of element group highest element data connecting them, b21)
  • the element data ID is stored in the element data ID field and the content element data specifying field, respectively.
  • the starting element data is the element data ID of the main element data in the content element data specifying field.
  • the element data ID of the most significant element data is stored in the upper element data field, and the element data ID indicating the standard is stored in the connection attribute element data specifying field, b23)
  • the landing element data is the subordinate element data.
  • the element data ID of the element data is stored in the content element data identification field in the element data I of the most significant element data.
  • the path element data is the subelement data of the main element data.
  • the element data ID indicating predicate relation information is in the content element data identification field
  • the element data ID of the most significant element data is in the upper element data field
  • the element data ID meaning road condition is in the connection attribute element data identification field.
  • B3 In the plural element group data connection data, the plural element group most significant element data ID of the plural element group data is in the content element data specifying field, and the element data ID of the element related data is In the upper element data identification field, the highest element data of the plurality of element groups is associated with the element relation.
  • the concatenation attribute ID of the focusing attribute indicating that the data is concatenated is stored in the concatenation attribute element data specifying field, and C) starting element data, landing element data, and path element as new plural element group data
  • the writing means for executing the following steps, c1) generating the top element data of the plural element groups of the starting element data, the landing element data, and the path element data, and the given starting element data, Multiple element group data generation step for writing to the table as element data and path element data together with element data, c2) Contents of the origin element data Element data ID of the element data identification field in the upper element data field
  • the element data ID of the element data specific field of the element data is stored in the content element data specific field.
  • Content of path element data element-related data generation step for generating element-related data written in the connected attribute element data field with element data ID having an inverse relationship with the element data ID of the element data identification field, and writing it in the table, c3 )
  • a plurality of element group data link data generation step for generating a plurality of element group data link data in which IDs are respectively written in the link attribute element data specifying field and writing them in the table;
  • a database management apparatus in which various types of data are concatenated in a common format table of the element data ID field, the upper element data field, the connection attribute element data field, and the content element data specifying field. be able to.
  • a database management apparatus is A) a database management apparatus having a table composed of at least the following four fields a1) to a4) and comprising one element data per record.
  • the table includes b1) an element-related data storage unit that stores element-related data, b2) a plurality of element group data storage unit that stores a plurality of element group data, and b3) a plurality of element groups of the element-related data and the plurality of element group data.
  • a plurality of element group data connection data storage unit for storing a plurality of element group data connection data for connecting the highest element data; and b1) the element related data is a relation between the main element data and the sub element data.
  • Element data specific information indicating reverse predicate relation information, which is predicate relation information of main element data, is stored in the connected attribute element data field, respectively.
  • the plural element group data includes at least starting element data, landing element data, and path element data, and plural element group most significant element data connecting them, b21)
  • the element data specifying information of the element data is stored in the element data specifying information field and the content element data specifying field, respectively.
  • the starting element data is the main element
  • the element data specifying information of data is in the content element data specifying field
  • the element data specifying information of the most significant element data is in the upper element data field
  • the element data specifying information indicating the basis is the connection attribute element data specifying field.
  • the landing element data is stored in the element data specifying information of the slave element data.
  • element data identification information of the most significant element data is stored in the upper element data field, and element data identification information meaning predecessor is stored in the connection attribute element data identification field, b24)
  • the path element data includes element data specifying information indicating predicate relation information of the sub element data viewed from the main element data in the content element data specifying field, and element data specifying information of the most significant element data in the upper level
  • element data specifying information indicating a path is stored in the connection attribute element data specifying field, respectively.b3
  • the multiple element group data connection data is stored in the multiple element group data of the multiple element group data.
  • Upper element data specifying information is stored in the content element data specifying field.
  • Child attribute data specifying information is included in the attribute attribute data specifying field, and attribute attribute data specifying the focus attribute indicating that the highest element data of the plurality of element groups is linked to the element related data is included in the attribute attribute data specifying field.
  • element related data including the first element data is extracted and related to this Extraction means is provided for extracting the plurality of element group data and the plurality of element group data connection data, thereby extracting the element data connected to each other.
  • a database management apparatus in which various types of data are concatenated in a common format table of the element data specifying information field, the upper element data field, the connection attribute element data field, and the content element data specifying field. be able to.
  • a database management apparatus is a database management apparatus having A) a table composed of at least the following four fields a1) to a4), wherein one element data is composed of one record.
  • the table includes b1) an element-related data storage unit that stores element-related data, b2) a plurality of element group data storage unit that stores a plurality of element group data, and b3) a plurality of element groups of the element-related data and the plurality of element group data.
  • a plurality of element group data connection data storage unit for storing a plurality of element group data connection data for connecting the highest element data; and b1) the element related data is a relation between the main element data and the sub element data.
  • Element data specific information indicating reverse predicate relation information, which is predicate relation information of main element data, is stored in the connected attribute element data field, respectively.
  • the plural element group data includes at least starting element data, landing element data, and path element data, and plural element group most significant element data connecting them, b21)
  • the element data specifying information of the element data is stored in the element data specifying information field and the content element data specifying field, respectively.
  • the starting element data is the main element
  • the element data specifying information of data is in the content element data specifying field
  • the element data specifying information of the most significant element data is in the upper element data field
  • the element data specifying information indicating the basis is the connection attribute element data specifying field.
  • the landing element data is stored in the element data specifying information of the slave element data.
  • element data identification information of the most significant element data is stored in the upper element data field, and element data identification information meaning predecessor is stored in the connection attribute element data identification field, b24)
  • the path element data includes element data specifying information indicating predicate relation information of the sub element data viewed from the main element data in the content element data specifying field, and element data specifying information of the most significant element data in the upper level
  • element data specifying information indicating a path is stored in the connection attribute element data specifying field, respectively.b3
  • the multiple element group data connection data is stored in the multiple element group data of the multiple element group data.
  • Upper element data specifying information is stored in the content element data specifying field.
  • Child attribute data specifying information is included in the attribute attribute data specifying field
  • attribute attribute data specifying the focus attribute indicating that the highest element data of the plurality of element groups is linked to the element related data is included in the attribute attribute data specifying field.
  • a database management apparatus in which various data are linked in a common format table of the element data identification information field, the upper element data field, the connection attribute element data field, and the content element data identification field. can do.
  • the table further stores element-related data and multi-element group data connection data for the sub-element data, and b1) the sub-element data.
  • the element related data includes element data specifying information of the main element data in the content element data specifying field, element data specifying information of the sub element data in the upper element data field, and the sub element data as viewed from the main element data.
  • Element data specifying information indicating predicate relation information that is predicate relation information is stored in the connection attribute element data field, respectively.
  • the plural element group data concatenated data is the most significant element data identification of the plural element group Information in the content element data specific field, element related to the slave element data
  • the element attribute data specifying information of the focus attribute indicating that the element data specifying information of the data is connected to the upper element data specifying field and the element data specifying the plurality of element groups is connected to the element related data. Stored in a specific field.
  • the slave element data can also be managed in a common format table of the element data identification information field, the upper element data field, the connection attribute element data field, and the content element data identification field.
  • the writing unit assigns the weight assignment candidate element data for the element data specifying information for specifying the element related data to be generated and the plural element group data connection data.
  • the element data specifying information of the candidate element data is stored in the upper element data field
  • the element data specifying information indicating the weight is stored in the connected attribute element data field
  • the element data specifying information indicating the degree of the weight is stored in the content element data specifying field. To do. Therefore, element data to which weights are added can be managed.
  • the writing means associates the same with the weight.
  • the element data specifying information of the content element data specifying field is increased in weight, and the content element data specifying field
  • Extract and extract the connected element data rises means, said extracting means, weights associated one of the search request to extract heavy elements relevant data. Therefore, element-related data with a high writing frequency can be extracted.
  • the database management apparatus is A) a table composed of at least the following four fields a1) to a4), and one element data per record.
  • A1) an element data specifying information field in which element data specifying information for specifying the element data is stored;
  • the table includes: b1) an element related data storage unit for storing element related data; b2) a multiple element group data storage unit for storing a plurality of element group data; and b3) the element related data and the plurality of data.
  • a plurality of element group data connection data storage unit for storing a plurality of element group data connection data for connecting the plurality of element group data of the element group data to the highest element data; and b1) the element related data is a main element Data specifying the relevance of data and sub-element data, element data specifying information of the sub-element data in the content element data specifying field, element data specifying information of the main element data in the upper element data field, Element data specifying information indicating reverse predicate relation information which is predicate relation information of the main element data viewed from the sub element data is the connected attribute element.
  • the plurality of element group data stored in the data field includes at least the starting element data, the landing element data, and the path element data, and the plurality of element group top element data connecting them.
  • the most significant element data of the plurality of element groups includes element data specifying information of the element data stored in the element data specifying information field and the content element data specifying field, and b22) the starting element data
  • the element data specifying information of the main element data is in the content element data specifying field
  • the element data specifying information of the most significant element data is in the upper element data field
  • the element data specifying information indicating the standard is the link
  • the landing element data is stored in the attribute element data identification field, respectively.
  • the element data specifying information of data is in the content element data specifying field, the element data specifying information of the most significant element data is in the upper element data field, and the element data specifying information meaning predecessor is in the connection attribute element data specifying field.
  • element data specifying information indicating predicate relation information of the sub element data viewed from the main element data is stored in the content element data specifying field.
  • element data specifying information is stored in the upper element data field, and element data specifying information indicating a path is stored in the connection attribute element data specifying field
  • the plurality of element group data connection data is the plurality of elements
  • the plurality of element group top element data specifying information of the group data includes the content element data specifying file.
  • element data specifying information of the element related data is connected to the upper element data specifying field, and a plurality of element group top element data is connected to the element related data. Is stored in the concatenated attribute element data specifying field.
  • the database management device receives the first element data. Element-related data including a plurality of element group data and a plurality of element group data connected data are extracted, and thereby the connected element data is extracted.
  • the database management apparatus is A) a table composed of at least the following four fields a1) to a4), and one element data per record.
  • A1) an element data specifying information field in which element data specifying information for specifying the element data is stored;
  • Content element data specifying information for specifying content element data representing the content of the connection attribute is stored.
  • the element data identification field, B) the table includes: b1) an element related data storage unit for storing element related data; b2) a multiple element group data storage unit for storing multiple element group data; and b3) the element related data
  • a plurality of element group data connection data storage unit for storing a plurality of element group data connection data for connecting the plurality of element group data and the highest element data of the plurality of element group data, b1) the element related data,
  • the element data specifying information of the subelement data is in the content element data specifying field, and the element data specifying information of the main element data is in the upper element data field.
  • element data specifying information indicating reverse predicate relation information which is predicate relation information of the main element data viewed from the sub element data is connected to 2b2)
  • the plurality of element group data stored in the characteristic element data field, respectively, includes at least the starting element data, the landing element data, and the path element data, and the plurality of element group highest element data connecting them.
  • the element data specifying information of the element data is stored in the element data specifying information field and the content element data specifying field, respectively, b22) the starting point
  • the element data includes element data specifying information of the main element data in the content element data specifying field, element data specifying information of the most significant element data in the upper element data field, and element data specifying information indicating the basis.
  • the landing element data is stored in the connection attribute element data identification field, respectively.
  • the element data specifying information of the sub element data is in the content element data specifying field, the element data specifying information of the most significant element data is in the upper element data field, and the element data specifying information indicating a predecessor is the connected attribute element data.
  • the path element data is stored in the specific element, element data specifying information indicating predicate relation information of the sub element data viewed from the main element data is stored in the content element data specifying field, and the highest element.
  • Element data identification information of data is stored in the upper element data field, element data identification information meaning path is stored in the connection attribute element data identification field, b3) the multiple element group data connection data is the Plural element group top element data specifying information of the plural element group data is the content element data special information.
  • the element data specifying information of the element related data is connected to the upper element data specifying field, and the connection attribute specifying information of the focusing attribute indicating that the highest element data of the plurality of element groups is connected to the element related data Is stored in the connection attribute element data identification field.
  • the database management apparatus Upper element data is generated and written as a plurality of element group data, and element related data and a plurality of element group data connection data are generated and written.
  • a database management apparatus is a database management apparatus having A) a table composed of at least the following four fields a1) to a4), wherein one element data is composed of one record.
  • connection attribute element data specifying information specifying the connection attribute element data indicating the connection attribute between the element data and the upper element data is stored
  • connection attribute Content element data specifying field for storing content element data specifying information for specifying content element data representing content
  • the table includes at least an element-related data storage unit that stores element-related data, and the element-related data is data that specifies the relationship between main element data and sub-element data, and the sub-element data
  • the element data specifying information is the content element data specifying field and the element data specifying information of the main element data is the predicate relation information of the main element data as seen from the sub element data
  • Element data specifying information indicating information is stored in the connection attribute element data field
  • C) When a search request specifying the first element data specifying information is given to the content element data specifying field, the database management device extracts element-related data including the first element data, and is connected. The device data is extracted.
  • the data by the database management apparatus in which various data are concatenated in the common format table of the element data specifying information field, the upper element data field, the connection attribute element data field, and the content element data specifying field. Can be read out.
  • a database management apparatus is a database management apparatus having A) a table composed of at least the following four fields a1) to a4) and comprising one element data in one record.
  • A1) element data specifying information field for storing element data specifying information for specifying the element data; a2) upper element data specifying information for specifying upper element data located above the element data.
  • connection attribute element data specifying information specifying the connection attribute element data indicating the connection attribute between the element data and the upper element data is stored
  • connection attribute Content element data specifying field for storing content element data specifying information for specifying content element data representing content
  • the table has at least an element-related data storage unit for storing element-related data, and the element-related data is data for specifying the relationship between main element data and subelement data, and the subelement data
  • the element data specifying information is the content element data specifying field and the element data specifying information of the main element data is the predicate relation information of the main element data as seen from the sub element data
  • Element data specifying information indicating information is stored in the connection attribute element data field, respectively.
  • the element Writing means for generating and writing related data, It has.
  • the database management apparatus is a storage means for storing A) a table composed of at least the following five fields a1) to a5), wherein one table is composed of one element data.
  • Read connected knowledge data A database management device comprising a reading means for outputting, wherein D) the association means is referred to by an ID stored in the reference element data field when the attribute value data field is empty for the lower-order record The record is specified, and the data stored in the reference element data field of the specified record is related as the label of the record whose attribute value data field is empty. Therefore, data management using label data becomes possible.
  • the record referenced by the ID stored in the reference element data field has the same ID stored in the attribute value data field and the element data ID field, and A character string is stored in the reference element data field. Therefore, the character string of the reference element data field can be used as the label data.
  • a database management apparatus includes: A) storage means for storing a plurality of individual element data defined by at least the following four data a1) to a4), a1) element data ID of the element data, a2) Upper element data ID, which is an ID of upper element data located above the element data, a3) a connection attribute element data ID, which is an ID of connection attribute element data indicating a connection attribute between the element data and the upper element data, a4) Attribute value specifying ID for specifying an attribute value representing the value of the connection attribute; B) For each individual element data stored in the storage means, individual element data specified by a certain element data ID is designated as an upper individual element.
  • the individual element data having the upper element data ID that matches the element data ID is positioned as the lower individual element data, and the upper individual element data
  • the relationship between the data and the lower individual element data is stored in the attribute value data field of the lower individual element data for the attribute indicated by the connection attribute element data stored in the connection attribute element data field of the lower individual element data.
  • a correlating means for associating as a relation having a specified attribute value C) a reading means for reading connected knowledge data obtained by concatenating a plurality of lower individual element data to the upper individual element data by repeating the association
  • D) The individual element data can further store notation data represented by the attribute value identification ID, or element data ID of the individual element data to be referred to, and E) The associating means does not have attribute value data for the lower individual element data, and the reference destination
  • the element data ID of the individual element data referred to by the element data ID of the individual element data is specified
  • the individual element data specified by the element data ID is specified and the notation of the specified individual element data Data is related as a label of the individual element data.
  • the notation data of the individual element data can be related as a label of the individual element data.
  • individual element data satisfying the following is stored in the storage means for at least two or more pieces of connected knowledge data among the plurality of connected knowledge data.
  • the plurality of lower individual element data associated with the upper individual element data of the first linked knowledge data at least one lower individual element data does not have the attribute value data and is a reference individual element
  • the individual element data referred to by the element data ID of the data is associated, and at least one lower individual element data among the plurality of lower individual element data associated with the upper individual element data of the second connected knowledge data is:
  • the individual element data that does not have the attribute value data and is referenced by the element data ID of the individual element data of the reference destination is associated, and the individual element data that is referred to is the same individual element data is there.
  • individual element data satisfying the following is stored in the storage means for at least two or more pieces of connected knowledge data among the plurality of connected knowledge data.
  • the first and second lower individual element data do not have the attribute value data, and the reference The reference individual element data referred to by the element data ID of the previous individual element data is associated, and the reference individual element data is different individual element data.
  • reference destination individual element data different from the reference destination individual element data is further stored, and associated with the upper individual element data of the second connected knowledge data Among the plurality of lower individual element data, lower individual element data different from the one is associated with the other reference destination individual element data. Therefore, it is possible to further provide a knowledge database referring to the different reference destination individual element data.
  • the subordinate individual element data is associated with narrative data in which a connection attribute with the connected individual element data and a value of the connection attribute are defined.
  • the predicate data is composed of reverse predicate relation information which is predicate relation information of the higher individual element data viewed from the lower individual element data, and the association means also extracts each predicate data together To do. Therefore, it is possible to provide a knowledge database that associates the narrative data.
  • the upper element ID and the connection attribute element data and the attribute value in the connection attribute with the upper element are given for the element to be read
  • the upper element ID is When writing the connected attribute element data in the upper attribute data field and writing the attribute value in the attribute value data field in the upper element data field
  • the element data ID to be written is expressed in the upper element data field.
  • Weighting means is provided for generating and storing a written record in which the element data ID is stored in the connected attribute element data field and the element data ID indicating the degree of weight is stored in the attribute value data field. Therefore, element data to which weights are added can be managed.
  • the weight assigning means sets the element data ID of the specified record in the upper element data field for the specified record.
  • the element data ID indicating the weight is stored in the connected attribute element data field, and the element data ID indicating the degree of weight is stored in the attribute value data field. Therefore, element-related data with a high writing frequency can be extracted.
  • the database management apparatus is a storage means for storing A) a table composed of at least the following five fields a1) to a5), wherein one table is composed of one element data.
  • a writing means for writing the upper element ID in the upper element data field, the linked attribute element data in the linked attribute element data field, and the attribute value in the attribute value data field, C The writing means, when given the upper element ID, the connection attribute element data in the connection attribute with the upper element and the reference element data ID for the element to be written, the upper element ID in the upper element data field
  • the connected attribute element data is converted into a connected attribute element data field. The de writes the element data ID of the referenced to the reference element data field. Therefore, data management using label data becomes possible.
  • the database management apparatus is a storage means for storing A) a table composed of at least the following five fields a1) to a5), wherein one table is composed of one element data.
  • the writing means is provided with the upper element specifying information and the connection attribute element data in the connection attribute with the upper element and the reference element data specifying information for the element to be written.
  • the upper element identification information is stored in the upper element data field.
  • the connection attribute element data linking attribute element data fields and writes the element data specifying information of the reference destination to the reference element data field. Therefore, data management using the element data specifying information of the reference destination can be performed.
  • predicate data composed of reverse predicate relation information that is predicate relation information of the upper individual element data viewed from the lower individual element data is provided, It is divided into records and stored in association as follows.
  • the lower individual element data is designated as individual individual element data
  • the upper individual element data is designated as predecessor individual element data
  • the data indicating the reverse predicate relationship is associated as path individual element data.
  • the individual element data to be bundled is set as the narrative top individual element data, and is linked to the lower individual element data by the narrative connection individual element data.
  • the writing means when the element data specified by the connection attribute element data is an element belonging to a label, the writing means includes an upper element ID and a connection attribute with the upper element.
  • the connection attribute element data and the element data ID of the reference destination are given. Therefore, the connection attribute element data and the reference element data ID can be written.
  • the writing means is provided with the upper element ID and the connection attribute element data and the reference element data ID in the connection attribute with the upper element for the element to be written.
  • the upper element ID is written in the upper element data field
  • the connected attribute element data is written in the connected attribute element data field
  • the reference element data ID is written in the reference element data field
  • the write target element data ID is further changed to In the upper element data field, an element data ID indicating a weight is stored in the connected attribute element data field, and an element data ID indicating the degree of weight is stored in the attribute value data field. Therefore, element-related data with high writing frequency can be stored.
  • the writing means relates to the generated element-related data if the same element-related data is already stored in the table, and the weight is assigned to the same.
  • the element data ID of the attribute value data field is increased in the degree of weight. Therefore, element-related data with high writing frequency can be stored.
  • main element data refers to element data that is positioned higher than slave element data when expressed in the means tree monad among element related data.
  • ID161 [61] (Risa Nissan) corresponds to ID161 [51] (apple)
  • ID51 (apple) corresponds to ID191 [61] (Lisa Honda) in FIG. 6B.
  • a search request specifying the main element data ID is given means that a search condition for specifying main element data is directly given from a database user, as a result of searching from another search condition, This concept includes the case where the main element data is reached and then retrieved.
  • the element data ID field, the upper element data field, the connected attribute element data field, the attribute value data field, and the reference element data field are respectively an ID field 61, a connection field 63, a relation field 64, and a mining field 62. This corresponds to the reference field 65.
  • the semantic element data corresponds to the top monad of the mining tree in the embodiment.
  • each element corresponds to the individual element data in the embodiment.
  • the connected knowledge data corresponds to a set of top monads and lower monads connected thereto.
  • the relationship between the upper record and the lower record includes both cases where a plurality of lower records are related in a hierarchical manner as well as a case where a plurality of lower records are related in parallel.
  • the label element data corresponds to the top monad of the reference tree in the embodiment.
  • FIG. 3 is a functional block diagram of the database management device 1.
  • FIG. 3 is a diagram showing a data structure of a data table in the database management apparatus 1.
  • FIG. This is a hardware configuration when the database management apparatus 1 is realized by a CPU.
  • 3 is a diagram illustrating an example of data stored in a table of the database management device 1.
  • FIG. 4 is a correspondence table between data IDs stored in a table and words.
  • the mining tree which can be acquired when the data memorize
  • FIG. 7 shows a tree further associated with the mining tree of FIGS. 6A-C.
  • step S41 It is a flowchart of the write-in process to a table.
  • step S43 The meaning tree which can be acquired when the added data is read is shown.
  • the meaning tree which can be acquired when the added data is read is shown.
  • It is a flowchart of addition (writing) of a weight / time monad.
  • Another mining tree that can be obtained after adding (writing) the weight / hour monad is shown.
  • a mining tree that can be obtained after adding (writing) the weight / hour monad is shown.
  • a mining tree for adding a weight / hour monad (when reading) is shown. It is a flowchart of the addition of a weight / hour monad (at the time of reading). It is a detailed flowchart of FIG. 21 step S19. It is an example of a table when a label is added to a reference field. Shows the tree when a label is added to the reference field. It is an example of a mining tree before adding a reference tree. It is an example of a mining tree after adding a reference tree. It is a flowchart of a reading process. It is a detailed flowchart of step S123 of FIG.
  • FIG. 40 is a detailed flowchart of step S41.
  • FIG. 42 is a flowchart continued from FIG. 41.
  • FIG. 40 is a detailed flowchart of step S44 in FIG. 40.
  • FIG. 43 is a detailed flowchart of step S126. It is a tree structure before the record of FIG. 36 is written. It is a tree structure after the record of FIG. 36 is written. It is a functional block in a 3rd embodiment.
  • Database management device 23 ... CPU 27 ... Memory
  • FIG. 1 shows a functional block diagram of the database management apparatus 1 according to the present invention.
  • the database management device 1 includes a table 10 having an element-related data storage unit 3, a multiple element group data storage unit 4, and a multiple element group data connection data storage unit 5, an extraction unit 6, and a writing unit 7.
  • the data structure of the table 10 will be described with reference to FIG.
  • the table 10 includes a plurality of records, and each record has an element data ID field 41, a content element data specifying field 42, an upper element data field 43, and a connected attribute element data field 44.
  • the element data ID field 41 stores an element data ID of the element data.
  • an upper element data ID which is an ID of upper element data positioned above the element data is stored.
  • a connection attribute element data ID that is an ID of connection attribute element data representing a connection attribute between the element data and the upper element data is stored.
  • the content element data identification field 42 stores a content element data ID that identifies content element data representing the contents of the connection attribute.
  • the multiple element group data 50, and the multiple element group data connection data 58 data stored in each field will be described.
  • the element related data 56 is data for specifying the relationship between the main element data and the sub element data.
  • the element data ID of the sub element data is in the content element data specifying field 42, and the element data ID of the main element data is the upper element data.
  • element data IDs indicating reverse predicate relation information which is predicate relation information of the main element data viewed from the sub element data, are stored in the connection attribute element data field 44, respectively.
  • the multi-element group data 50 includes at least starting element data 52, landing element data 54, and path element data 53, and multi-element group highest element data 51 that connects them.
  • the ID of the element data is stored in the element data ID field 41 and the content element data specifying field 42, respectively.
  • the element data ID of the main element data is in the content element data specifying field 42
  • the element data ID of the most significant element data is in the upper element data field 43
  • the element data ID indicating the base is a connected attribute element.
  • Each of the data specifying fields 44 is stored.
  • the element data ID of the subordinate element data is in the content element data specifying field 42
  • the element data ID of the most significant element data is in the upper element data field 43
  • the element data ID indicating the leading is connected attribute.
  • Each element data is stored in the element data specifying field 44.
  • the element data ID indicating the predicate relation information of the slave element data as viewed from the main element data is stored in the content element data specifying field 42
  • the element data ID of the most significant element data is stored in the upper element data field 43
  • the multi-element group highest element data ID of the multi-element group data 50 is stored in the content element data specifying field 42, and the element data ID of the element related data is stored in the upper element data specifying field 43.
  • a connection attribute ID of a focusing attribute indicating that the element group top element data is connected to the element related data is stored in the connection attribute element data specifying field 44.
  • the extracting unit 6 shown in FIG. 1 extracts element-related data including the main element data, and extracts the extracted element-related data.
  • a plurality of element group data concatenated data 58 including the element data ID is extracted, a plurality of element group data 50 specified by the extracted plural element group data concatenated data is extracted, and element data connected to each other is extracted.
  • the writing means 7 receives the following multiple element group data generation step, element related data generation step, and multiple element group A data concatenated data generation step is executed.
  • the writing means 7 In the multiple element group data generation step, the writing means 7 generates the multiple element group highest element data 51 of the given starting element data 52, the landing element data 54, and the path element data 53, and the given starting element data 51 Along with the data 52, the landing element data 53, and the path element data 54, the plurality of element group data 50 is written in the table 10. Further, in the element related data generation step, the writing means 7 sets the element data ID of the content element data specifying field of the starting element data in the higher element data field, and the element data ID of the content element data specifying field of the destination element data.
  • the element data ID inversely related to the element data ID of the contents element data identification field of the path element data is written in the concatenated attribute element data field, and the element related data 56 is generated.
  • the writing means 7 sets the element data ID of the generated multiple element group top element data in the content element data specifying field 42 and the element data ID of the generated element related data in the higher rank.
  • the element data ID of the concatenation attribute of the focus attribute is generated in the connection attribute element data specifying field 44, and the plurality of element group data concatenation data 58 is generated and written in the table 10.
  • FIG. 1 shows an example of a hardware configuration in which the database management apparatus 1 is configured using a CPU.
  • the database management device 1 includes a CPU 23, a memory 27, a hard disk 26, a monitor 30, an optical drive 25, an input device 28, a communication board 31, and a bus line 29.
  • the CPU 23 controls each unit via the bus line 29 according to each program stored in the hard disk 26.
  • the hard disk 26 stores an operating system program 26o (hereinafter abbreviated as OS) and a main program 26p.
  • OS operating system program
  • the processing of the main program 26p is the same as that of the conventional database management processing except for the data writing processing and the search (extraction) processing. Such write and search processing will be described later.
  • a table as shown in FIG. 4 is stored in the data storage unit 26k.
  • the ID field 61, the mining field 62, the connection field 63, and the relation field 64 correspond to the element data ID field 41, the content element data specifying field 42, the upper element data field 43, and the connection attribute element data field 44 of FIG.
  • the reference field 65 is a field indicating a reference destination.
  • each record composed of such five-element data is named a monad. Not all five elements store data, and there are empty fields.
  • records R4 to R72 are definition monads.
  • the definition monad is a monad in which the same ID is stored in the ID field 61 and the mining field 62, and the other fields are empty.
  • each ID in the mining field 62 corresponds to “location”. Therefore, the monad of the record R 26 in FIG. 4 means a monad in which “location” is stored in the mining field 62.
  • Record R161 is a master-slave monad.
  • the master-slave monad upper and lower connection relations for two definition monads are stored in the connection field, and connection attributes in the connection relation are stored in the relation field.
  • the master-slave monad corresponds to the element-related data 56 of FIG.
  • Records R131 to R135 are narrative composition monads and correspond to the multiple element group data 50 of FIG. Record R131 is the highest monad, record R132 is the origin monad, record R133 is the route monad, and record R134 is the arrival monad.
  • the starting point monad, the path monad, and the landing point monad correspond to the starting point element data 52, the path element data 53, and the landing element data 54 in FIG.
  • the record R135 is a narrative structure monad connected by the monads (starting monads) of the record 132.
  • the record R162 is a narrative connection monad and corresponds to the multiple element group data connection data 58 of FIG.
  • the main program reads the records R131 to R135 and R161 to R164 and connects the monads to generate data having a tree structure as shown in FIG. 6A (hereinafter referred to as a “meaning tree”). Such processing will be described later.
  • records R131 to R135, R191, and R192 are read, and by connecting the monads, records R131 to R135, R193, and R194 are read from the mining tree as shown in FIG. 6B. By concatenating monads, it is possible to generate the respective mining trees as shown in FIG. 6C.
  • the notation in FIG. 6 will be described.
  • the top monad in the mining tree is called the top monad.
  • FIG. 6A “61 [61] (Lisa Honda)” is written. This indicates that the mining field is “61” for the record of ID61.
  • (Lisa Honda) in parentheses is a word corresponding to “61” from the correspondence table of FIG. 5 in order to facilitate understanding of monad relationships in the mining tree.
  • the ID161 monad is connected below the ID61 monad.
  • the monad with ID 161 is described as “161 [51] (apple)”. This indicates that the mining field 62 is “51” for the record of ID 161.
  • “Apple” in parentheses is a word (apple) corresponding to “51” from the correspondence table of FIG.
  • “[34] ( ⁇ eat)” is expressed in this way because it indicates the relationship between ID61 [61] (Lisa Honda) and ID61 [51] (apple).
  • LINUX registered trademark or trademark
  • OS operating system program
  • Each program is read from the CD-ROM 25a storing the program via the optical drive 25 and installed in the hard disk 26.
  • a program such as a flexible disk (FD) or an IC card may be installed on a hard disk from a computer-readable recording medium. Furthermore, it may be downloaded using a communication line.
  • FD flexible disk
  • IC card integrated circuit card
  • the program stored in the CD-ROM is indirectly executed by the computer by installing the program from the CD-ROM to the hard disk 26.
  • the present invention is not limited to this, and the program stored in the CD-ROM may be directly executed from the optical drive 25.
  • programs that can be executed by a computer are not only programs that can be directly executed by being installed as they are, but also programs that need to be converted into other forms (for example, those that have been compressed) In addition, those that can be executed in combination with other module parts are also included.
  • the CPU 23 extracts a record whose search target ID is stored in the connection field 63 as a master-slave monad (step S1).
  • a record having “61” in the connection field 63 is extracted.
  • the records R161 and R163 correspond.
  • CPU 23 extracts the upper monad of the master-slave monad as the top monad (step S2).
  • “61” is stored in the connection field 63 of the record R161 and the record R163. Therefore, the record R61 is extracted as the top monad.
  • the CPU 23 initializes the process number i (step S3), and extracts all the predicate connection monads of the extracted i-th master-slave monad (step S4).
  • whether or not it is a narrative concatenation monad depends on whether or not the record ID of the master-slave monad is stored in the connection field 63 and “focus” is stored in the relation field. It was judged. In this case, referring to FIG. 5, “24” means “focus”.
  • the record ID “161” of the extracted 0th master-slave monad R161 is stored in the connection field 63, and the record R162, which is a record in which the relation field 64 is “24”, is extracted as a predicate connection monad.
  • the CPU 23 extracts the highest monad of the narrative structure monad for the jth narrative linking monad among the extracted narrative linking monads (step S7).
  • “131” is stored in the mining field of the record R162 which is the 0th narrative connection monad. Therefore, the record R131 is extracted as the highest monad of the corresponding narrative structure monad.
  • the CPU 23 determines whether or not the extracted ID of the highest monad has already been extracted (step S9). In this case, since it has not been extracted, the CPU 23 extracts a record in which the extracted highest monad ID is stored in the connection field 63, and determines the connection relationship (step S11).
  • the CPU 23 extracts records R132 to R134 that store “131” stored in the mining field 62 of the record R131 in the connection field 63. It can be seen that the records R132 to R134 are positioned below the record R131 because the connection field 63 is “131”. In the record R132, the relation field 64 is “4”, and the mining field 62 is “61”. Therefore, referring to FIG. 5, “Lisa Honda” is connected to the lower level of the record 131 in relation to the standard S. In the records R133 and R134, “eat” is connected to the lower side of the record R131 in relation to the path rating P, and “apple” is connected in relation to the predecessor G.
  • CPU 23 determines whether there is a monad connected to the extracted narrative composition monad (step S13 in FIG. 7). Specifically, it is determined whether there is a record in which any ID of the records R132 to R134 extracted as the narrative structure monad is stored in the connection field 63.
  • the CPU 23 extracts the record R135 and determines the connection relationship (step S15).
  • the record R135 is positioned below the record R132 because the connection field 63 is “132”.
  • the relation field 64 is “26”
  • the mining field 62 is “71”. Therefore, referring to FIG. 5, “cafeteria” is connected to the lower level of the record 131 in relation to “location”.
  • the CPU 23 determines whether or not the processing for all the narrative connection monads has been completed (step S16). In this case, since the processing for all the narrative connected monads has been completed, the CPU 23 determines whether or not the processing has been completed for all the master-slave monads (step S17). In this case, since the process for the record 163 has not ended, the CPU 23 increments the process number i (step S18) and proceeds to step S4.
  • CPU 23 extracts all the predicate connection monads of the first master-slave monad (step S4).
  • the record ID “163” of the extracted first master-slave monad R163 is stored in the connection field 63, and the record R164, which is a record in which the relation field 64 is “24”, is extracted as the narrative connection monad.
  • the CPU 23 initializes the processing number j (step S5), and extracts the highest monad of the narrative constituent monad for the 0th narrative linking monad among the extracted narrative linking monads (step S7).
  • “131” is stored in the mining field of the record R164 which is the 0th narrative connection monad. Therefore, the record R131 is extracted as the highest monad of the corresponding narrative structure monad (step S7).
  • the CPU 23 determines whether or not the extracted ID of the highest monad has already been extracted (step S9). In this case, since the record R131 has already been extracted, the CPU 23 determines whether or not the processing has been completed for all the narrative connected monads without performing the processing of step S11, step S13, and step S15 (step S16). ). In this case, since the processing for all the narrative connected monads has been completed, the CPU 23 determines whether or not the processing has been completed for all the master-slave monads (step S17).
  • the CPU 23 since all processing has been completed, the CPU 23 generates a knowledge database in which the extracted monads are connected (step S20).
  • the mining field 62 of the record of ID 161 is ID 51.
  • the record ID 191 is applicable.
  • the extracted record is set as a master-slave monad, and the process from step S2 onward in FIG. As a result, it is possible to obtain data related to a plurality of mining trees as shown in FIG. 8a.
  • the CPU 23 generates a narrative structure monad and writes it (step S41 in FIG. 9). Details of step S41 are shown in FIG.
  • the CPU 23 determines a starting point monad, a route monad, and a landing point monad (step S51 in FIG. 10). Specifically, among the given data “Lisa Hyundai”, “Mikan”, “Eat” and “Cafeteria”, data with “Basic”, “Predecessor” and “Road” added as attributes. To extract.
  • step S53 determines whether there is monad candidate data other than “basic”, “predecessor”, and “road” (step S53). In this case, there is data for candidate monads other than “Lisa Honda” (standard), “mandarin orange” (predecessor), and “eat” (road), so “Cafeteria” is determined as the SPG-linked monad. .
  • the CPU 23 proceeds to step S57, generates the highest monad, and writes the narrative structure monad.
  • the CPU 23 performs the following processing. First, the ID of the highest monad is determined. Such an ID uses a free ID. Here, the ID is “125”. The CPU 23 writes “125” in the ID field 61 and the mining field 62. Next, the CPU 23 determines the ID of the starting monad. A free ID is also used. Here, the ID is “126”. With reference to FIG. 5, the CPU 23 understands that “Lisa Honda” and “Role” correspond to “61” and “4”, respectively. Therefore, the CPU 23 writes “126” in the ID field 61, “61” in the mining field 62, the ID “125” of the highest monad in the connection field 63, and “4” in the relation field 64.
  • monads that are not extracted as “base”, “predecessor”, and “path” are linked to either the starting monad, the path monad, or the landing monad based on a predetermined rule. The monad.
  • place is connected to the origin monad and destination monad
  • time is connected to the route monad.
  • tools are connected to the route monad. Note that the monads to be connected may be changed.
  • hour is attribute information regarding date and time.
  • the “tool” is attribute information such as “with a knife”.
  • “location” is related only to the starting monad in order to eliminate redundancy.
  • step S43 Writing Meaning Tree Monad and Predicate Concatenation Monad
  • the CPU 23 generates a means tree monad and predicate connection monad and writes them in the table (step S43 in FIG. 9). Details of step S43 will be described with reference to FIG.
  • the CPU 23 determines a candidate for the mining tree monad (step S61 in FIG. 11).
  • two types of monads are used as candidates for the mining tree monad.
  • One is the master-slave monad.
  • the master-slave monad is the relationship between the monad identified by the ID stored in the mining field 62 of the starting monad of the narrative composition monad and the monad identified by the ID stored in the mining field 62 of the landing monad It is a monad showing. Two types of such master-slave monads are generated.
  • “Lisa Honda” is linked to the top of “Mikan”.
  • the relationship between “Mikan” and “Lisa Honda” is “minus” (hereinafter “-”). It is a monad that indicates that it is in the reverse predicate relationship of (abbreviated) eating.
  • the predicate relation information refers to the definition monad identified by the ID stored in the meeting monad 62 of the landing monad as seen from the definition monad identified by the ID stored in the mining field 62 of the origin monad.
  • Information indicating predicate relationships is specified by the ID stored in the meaning field 62 of the starting monad, as viewed from the definition monad specified by the ID stored in the means field 62 of the landing monad.
  • Information indicating the predicate relationship of the definition monad That is, “-eat” represents a predicate relationship in the reverse direction of “eat”.
  • the monad stored in the connection field 63 is positioned higher than the monad stored in the mining field 62, and the monad stored in the relation 64 is viewed from the monad stored in the mining field 62. Represents the relationship. Therefore, when defined in a predicate relationship, if the vertical relationship is reversed, it is defined in a reverse predicate relationship, and two types of master-slave monads can be generated.
  • monads other than the master-slave monad are detailed monads.
  • the detailed monad is a monad associated with any one of the origin monad, the path monad, and the destination monad constituting the narrative composition monad. For example, ID 365 to ID 368 in FIG.
  • the monad in which “location”, “time”, and “tool” as attributes are stored in the relation field is a detailed monad.
  • “cafeteria” has the attribute “location”.
  • “location” is associated with the starting monad
  • “cafeteria” is a monad identified by the starting field monading field 62 “Lisa Honda”
  • Monads that are related by “location” are also candidates for the mining tree monad.
  • a mining tree monad candidate from the reverse direction in which “Lisa Honda” is associated with “cafeteria” and “ ⁇ place” is generated. Therefore, in this case, a total of four candidates are determined.
  • the CPU 23 initializes the processing number i (step S63 in FIG. 11), and generates a mining tree monad from the zeroth mining tree monad candidate (step S65).
  • a monad indicating that the monad candidate “mandarin orange” determined in step S61 is in a “-eating” relationship with “Lisa Honda” is generated.
  • “Mikan” is stored in the mining field 62
  • “Lisa Nissan” is stored in the connection field 63
  • ID indicating “ ⁇ eat” is stored in the relation field 64. This creates a mining tree monad.
  • the CPU 23 determines whether or not the generated mining tree monad already exists in the table (step S67 in FIG. 11). In this case, since the generated mining tree monad does not exist in the table, the CPU 23 writes it in the table (step S69). A free ID is used as the ID to be written. Here, the ID is “166”. With reference to FIG. 5, the CPU 23 understands that “Lisa Honda”, “Tangerine” and “-Eat” correspond to “61”, “72” and “34”, respectively. Therefore, the CPU 23 writes “166” in the ID field 61, “72” in the mining field 62, “61” in the connection field 63, and “34” in the relation field 64.
  • the CPU 23 generates a narrative connection monad and writes it in the table (step S70).
  • the predicate connection monad is a monad that connects the highest monad of the predicate constituent monad and the mining tree monad.
  • the highest monad of the narrative structure monad is “125”
  • the connecting tree monad to be connected is “166”.
  • the attribute “focus” is adopted as an attribute indicating these relationships. Therefore, the CPU 23 writes “125” in the mining field 62 of the vacant ID 61 “167”, “166” in the connection field 63, and “24” in the relation field 64.
  • CPU 23 determines whether or not the processing has been completed for all candidates determined in step S61 (step S72 in FIG. 11). In this case, since all processing has not been completed, the process number i is incremented (step S73), and a mining tree monad is generated for the first candidate (step S65).
  • a monad indicating that the monad candidate “Honda Lisa” determined in step S61 is in a “eating” relationship with “mandarin orange” is generated.
  • “Lisa Nissan” is stored in the mining field 62
  • “Mikan” is stored in the connection field 63
  • IDs indicating “eat” are stored in the relation field 64. This creates a mining tree monad.
  • the CPU 23 determines whether or not the generated mining tree monad already exists in the table (step S67 in FIG. 11). In this case, since the generated mining tree monad does not exist in the table, the CPU 23 writes the generated mining tree monad in the table (step S69). Similarly, a free ID is used as the ID to be written. Here, the ID is “195”. With reference to FIG. 5, the CPU 23 can understand that “mandarin orange”, “Lisa Honda”, and “eat” correspond to “72”, “61”, and “31”, respectively. Therefore, the CPU 23 writes “195” in the ID field 61, “61” in the mining field 62, “72” in the connection field 63, and “31” in the relation field 64.
  • the CPU 23 generates a narrative linking monad, and generates and writes a narrative linking monad for the mining tree monad written in step S69 (step S70).
  • the highest monad of the narrative composition monad is “125”, and the generated mining tree monad is “195”. Therefore, the CPU 23 writes “196” that is empty in the ID field 61, “125” in the mining field 62, “195” in the connection field 63, and “24” in the relation field 64.
  • CPU 23 determines whether or not the processing has been completed for all candidates determined in step S61 (step S72 in FIG. 11). In this case, since all processing has not been completed, the process number i is incremented (step S73), and a mining tree monad is generated for the second candidate (step S65).
  • a monad indicating that the monad candidate “cafeteria” determined in step S61 is in a “location” relationship with “Lisa Nissan” is generated.
  • CPU 23 determines whether or not the generated mining tree monad already exists in the table (step S67 in FIG. 11).
  • the generated mining tree monad (“71” in the mining field 62, “61” in the connection field 63, and “26” in the relation field 64) is present in the table (record R163).
  • a predicate connection monad that connects the already existing mining tree monad (record R163) and the predicate structure monad is generated, and a write process is performed (step S77).
  • the highest monad of the narrative composition monad is “125”, and the already existing mining tree monad is “163”. Therefore, the CPU 23 writes “197”, which is empty in the ID field 61, “125” in the mining field 62, “163” in the connection field 63, and “24” in the relation field 64.
  • CPU 23 turns on the omission flag of the already existing mining tree monad (record R163) (step S78). Such an omission flag will be described later.
  • CPU 23 determines whether or not the processing has been completed for all candidates determined in step S61 (step S72 in FIG. 11). In this case, since all processing has not been completed, the process number i is incremented (step S73), and a mining tree monad is generated for the third candidate (step S65).
  • a monad indicating that the monad candidate “Lisa Nissan” determined in step S61 is in a “-location” relationship with “cafeteria” is generated.
  • the CPU 23 determines whether or not the generated mining tree monad already exists in the table (step S67 in FIG. 11).
  • the generated mining tree monad (“61” in the mining field 62, “71” in the connection field 63, “42” in the relation field 64) already has a record R193 in which the same data is stored in the table 10. . Therefore, the CPU 23 does not write the generated mining tree monad to the table, but generates a predicate concatenation monad that connects the already existing mining tree monad (record R193) and the predicate constituent monad, and performs the writing process. (Step S77).
  • the highest monad of the narrative composition monad is “125”, and the already existing mining tree monad is “193”. Therefore, the CPU 23 writes “198” that is empty in the ID field 61, “125” in the mining field 62, “193” in the connection field 63, and “24” in the relation field 64.
  • the CPU 23 turns on the omission flag of the already existing mining tree monad (record R163) (step S78).
  • CPU 23 determines whether or not the processing has been completed for all candidates determined in step S61 (step S72 in FIG. 11). In this case, since the process has been completed for the four generated candidates, the CPU 23 ends the writing process.
  • the mining tree monad when the same mining tree monad is already stored in the table, the mining tree monad is not overwritten and written to the table. This is because, when there are a plurality of mining tree monads of the same combination, processing as weights as described later can eliminate duplicate data, improve search speed, and reduce data capacity.
  • a new mining tree can be obtained by performing read processing as described above on the generated table data.
  • a searching tree as shown in FIG. 12 can be obtained by searching for “Risa Honda”. This is a mining tree in which information about “mandarin oranges” is added to the mining tree of FIG. 6A.
  • a searching tree such as that shown in FIG. 13A can be obtained by searching for “mandarin orange”.
  • FIG. 13B This is a mining tree in which narrative data about the relationship between “cafeteria” and “Honda Risa” is added to the mining tree of FIG. 6C.
  • Second Embodiment when a mining tree monad is written, if it already exists, the existing monad is used so as not to be written redundantly. That is, the frequency of writing the same monad is unknown.
  • a weight monad and an hour monad are assigned to each monad at the time of writing and reading. In this way, by assigning a weight to each monad and extracting a monad with a large weight or a monad with a new date, it is possible to obtain knowledge data considering the flow of the times.
  • the writing process of the weighting monad / hour monad is executed by executing the flowchart of FIG. 14 after step S43 of FIG. 9 in the first embodiment. Before explaining such processing, the difference between when there is weighting and when it is read as a mining tree will be described.
  • FIG. 15 shows, in the same manner as in the first embodiment, the mining tree monad when there is no weighting associated with each other.
  • Data stored in each field of each record data corresponding to FIG. 15 is shown in FIGS. 17A and 17B.
  • the data of each record is the same as in the first embodiment.
  • the meaning of the ID of each record is stored in FIG. 5 as described above, but is omitted here. In the following, description will be made using the mining tree of FIG.
  • ID304 [81] (Tamiflu) is related to ID73 [73] (influenza) and [74] (therapeutic agent).
  • ID374 [67] (Shiro Takahashi) is associated with ID73 [73] (influenza) and [77] (-disease).
  • ID305 [361] which is a narrative connection monad, is related to ID304 [81] (Tamiflu) and [24] (focusing).
  • ID 362 [62] (Saburo Murakami) has a relationship of “4 [4] (S)” and ID 363 [35] has a relationship of “5 [5] (P)”.
  • ] (Treat) is related to “6 [6] (G)” and ID364 [67] (Shiro Takahashi) is related.
  • ID365 [68] (Kyoto Hospital) is associated with ID362 [62] (Saburo Murakami) because of [26] (location).
  • ID363 [35] (to be treated) has a relation of [74] (therapeutic drug), and ID366 [81] (Tamiflu) and [25] (hour) have a relation of ID367 [91] (2014/11 / 5) is related.
  • ID364 [67] (Shiro Takahashi) is associated with ID368 [73] (influenza) in relation to [75] (illness).
  • this narrative composition monad means "Saburo Murakami treated Shiro Takahashi influenza with Tamiflu as a therapeutic drug at Kyoto Hospital on November 5, 2014."
  • ID 304 [81] (Tamiflu) is related to the predicate constituent monad.
  • FIG. 16 shows a mining tree in which a weight monad and a time monad are added to the mining tree monad shown in FIG.
  • a weight monad and a time monad are given except for the narrative composition monad.
  • the time monad is 2014/11/6 when data is written.
  • ID 374 [67] (Shiro Takahashi) is connected with ID 505 [43] (weight 1), which is a weight monad, by [27] (weight), and ID 404 [92] (2014 / 11/6) are linked at [25] (hours).
  • ID 73 [73] influenza
  • ID 304 [81] Tamiflu
  • a specific record configuration of the weight monad and the hour monad will be described with reference to FIG. 17C.
  • the record R505 which is a weight monad
  • “374” is stored in the connection field 63
  • “43” is stored in the mining field 62
  • “27” is stored in the relation field 64.
  • the record R404 which is a time monad, stores “374” in the connection field 63, “92” in the mining field 62, and “25” in the relation field 64.
  • FIGS. 17A and 17B data as shown in FIGS. 17A and 17B is generated in the case of the mining tree in FIG. 15 by the processing in steps S41 and S43 in FIG.
  • FIG. 17A is a narrative construction monad
  • FIG. 17B is a master-detail monad, a detail monad, and a narrative linking monad.
  • a limited mining tree monad is generated.
  • a combination in which the relations of the narrative structure monad are removed is generated, and further, Allow creation only when the relationship is defined. That is, in the narrative structure monad shown in FIG. 15, [62] (Saburo Murakami) and [81] (Tamiflu) are not directly related. However, various combinations are possible, such as a record constituting a mining tree in which [62] (Saburo Murakami) and [81] (Tamiflu) are related by [74] (therapeutic agent). In this embodiment, all the records in which the mining tree monads of these combinations are generated are generated.
  • FIG. 15 shows a case where it is defined that [81] (Tamiflu) and [73] (influenza) are related by [74] (therapeutic agent).
  • the CPU 23 extracts all the master-slave monad, detailed monad, narrative linking monad, and top monad from the written monads (step S81 in FIG. 14).
  • the monads ID304, ID305, ID374, and ID73 are extracted from FIGS. 17A and 17B.
  • CPU 23 determines whether there is an omission flag (step S83 in FIG. 14). This is because if a monad already exists in step S77 in FIG. 11, a duplicate monad has not been generated, and the weight / time monad is added to the monad.
  • step S87 the CPU 23 initializes the process number p (step S87 in FIG. 14), and determines whether or not the 0th monad is the written monad (step). S89).
  • the CPU 23 sets ID27 of the 0th monad in the connection field and “27” in the relation field. Then, a record with the mining field set to “43” (weight 1) is generated. An empty record may be used as the ID of such a record.
  • ID503 is employed.
  • the CPU 23 generates a record in which the ID “304” of the 0th monad is written in the connection field 63, “25” is written in the relation field 64, and the monad ID indicating the date and time is written in the mining field 62 (step S95).
  • step S97 determines whether or not all the processing target monads have been examined. In this case, since all processing has not been completed, the process number p is incremented, and step S89 and subsequent steps are repeated.
  • the CPU 23 Since the first monad is a monad with ID 305 and is a written monad, the CPU 23 sets the ID 305 of the first monad in the connection field, “27” in the relation field, and “43” (weight 1). ) Is generated (step S91). Here, it is assumed that the ID 504 is adopted.
  • a record is generated in which the ID “305” of the first monad is written in the connection field 63, “25” is written in the relation field 64, and the monad ID indicating the date and time is written in the mining field 62 (step S95).
  • step S97 determines whether or not all the processing target monads have been examined. In this case, since all processing has not been completed, the process number p is incremented, and step S89 and subsequent steps are repeated.
  • weight monad and hour monad are added in the same manner.
  • Figure 17C shows the weight monad and hour monad records added. By additionally writing these, when reading with ID 73, it is possible to read the mining tree monad as shown in FIG.
  • step S78 the data of the narrative composition monad corresponding to “Goro Kimura treated Jiro Suzuki of influenza with Tamiflu as a therapeutic drug at Osaka Hospital on June 10, 2015.
  • the process proceeds from step S67 in FIG. 11 to step S77 at the time of writing.
  • step S77 a predicate concatenation monad of the existing mining tree monad is generated and written as a record.
  • a monad with ID 370 is generated.
  • the CPU 23 turns on the omission flag for the monad ID 304 (step S78).
  • the process advances from step S83 to step S85 in FIG. 14, and the monad ID 304 is added as a processing target. Further, when the monad ID 304 becomes the processing target monad, the process proceeds from step S89 to step S93, the ID of the monad is stored in the connection field 63, and the weight is incremented for the record whose relation field 64 is “27” (+1) ) For example, in this case, the ID 503 is “44” representing “weight 2”. For such processing, the monad ID representing the weight of the result when the weight is incremented by 1 (for example, weight 2) may be determined in advance.
  • weights can be given to those other than the narrative composition monad.
  • ID 73 [73] influenza
  • ID 304 [81] Tamiflu
  • the weight is increased to ID 501 [44] (weight 2) and ID 503 [44] (weight 2), respectively.
  • ID330 [73] (fluenza) is given as a therapeutic for ID73 [73] (influenza) in a state where records corresponding to the tree structure as shown in FIG. 18 are stored in the table, FIG. As shown in FIG. 19, for ID 73 [73] (influenza), the weight increases to 502 [45] (weight 3).
  • the weight is changed by changing the data in the mining field 62 to the record ID having the weight of +1 without changing the ID indicating the weight.
  • a new record is generated.
  • the previous ID may be deleted.
  • step S19 is added between step S17 and step S20 of FIG.
  • step S19 Details of step S19 are shown in FIG.
  • the CPU 23 extracts all monads other than the narrative composition monad from the read monad (step S101). In this case, since the monad shown in FIG. 20 is extracted, the monads ID305, ID304, and ID43 are read out.
  • the CPU 23 performs a process of incrementing (+1) the weight for the record whose relation field 64 is “27” (step S103). Specifically, the data in the mining field 62 may be changed to a record ID having a weight of +1. In this case, ID 501, ID 505, ID 503, and ID 504 are all changed to ID 44 meaning “weight 2”.
  • the CPU 23 extracts all records whose relation field 64 is “25”, and adds a time monad for the record specified in the connection field 63 of each record (step S105). In this case, a time monad indicating the read “December 6, 2015” is added for each of ID 73, ID 374, ID 304, and ID 305.
  • the weight monad and the hour monad are assigned to both reading and writing by the search.
  • the weight monad is increased by +1, the weight added by reading and writing may be changed.
  • a record corresponding to the mining tree monad is generated for a preset combination. I made it.
  • the present invention is not limited to this, and a monad related to all the possibilities may be generated without restriction by such setting.
  • a weight monad is added.
  • the generated monad is not written, and the monad [24] (focused) is connected to the master-slave monad by the predicate concatenation monad to the highest monad of the narrative construction monad Like to do. Therefore, even if the weight is not stored, the writing frequency can be determined by counting the number of topmost monads in the narrative structure monad connected by the focused monad.
  • weight monad When the weight monad is added, a mining tree having a heavy weight represented by the weight monad may be read out.
  • the date is adopted as the time monad, but it may be stored until the time.
  • the weight monad is weighted by 1 at the time of writing and reading, but it may be weighted using the time monad.
  • Such coefficients may be changed dynamically. Further, not only the most recent time but also the sum of the monads at all times and the difference at the time of writing may be used so that the weight becomes light when this is large. On the other hand, if it is frequently used recently, the weight may be increased. The same applies to reading.
  • the relation field 64 stores the relationship when the lower monad of the master-slave monad is connected to the upper monad. This is to match the relationship in the detailed monad.
  • a sentence “Lisa Honda eats a mandarin orange in a cafeteria” is analyzed, and data “Lisa Honda” (standard), “mandarin orange” (predecessor), and “eat” (City) and “cafeteria” (location) are given.
  • data may be given in a state where the linked state of each data is specified.
  • this is realized by software using a CPU.
  • some or all of them may be realized by hardware such as a logic circuit.
  • OS operating system
  • the narrative structure monad is read out, but it is not essential to read out the narrative structure monad. This is because it is meaningful as a knowledge database just to make associations in the mining tree one after another. For example, in FIG. 12, when various types of information are further connected, associations such as “Lisa Hyundai” ⁇ “apple” ⁇ “fruit” ⁇ “juice” ⁇ “health” are possible.
  • the label data is generated, the label data is stored in the reference field 65 (see FIG. 4), and the record ID is referred to, thereby generating the label data. It is also possible to read out.
  • straight arrows indicate connection relationships
  • curved arrows indicate reference relationships.
  • the ID stored in the mining field 62 is indicated by [] and the corresponding character string is indicated in ().
  • the ID of the relation field 64 is indicated by [] in the vicinity of the straight arrow.
  • the character string stored in the reference field 65 is shown in ⁇ .
  • the attribute value includes both a label and a meaning.
  • records R80, R81, and R641 are reference definition monads.
  • the reference definition monad is a monad in which the ID field 61 and the mining field 62 store the same ID, the connection field 63 and the relation field 64 are empty, and data referred to in the reference field 65 is stored.
  • the data referred to the reference field 65 is a character string, but is not limited to this.
  • such a character string may be a file identification ID indicating a storage location of specific image data or audio data, such as a URI.
  • Record R640 is a reference master-slave monad.
  • the upper and lower connection relations related to the two definition monads are empty in the connection field 63, and the mining field 62 for storing the attribute value specifying ID for specifying the attribute value indicating the value of the connection attribute is empty.
  • the relationship attribute refers to the monad in which the relation field 64 stores the ID of the connection relationship notation data in the reference field 65.
  • the definition monad is defined as a monad in which the same ID is stored in the ID field 61 and the mining field 62 and the other fields are empty.
  • the reference monad 65 is not included in the definition monad. That is, the individual element data specified by R641 is a definition monad.
  • records R691 to 694 are narrative composition monads, and record R700 is a narrative linking monad. These are the same as in the first embodiment.
  • the main program reads out the records of FIGS. 23A and 23B and connects the monads, thereby generating a mining tree and a reference tree as shown in FIG.
  • the record shown in FIG. 4 is stored in the table, and when this is read, a mining tree as shown in FIG. 25 is constructed.
  • records shown in FIG. 23 are stored, and the case where the records are read and the mining tree and the reference tree shown in FIG. 26 are constructed will be described.
  • the hardware configuration is the same as that of the first embodiment, and a description thereof will be omitted.
  • a region ⁇ 1 surrounded by a broken line is a tree added to the tree state of FIG.
  • ID 51 is described as 51 [51] (apple)
  • ID 163 is described as 163 [71] (cafeteria).
  • the label is referred to in the reference tree in the same manner as the label “Lisa Honda”.
  • FIG. 27 shows a flowchart of the processing according to FIG.
  • the CPU 23 extracts a record whose search target ID is stored in the connection field 63 as a master-slave monad (step S101 in FIG. 27).
  • the search target is ID “61”
  • the record R640 in FIG. 23 is extracted together with the record having “61” in the connection field 63, that is, the records R161 and R163 in FIG.
  • the CPU 23 initializes the processing number i (step S103), and determines whether or not the connection field ID record has already been extracted for the i-th master-slave monad (step S105). If the record R161 is the 0th master-slave monad, since the connection field ID “61” has not been extracted, the record of the connection field ID is extracted as the top monad (step S107).
  • the CPU 23 determines that the records R161 and R61 are in the position connection relationship (step S108).
  • step S109 determines whether or not the 0th master-slave monad is a reference master-slave monad (step S109). Whether or not it is a reference master-slave monad may be determined by whether or not the mining field 62 of the record is empty. In this case, since the mining field 62 of the record R161 is not empty, the CPU 23 extracts the record with the ID “51” in the mining field as a concatenation target, and determines that it has a semantic concatenation relationship (step S111).
  • the CPU 23 extracts a record constituting the narrative of the 0th master-slave monad (step S123).
  • FIG. 28 Details of the process in step S123 are shown in FIG. FIG. 28 is substantially the same as steps S7 to S22 in FIG. 7, but will be described briefly below.
  • CPU 23 initializes narrative process number j (step S130).
  • the CPU 23 extracts the j-th predicate connection monad for the i-th master-slave monad (step S131).
  • the determination as to whether or not it is a narrative connection monad is the same as in the first embodiment.
  • the record ID “161” of the extracted 0th master-slave monad R161 is stored in the connection field 63, and the record R162 that is the record in which the relation field 64 is “24” is extracted as the narrative connection monad.
  • the CPU 23 extracts the highest monad of the narrative composition monad for the narrative linking monad (step S133).
  • “131” is stored in the mining field of the record R162 which is the 0th narrative connection monad. Therefore, the record R131 is extracted as the highest monad of the corresponding narrative structure monad.
  • the CPU 23 determines whether or not the extracted ID of the highest monad has already been extracted (step S135). In this case, since it has not been extracted, the CPU 23 extracts the record in which the extracted ID of the highest monad is stored in the connection field 63, and determines the connection relationship (step S137).
  • step S139 determines whether there is a monad connected to the extracted narrative composition monad. In this case, there is a record R135 in which “132” is stored in the connection field 63 in FIG. Therefore, the CPU 23 extracts the record R135 and determines the connection relationship (step S141).
  • the CPU 23 determines whether or not all the syllable concatenation monads have been extracted for the i-th master-slave monad (step S145), and if it remains, the narrative process number j is incremented (step S147), and the step The processing from S131 is repeated. In this case, since all the narrative connected monads have been extracted, the CPU 23 determines whether or not the processing for all the master-slave monads has been completed when the record extraction process constituting the narrative is completed (step S125 in FIG. 27).
  • each record may be further modified and configured in multiple levels. . In such a case, all connection relationships are determined.
  • step S125 in this case, since the process for the record R163 has not been completed, the CPU 23 increments the process number i (step S127), and proceeds to step S105.
  • the CPU 23 performs the processing from step S105 onward for the record R163 of the first master-slave monad.
  • the processing is the same as that of the record R161 except for the following points.
  • connection field ID “61” has already been extracted in step S105 of FIG. 27, the process of step S107 is not executed. Also, since the record R131 has already been extracted in step S135 in FIG. 28, the connection relationship between the narrative connection monad and the narrative structure monad is determined without steps S137 to S141 (step S143).
  • step S125 judges whether the process about all the master-slave monads was complete
  • the CPU 23 performs the processing from step S105 onward for the record R640 of the second master-slave monad.
  • the CPU 23 determines whether or not the connection field ID record has already been extracted for the second master-slave monad (step S105). In this case, since the connection field ID “61” of the record R640 has already been extracted, the process advances to step S108 to determine the position connection relationship between the second master-slave monad and the extracted top monad.
  • the CPU 23 determines whether or not this master-slave monad is a reference master-slave monad (step S109). In this case, in the record R640, the mining field 62 is empty. Therefore, the CPU 23 proceeds to step S115 and determines whether or not the record of the ID of the reference field 65 has been extracted. In this case, since the record with the ID “641” in the reference field 65 has not been extracted, the CPU 23 extracts the record with the ID “641” in the reference field 65 as a top monad (step S117). The CPU 23 determines that the extracted top monad and the reference master-slave monad have a reference connection relationship (step S119).
  • the CPU 23 extracts a record having the extracted top monad ID 641 in the connection field as an additional master-slave monad, and adds this (step S121).
  • a record R642 (see FIG. 23B) is extracted and added as an additional master-slave monad.
  • the CPU 23 extracts a record that constitutes a narrative with the record R640 as a master-slave monad (step S123). Such steps are performed as follows.
  • the CPU 23 initializes the narrative processing number j (step S130 in FIG. 28).
  • CPU 23 extracts the 0th predicate connected monad for the second master-slave monad (step S131 in FIG. 28).
  • the record R700 (see FIG. 23A), which is a record in which the ID 640 is stored in the connection field 63 and the relation field 64 is “24”, is extracted as the 0th predicate connection monad.
  • the CPU 23 extracts the highest monad of the narrative composition monad for the narrative linking monad (step S133).
  • “691” is stored in the mining field of the record R700. Accordingly, the record R691 is extracted as the highest monad of the corresponding narrative structure monad.
  • the CPU 23 determines whether or not the extracted ID of the highest monad has already been extracted (step S135). In this case, since it has not been extracted, the CPU 23 extracts a record in which the ID of the extracted highest monad is stored in the connection field 63, and determines the connection relationship (step S137).
  • step S139 determines whether there is a monad connected to the extracted narrative composition monad. In this case, the CPU 23 does not have a record in which the ID of the extracted narrative structure monad is stored in the connection field 63. Thus, the narrative processing ends.
  • CPU23 determines a connection relation, when the record extraction process which comprises a description clause is complete
  • the CPU 23 determines whether or not all the syllable concatenation monads have been extracted for the i-th master-slave monad (step S145), and if it remains, the narrative process number j is incremented (step S147), and the step The processing from S131 is repeated. In this case, since all the narrative connected monads have been extracted, the CPU 23 determines whether or not the processing for all the master-slave monads has been completed when the record extraction process constituting the narrative is completed (step S125 in FIG. 27). In this case, since the process for the record R642 added in step S115 has not been completed, the CPU 23 increments the process number i (step S123), and proceeds to step S105.
  • the CPU 23 determines that the records R641 and R642 are in the position connection relationship because the connection field ID “641” of the record R642 has been extracted (step S108).
  • the CPU 23 determines whether or not the third master-slave monad is a reference master-slave monad (step S109). In this case, since the mining field 62 of the record R642 is not empty, the CPU 23 extracts the record with the ID “61” of the mining field as a concatenation target and determines that it has a semantic concatenation relationship (step S111).
  • the CPU 23 extracts a record that constitutes a narrative with the record R642 as a master-slave monad (step S123). Specifically, the CPU 23 extracts the predicate connection monad of the third master-slave monad (step S131 in FIG. 28). In this case, the record R703, which is a record in which the ID 642 is stored in the connection field 63 and the relation field 64 is “24”, is extracted as the narrative connection monad.
  • the CPU 23 extracts the highest monad of the narrative composition monad for the narrative linking monad (step S133).
  • “691” is stored in the mining field of the record R703. Accordingly, the record R691 is extracted as the highest monad of the corresponding narrative structure monad.
  • the CPU 23 determines whether or not the extracted ID of the highest monad has already been extracted (step S135). In this case, since it has already been extracted, the connection relationship between the narrative connection monad and the narrative structure monad is determined (step S143).
  • all reference trees are also extracted, but only top monad records of the reference tree may be extracted.
  • ID642 and ID703 may not be extracted. This is because it may be sufficient if the ID 641 label referenced from the ID 640 is known.
  • the process of step S121 in FIG. 27 is removed, and in the case of the reference tree, the process of step S129 may be performed without performing the processes of steps S123 to 127.
  • connection field 64 a record stored in the reference field 65 may be extracted.
  • CPU23 judges whether the process about all the master-slave monads was complete
  • each element may be connected based on a position connection relationship, a semantic connection relationship, and a reference connection relationship.
  • the position connection relationship is a straight line
  • the semantic connection relationship and the reference connection relationship are connected by a curve.
  • the connection relationship shown in FIG. 26 can be obtained.
  • the letter “R” is written in the double circle for the top monad and the double circle for the top monad of the reference tree.
  • the present invention is not limited to this.
  • the position connection relationship refers to a relationship in which two elements are connected in a vertical relationship, the connection attribute is determined, and a value is entered in the mining field or reference field.
  • This knowledge database is linked in a position linkage relationship, a semantic linkage relationship, and a reference linkage relationship. Therefore, the related record information can be sequentially read by sequentially following these connection relationships.
  • one reference connection relation is constructed from a plurality of entities for one reference tree. Specifically, in FIG. 30, ID641 is linked by reference from the monads ID640 and ID1062.
  • At least one lower individual element data (ID 640) among the plurality of lower individual element data associated with the upper individual element data of the first connected knowledge data has the attribute value data.
  • a plurality of subordinate elements associated with the individual element data (monad ID 641) referred to by the element data ID of the individual element data of the reference destination and associated with the upper individual element data of the second connected knowledge data.
  • at least one lower individual element data (monad ID 1062) does not have the attribute value data and is referred to by the element data ID of the individual element data of the reference destination. (Monad ID 641) is associated, and the individual element data of the reference destination is the same individual element data. It is I monad D641).
  • the monad of ID641 is referred to from the mining tree with the monad of ID61 as the top, and the mining tree with the monad of ID1061 as the top can be associated with this monad. it can.
  • ID61 has two monads ID1100 and ID1110, and ID632 and ID631 are linked by reference from monad ID1100 and ID1110, respectively. Thereby, the entity of ID61 can represent having two labels.
  • At least two or more pieces of connected knowledge data are connected knowledge data (in this case).
  • a mining tree with monad ID 61 at the top a reference tree with monad ID 632 and monad ID 631 at the top
  • connected knowledge data in this case.
  • individual element data satisfying the following is stored in the storage means.
  • the first lower individual element data (monad ID 1100) and the second lower individual element
  • the element data does not have the attribute value data
  • the reference individual element data (monad ID 632, monad ID 631) referred to by the element data ID of the reference individual element data.
  • the reference individual element data associated with each other is different individual element data (monad ID 632, monad ID 631).
  • a mining tree topped by the monad of ID61 is concatenated from the monad of ID632, and the monad of ID631 is referenced from a monad below it. it can.
  • trees ⁇ 1, ⁇ 2, and ⁇ 3 in FIG. 34 are parts constructed from the records shown in FIG. Trees ⁇ 1 and ⁇ 2 are reference trees, and tree ⁇ 3 is a mining tree.
  • the individual element data satisfying the following is established: Is stored in the storage means.
  • the first and second lower individual element data (monad ID 1100) , ID1110) does not have the attribute value data and is associated with individual element data (monad ID632, ID631) referred to by the element data ID of the individual element data of the reference destination.
  • the first and second lower individual element data refer to different individual element data (monad ID 632, ID 631).
  • the plurality of lower individual element data associated with the upper individual element data (monad ID 656) of the second linked knowledge data (meaning tree with monad ID 656 as the top) at least two lower individual element data (monad ID 1131, The monad ID 1141) does not have the attribute value data, and one is a third associated with individual element data (monad ID 632) associated with the first lower individual element data (monad ID 1100).
  • Lower individual element data (monad ID 1131), and the other is fourth lower individual element data (monad ID 631) associated with the individual element data (monad ID 631) associated with the second lower individual element data (monad ID 1110).
  • Monad ID 1141 Monad ID 1141
  • only the top monad record of the reference tree may be extracted.
  • the case where the ID 632 and the ID 631 reference monad referenced from the lower monad of the ID 61 monad is also referred to from the ID 656 mining monad has been described as an example, but the lower monad of the ID 656 mining monad. Of these, only one of them may be referred to.
  • one of the lower monads of the ID 656 mining monad may refer to a reference monad other than the ID 632 and ID 631 referenced by the ID 61 mining monad.
  • translation processing between different languages is possible. This is because there are a plurality of notations for one entity when the languages are different. For example, the same fruit is written as “apple” in Japanese and “apple” in English. The same applies when the name is different depending on the region even if the language is the same.
  • the ID 641 can be extracted by searching the reference field 65 with the character string “Lisa Honda”.
  • records R642 and R1066 are extracted.
  • the mining field 62 when connected in a reference concatenation relationship, the mining field 62 is empty. Therefore, by limiting the mining field 62 to records that are empty, the target top monad can be reached in a shorter time.
  • CPU 23 displays a template input screen for input (step S151 in FIG. 37).
  • a template representing the relationship that “the surname XX is a Japanese representation of the surname for the surname holder XX” is stored. What is necessary is just to read this and to make a user input the character string and object which are a subject. A plurality of candidates may be stored for the template so that the user can select them.
  • the user enters the surname “Honda” in the input box 151 and the target “Lisa Honda” in the input box 153.
  • the target “Lisa Honda” has a modifier “I am a subordinate of Toyota Ichiro”
  • the user selects the icon 154.
  • the CPU 23 determines whether or not the end button 159 has been selected (step S153), and since it has not been selected in this case, the CPU 23 proceeds to step S155 and determines whether or not the add button has been selected. In this case, since the icon 154 has been selected, the user is prompted to specify an input box to be modified (step S157). In the present embodiment, the screen display “Please select the input box to be modified” is displayed, but the present invention is not limited to this.
  • the input box desired to be modified is “Lisa Nissan” input in the input box 153
  • the user selects the input box 153.
  • the CPU 23 displays an additional input box indicating the modification relationship of the designated input box (step S159).
  • An example of this case is shown in FIG.
  • the input box 163 that does not have a relationship.
  • the user inputs “Ichiro Toyoda” in the input box 163 and selects the end button.
  • the CPU 23 determines whether or not the end button 159 has been selected (step S153). Since it is selected in this case, a label search is performed (step S161), and it is determined whether or not the label input in the input box exists. (Step S163). Specifically, it may be determined whether or not a character string related to the reference field 65 of the table exists.
  • step S165 may be repeated.
  • the CPU 23 associates the label with the entity (step S167). This is because a single label “Lisa Nissan” may be associated with a plurality of entities such as ID 61 and ID 1061 as shown in FIG. In this embodiment, when there are a plurality of entities, the CPU 23 displays the connection attributes of the entities represented by both mining trees on the screen for reference when the user selects them. However, it is not limited to this.
  • the monad of the record with ID 61 is selected by the user.
  • the label “Honda” is not associated with the entity. .
  • “Toyota Ichiro” is also associated with an entity in the same manner as described above. In this case, it is assumed that the monad of the record with ID 63 is selected.
  • the end button when the end button is selected, it is determined whether or not there is a record having the character string of the reference field 65.
  • the determination time is not limited to this.
  • the presence determination may be performed when the input box is input. The same applies to the association with the entity.
  • the CPU 23 generates a predicate constitution monad and writes it (step S41 in FIG. 40).
  • the narrative composition monad generation process will be described with reference to FIG.
  • the CPU 23 determines a starting point monad, a route monad, and a landing point monad (step S171 in FIG. 41).
  • the user when the user inputs narrative data, the user determines and inputs a base S, a road P, and a predecessor G. Therefore, as in the first embodiment, it is possible to determine a starting monad, a route monad, and a landing monad without morphological analysis.
  • the given data “Honda” is the base S
  • “Last name in Japanese” is the road grade P
  • “Lisa Nissan” is the predecessor G.
  • CPU 23 generates and writes the ID of the highest monad (step S173). Such an ID uses a free ID. Here, the ID is “1102”. The CPU 23 writes “1102” in the mining field 62 of the record “1102”.
  • the CPU 23 determines whether or not a label should be input for the standard S (step S175). Whether or not the label should be input depends on whether or not the base S is determined to be input in the verb that is the base P (in this case, “Japanese name of surname”). To be judged. Therefore, each verb stores whether or not a label is input for the base S or the predecessor G (not shown).
  • the CPU 23 since this verb is determined to have a label in the standard S, the CPU 23 turns on the other reference monad flag (a flag indicating that it is a monad that refers to the reference monad) and the reference field 65. Generate and write the monad identified in (Step S177). In this case, the CPU 23 assigns “-(empty)” to the mining field 62 of the vacant ID “1103”, the ID “1102” of the upper monad to the connection field 63, and the ID “4” of “standard”. In the relation field 64, the ID “632” of “Honda” is written in the reference field 65. For the ID of “Honda”, the reference field 65 may be searched by the character string “Honda”.
  • the CPU 23 writes a record of the road grade P (step S181).
  • “Last name is in Japanese” is ID “82”
  • Road rank P is ID “5”
  • the upper monad is ID “1102”. Therefore, the next empty ID “1104” in the mining field 62 is “82”, the connection field 63 is the upper monad ID “1102”, the “path P” ID “5” is in the relation field 64, and the reference field 65 is Write “-(empty)”.
  • the CPU 23 determines whether or not the label for the predecessor G should be input (step S183). Whether or not a label is to be input is determined by a verb as described above. In this case, since the predecessor G is determined not to include a label, the CPU 23 generates and writes the monad specified in the mining field 62 (step S187). In this case, the ID “61” indicating the entity of Nissan Lisa is assigned to the vacant ID “1105” in the mining field 62, the higher monad ID “1102” is assigned to the connection field 63, and the predecessor G ID “ 6 ”is written in the reference field 65.
  • the CPU 23 proceeds to FIG. 42, and repeats the steps S193 to S199 while there is an extended monad (steps S191 to S199).
  • the expanded monad means monad candidates other than the base, the predecessor, and the path.
  • the CPU 23 determines that the basic “Ichiro Toyoda” is an extended monad among “Ichiro Toyoda” and “I am a subordinate” that modifies Nissan Lisa.
  • “Ichiro Toyoda” is treated as a standard. This is due to the following reasons. For such extended monads, for the character “I am subordinate”, the modification target “Lisa Hyundai” is a subordinate of “Ichiro Toyoda” and “Ichiro Toyoda” is the modification target "Lisa Honda” There may be two cases of subordinates. This is because this system is regularized as the former.
  • step S193 determines whether or not a label should be input for the extended monad.
  • the expanded monad “Ichiro Toyoda” is set so that a label is not input for “I am a subordinate”, which is the corresponding path character P, so the process proceeds to step S195, and the CPU 23 specifies the mining field 62. Create and write monads.
  • the CPU 23 determines whether or not there is no extended monad in step S199. In this case, since there is only one extended monad, the writing process of the narrative structure monad is terminated.
  • verbs are treated as having at least a base, a predecessor, and a path.
  • intransitive verbs and Be verbs that have no object.
  • these verbs are handled in a form that takes an object. For example, in the case of an intransitive phrase “Lisa Honda runs”, it is treated as “Lisa Honda runs Lisa Honda”.
  • a Be verb “apple is red” is handled using a verb that is a color, such as “red is a color relative to an apple”.
  • the verb is treated as “path” as seen from the lower individual element data, as in the first embodiment.
  • the CPU 23 performs a writing process of the tree monad and the narrative connection monad (step S44 in FIG. 40).
  • the tree monad is a generic name for the mining tree monad and the reference tree monad. This embodiment is different from the first embodiment in that it is determined whether or not a monad that refers to a reference monad (hereinafter referred to as another reference monad) is written.
  • step S44 determines tree monad candidates (step S201 in FIG. 43).
  • the top monad is an entity and a label.
  • the former is a mining tree monad and the latter is a reference tree monad.
  • the former is further divided into two types, and the label may be referred to and the label may not be referred to. Since the process when the label is not referred to and when the detailed monad is present is the same as in the first embodiment, the description thereof is omitted.
  • the CPU 23 initializes the process number i (step S203 in FIG. 43), and determines whether or not a flag (other reference monad flag) referring to the reference monad is on for the 0th tree monad candidate (step S205). In this case, in step S197 in FIG. 42, the 0th tree monad candidate “Honda” generates a monad that references another monad in the reference field 65 because the other reference monad flag is set to ON (FIG. 42). 43 step S209).
  • CPU 23 determines whether or not the generated other reference monad already exists in the table (step S211). In this case, the generated other reference monad does not exist in the table, so the CPU 23 writes it in the table (step S213). A free ID is used as the ID to be written. Here, the ID is “1100”.
  • step S215 The writing of the narrative connection monad is the same as in the first embodiment.
  • the ID “1100” is determined in step S213, and the highest monad of the connected narrative structure monad is “1102”. Therefore, the CPU 23 writes “1102” in the mining field 62 of the empty ID “1101”, “1100” in the connection field 63, and “24” in the relation field 64.
  • the reverse tree monad is a monad having a reverse predicate relationship with the i-th tree monad candidate.
  • the reverse tree monad is a monad having a reverse predicate relationship with the i-th tree monad candidate.
  • “Lisa Honda” “eats” “apple”, whereas “apple” produces a tree monad that is inversely related to “Eat (-Eat)” for “Lisa Honda”. It was.
  • “Lisa Honda” which is the entity, generates “ ⁇ Japanese name representation of surname” for the label “Honda”.
  • the reference tree monad with the reference monad at the top is used as the monad of the reverse predicate relationship of the mining tree of the other reference monad flag.
  • step S216 Details of step S216 are shown in FIG.
  • the CPU 23 specifies “-Japanese name of the surname” in reverse relation to the road grade P “Japanese name of the surname” among the base S, the road grade P, and the predecessor G (step S231). .
  • the CPU 23 generates a monad in which the base S and the predecessor G are exchanged (step S233).
  • “61” is stored in the mining field 62
  • “632” is displayed in the connection field 63
  • the ID “83” indicating “ ⁇ Japanese name of last name” is displayed in the relation field 64.
  • Each “ ⁇ ” is stored.
  • step S235 determines whether or not such a monad already exists. In this case, since it does not exist, it is written in the table (step S237). Specifically, the CPU 23 writes “61” in the mining field 62 of the empty ID “1121”, “632” in the connection field 63, and “83” in the relation field 64. This generates a reference tree monad.
  • the CPU 23 generates and writes a narrative connection monad that connects the narrative connection monad generated in step S215 of FIG. 43 (step S239). Since this process is the same as that in step S215, a specific description is omitted. In this case, the ID “1121” is determined in step S213, and the highest monad of the narrative structure monad to be connected is , “1102”. Therefore, the CPU 23 writes “1102” in the mining field 62 of the empty ID “1122”, “1121” in the connection field 63, and “24” in the relation field 64.
  • step S235 If it already exists in step S235, the weight flag is turned on (step S238). Since this process is the same as step S221 in FIG. 43, the description thereof is omitted.
  • CPU 23 determines whether or not the processing has been completed for all candidates determined in step S201 in FIG. 43 (step S217 in FIG. 43). In this case, since all processing is completed, the CPU 23 returns to FIG. 40 and ends the writing process. In this case, records R1100, R1101, R1121, and R1122 of FIG. 36 are written.
  • FIG. 35 When the record before the record shown in FIG. 36 is added is shown in FIG. 35, when the record is read out by the read flowchart shown in FIG. 27, the mining tree and the reference tree shown in FIG. 45 are obtained.
  • the record shown in FIG. 36 is added by the writing process, and when these records are also read out, the tree structure shown in FIG. 46 is obtained.
  • the labels other than the added reference tree are the same as those in the first embodiment in order to facilitate understanding.
  • step S221 in FIG. 43 is the same as step S78 in FIG.
  • R4 to R72, R80 to 83, R641, and R643 are stored in advance, but are displayed in FIG. 44 only when connected to other monads.
  • 35 is the top monad of “Ichiro Toyoda” 's mining monad, but in FIG. 35, such a mining monad record is omitted.
  • an inversely related monad is generated in step S216 of FIG.
  • a monad having an inverse relationship may be generated as a tree monad by iterative processing.
  • processing such as step S216 may be provided for processing.
  • both the base S and the predecessor G are determined to be labels. Accordingly, in both steps S177 and S185 in FIG. 41, the writing specified in the reference field 65 is performed.
  • “1201” is present in the mining field as “monad ID 1201”
  • “honda” is present in the reference field 65
  • “1202” is present in the mining field as “monad ID 1202”
  • “capitalized” is present in the mining field 62.
  • a monad having the mining field 62 empty, “631” in the connection field 63, “1202” in the relation field 64, and “1201” in the reference field 65 is added as the monad ID 1203.
  • a monad having an inverse relationship may be generated in the same manner as in the above embodiment (see step S216 in FIG. 44).
  • the third embodiment with respect to the weight and hour monad.
  • the translation result corresponding to the frequency, recent usage tendency, and the like can be obtained in the same manner as described in the second embodiment.
  • Such weights and time monads can be applied not only to the mining tree but also to the reference tree.
  • a rule that the base S and / or the predecessor G is a label is stored for each monad. Judged that there is no correspondence.
  • the present invention is not limited to this. For example, depending on whether or not the association with the entity is made, whether to connect with the ID of the mining field or to connect with the ID of the reference field may be changed. Of course, such attributes may be stored in a similar tree structure.
  • FIG. 47 is a functional block diagram of the database management apparatus 1 according to the third embodiment.
  • the database management apparatus 1 includes a storage unit 203, an association unit 205, a reading unit 207, and a writing unit 209.
  • the storage unit 203 is a table composed of at least the following five fields a1) to a5), and stores a table in which one element data is composed of one record.
  • the associating unit 205 positions a record in which the ID stored in the mining field of the record is stored in the upper element data field as the lower record with the certain record as the upper record, and the lower record
  • the higher order record and the lower order record are related to each other on the assumption that the connection attribute indicated by the connection attribute element data stored in the connection attribute element data field is the attribute value stored in the attribute value data field of the lower record.
  • the associating unit 205 identifies the record referred to by the ID stored in the reference element data field, and sets the reference element data field of the identified record.
  • the stored data is related as the label of the record in which the mining field is empty.
  • the reading unit 207 reads connected knowledge data obtained by connecting a plurality of lower records to the upper record by causing the association unit 205 to repeat the association.
  • the writing element 209 uses the upper element ID as the upper element data field and the connection attribute.
  • the element data is written in the concatenated attribute element data field, and the attribute value is written in the attribute value data field.
  • the write means is given the upper element ID, the connection attribute element data in the connection attribute with the upper element, and the reference element data ID for the element to be written, the upper element ID is stored in the upper element data field.
  • the connection attribute element data is written in the connection attribute element data field, and the element data ID of the reference destination is written in the reference element data field.
  • the invention of the first embodiment can also be specified as follows.
  • a database management apparatus is a database management apparatus having a table comprising A) at least the following four fields a1) to a4), wherein one element data is composed of one record: a1) Element data specifying information field for storing element data specifying information for specifying the element data, a2) Upper element data for storing upper element data specifying information for specifying upper element data located above the element data Field, a3) a connection attribute element data field in which connection attribute element data specifying information specifying connection attribute element data indicating a connection attribute between the element data and the upper element data is stored; a4) a value of the connection attribute Attribute value data field for storing an attribute value specifying ID for specifying an attribute value, B)
  • the table is b1) element related data B2) a plurality of element group data storage units for storing a plurality of element group data; and b3) a plurality of elements that connect the element related data and a plurality of element group top element data of the plurality of element group data.
  • the element data specifying information of the sub element data is the attribute value data field, and the element data specifying information of the main element data is the predecessor relation information of the main element data as viewed from the sub element data.
  • Element data specifying information indicating predicate relation information is respectively stored in the connection attribute element data field
  • the plural element group data Includes at least starting element data, landing element data, and path element data, and a plurality of element group highest element data connecting them
  • the plurality of element group highest element data includes the element element Element data identification information of data is stored in the element data identification information field and the attribute value data field, respectively.
  • the element data identification information of the main element data is stored in the attribute value data field.
  • the element data specifying information of the most significant element data is stored in the upper element data field, and the element data specifying information indicating the standard is stored in the connection attribute element data specifying field, b23) the landing element data
  • the element data specifying information of the slave element data is stored in the attribute value data field in the most significant element data.
  • Element data specifying information is stored in the upper element data field, element data specifying information indicating a predecessor is stored in the connection attribute element data specifying field, b24) the path element data is derived from the main element data
  • Element data specifying information indicating predicate relation information of the subordinate element data is in the attribute value data field
  • element data specifying information of the most significant element data is in the upper element data field
  • element data specifying information indicating a path B3 the plurality of element group data connection data
  • the plurality of element group most significant element data specifying information of the plurality of element group data is stored in the attribute value data field
  • the element data specifying information of the element related data is stored in the upper element data specifying field in the plurality of elements
  • Linked attribute specifying information of a focusing attribute indicating that the group top element data is linked to the element related data is stored in the linked attribute element data specifying field.
  • Extraction means is provided for extracting element group data connection data and extracting connected element data.
  • a database management apparatus in which various types of data are concatenated in a common table of the element data specifying information field, the upper element data field, the connected attribute element data field, and the attribute value data field. Can do.
  • a database management apparatus is a database management apparatus having a table comprising A) at least the following four fields a1) to a4), wherein one element data is composed of one record: a1) Element data specifying information field for storing element data specifying information for specifying the element data, a2) Upper element data for storing upper element data specifying information for specifying upper element data located above the element data Field, a3) a connection attribute element data field in which connection attribute element data specifying information specifying connection attribute element data indicating a connection attribute between the element data and the upper element data is stored; a4) a value of the connection attribute Attribute value data field for storing an attribute value specifying ID for specifying an attribute value, B)
  • the table includes b1) element related data.
  • Element data specifying information of the sub element data is the attribute value data field, element data specifying information of the main element data is the upper element data field, and predicate relation information of the main element data viewed from the sub element data.
  • Element data specifying information indicating reverse predicate relation information is stored in the connection attribute element data field
  • the plurality of element group data Includes at least starting element data, landing element data, and path element data, and a plurality of element group highest element data connecting them
  • Element data identification information of element data is stored in the element data identification information field and the attribute value data field, respectively.
  • the origin element data is the element data identification information of the main element data is the attribute value data field.
  • element data specifying information of the most significant element data is stored in the upper element data field, and element data specifying information indicating a standard is stored in the connection attribute element data specifying field, b23) the landing element
  • the element data specifying information of the slave element data is stored in the attribute value data field in the attribute data field.
  • Element data specifying information is stored in the upper element data field, and element data specifying information indicating a predecessor is stored in the connection attribute element data specifying field.
  • the path element data is the main element data.
  • Element data specifying information indicating predicate relation information of the subordinate element data viewed from the viewpoint, the element data specifying information of the uppermost element data in the attribute value data field, and element data specifying the path Information is stored in the connection attribute element data identification field, b3) the multiple element group data connection data, the multiple element group most significant element data identification information of the multiple element group data in the attribute value data field, The element data specifying information of the element related data is included in the upper element data specifying field. Focusing attribute connection attribute specifying information indicating that the child group top element data is connected to the element related data is stored in the connection attribute element data specifying field.
  • a database management apparatus in which various types of data are concatenated in a common format table of the element data specifying information field, the upper element data field, the connected attribute element data field, and the attribute value data field. be able to.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computing Systems (AREA)

Abstract

【課題】 簡易なデータ構造で、複数の知識が連結されたデータを得る。 【解決手段】 複数素子群データ連結データ58は、複数素子群データ50の複数素子群最上位素子データIDがフィールド42に、素子関連データIDがフィールド43に、焦点化属性IDがフィールド44に記憶されている。主素子データIDを特定した検索要求が与えられると、この主素子データを含む素子データを抽出し、当該抽出したデータIDを含む複数素子群データ連結データ58を抽出し、抽出した複数素子群データ連結データで特定される複数素子群データ50を抽出して、連結されている素子データを抽出する。 

Description

データベース管理装置およびその方法
 この発明はデータベース管理装置に関し、特に、新規なデータ構造のデータベース管理装置に関する。
 従来、知識データベースによる活用は文法に則って、データの型を決定して、それをデータ処理していた。例えば、1)「食べる」という単語は、動詞であり、目的語をとる、2)「リンゴ」という単語は、名詞であり、属性として色、大きさ、産地を有するなどである。かかるデータの型をテーブル化し、単語毎に項目を持つリレーショナルデータベースのデータ構造とする。
 特許文献1(特開平08-077013号公報)には、前記リレーショナルデータベースに代えて、オブジェクト指向を採用したデータベースが開示されている。
 しかしながら、リレーショナルデータベースにおいては、使用する単語によってテーブルの列の構成が変わる。また、名詞の属性については、すべてを特定するためには、テーブルにおける列の数を増やさなければならないという問題があった。したがって、あらたな知識を追加するのが煩雑であった。
 また、特許文献1の手法でも結局、クラスの作成などがその都度、必要となる。
 この発明は、上記問題を解決し、簡易に知識データベースを成長させることができるデータベース管理装置を提供することを目的とする。
 1)本発明にかかるデータベース管理装置は、A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、a1)当該素子データの素子データIDが記憶される素子データIDフィールド、a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、a4)前記連結属性の内容を表す内容素子データを特定する内容素子データIDが記憶される内容素子データ特定フィールド、B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データIDが前記内容素子データ特定フィールドに、前記主素子データの素子データIDが前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データIDが前記連結属性素子データフィールドに、それぞれ記憶されている、b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、b21)前記複数素子群最上位素子データは、当該素子データのIDが前記素子データIDフィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、b22)前記起点素子データは、前記主素子データの素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、基格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b23)前記着点素子データは、前記従素子データの素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、先格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、路格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データIDが前記内容素子データ特定フィールドに、前記素子関連データの素子データIDが前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性IDが連結属性素子データ特定フィールドに記憶されている、C)前記上位素子データフィールドについて、主素子データIDを特定した検索要求が与えられると、この主素子データを含む素子関連データを、抽出し、当該抽出した素子関連データの素子データIDを含む複数素子群データ連結データを抽出し、抽出した複数素子群データ連結データで特定される複数素子群データを抽出して、連結されている素子データを抽出する抽出手段、を備えている。
 したがって、前記素子データIDフィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記内容素子データ特定フィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置を提供することができる。
 2)本発明にかかるデータベース管理装置はA)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、a1)当該素子データの素子データIDが記憶される素子データIDフィールド、a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、a4)前記連結属性の内容を表す内容素子データを特定する内容素子データIDが記憶される内容素子データ特定フィールド、B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データIDが前記内容素子データ特定フィールドに、前記主素子データの素子データIDが前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データIDが前記連結属性素子データフィールドに、それぞれ記憶されている、 b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、b21)前記複数素子群最上位素子データは、当該素子データのIDが前記素子データIDフィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、b22)前記起点素子データは、前記主素子データの素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、基格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b23)前記着点素子データは、前記従素子データの素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、先格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、路格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データIDが前記内容素子データ特定フィールドに、前記素子関連データの素子データIDが前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性IDが連結属性素子データ特定フィールドに記憶されている、C)新たな複数素子群データとして、起点素子データ、着点素子データ、経路素子データが与えられると、下記ステップを実行する書き込み手段、c1)起点素子データ、着点素子データ、経路素子データの複数素子群最上位素子データを生成して、与えられた起点素子データ、着点素子データ、経路素子データとともに、複数素子群データとして前記テーブルに書き込む複数素子群データ生成ステップ、c2)その起点素子データの内容素子データ特定フィールドの素子データIDを上位素子データフィールドに、その着点素子データの内容素子データ特定フィールドの素子データIDを内容素子データ特定フィールドに、その経路素子データの内容素子データ特定フィールドの素子データIDと逆関係にある素子データIDを連結属性素子データフィールドに、それぞれ書き込んだ素子関連データを生成して前記テーブルに書き込む素子関連データ生成ステップ、c3)前記生成した複数素子群最上位素子データの素子データIDを内容素子データ特定フィールドに、前記生成した素子関連データの素子データIDを上位素子データフィールドに、前記焦点化属性の連結属性の素子データIDを連結属性素子データ特定フィールドに、それぞれ書き込んだ複数素子群データ連結データを生成して前記テーブルに書き込む複数素子群データ連結データ生成ステップ、を備えている。
 したがって、前記素子データIDフィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記内容素子データ特定フィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置を提供することができる。
 3)本発明にかかるデータベース管理装置はA)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、C)前記内容素子データ特定フィールドについて、第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出するとともに、これに関連する複数素子群データおよび複数素子群データ連結データを抽出して、これにより、連結されている素子データを抽出する抽出手段を備えている。
 したがって、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールドおよび前記内容素子データ特定フィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置を提供することができる。
 4)本発明にかかるデータベース管理装置はA)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、C)新たな複数素子群データとして、起点素子データ、着点素子データ、経路素子データが与えられると、複数素子群最上位素子データを生成して複数素子群データとして書き込むとともに、素子関連データおよび複数素子群データ連結データを生成して、書き込む書き込み手段を備えている。
 したがって、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記内容素子データ特定フィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置を提供することができる。
 5)本発明にかかるデータベース管理装置においては、前記テーブルには、さらに従素子データについての、素子関連データおよび複数素子群データ連結データが、記憶されていること、b1)前記従素子データについての素子関連データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記従素子データの素子データ特定情報が前記上位素子データフィールドに、前記主素子データからみた前記従素子データの述語関係情報である述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 b2)前記複数素子群データ連結データは、前記複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記従素子データについての素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている。
 したがって、前記従素子データについても、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記内容素子データ特定フィールドという共通の形式のテーブルにて管理ができる。
 6)本発明にかかるデータベース管理装置においては、前記書き込み手段は、前記生成する素子関連データおよび複数素子群データ連結データを特定する素子データ特定情報について、それぞれ重み付与候補素子データとして、当該重み付与候補素子データの素子データ特定情報を上位素子データフィールドに、重みを表す素子データ特定情報が前記連結属性素子データフィールドに、重みの程度を表す素子データ特定情報が内容素子データ特定フィールドに、それぞれ記憶する。したがって、重みを付加させた素子データを管理することができる。
 7)本発明にかかるデータベース管理装置においては、前記書き込み手段は、前記生成した素子関連データについて、既に前記テーブルに同じ素子関連データが記憶されている場合には、それに関連づけられており、重みを表す素子データ特定情報が前記連結属性素子データフィールドに記憶されている素子関連データについては、その内容素子データ特定フィールドの素子データ特定情報を重みの程度を増加させ、さらに、前記内容素子データ特定フィールドについて、前記第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出するとともに、これに関連する複数素子群データおよび複数素子群データ連結データを抽出して、これにより、連結されている素子データを抽出する抽出手段を備えており、前記抽出手段は、前記検索要求のうち関連づけられている重みが重い素子関連データを抽出する。したがって、書き込み頻度の高い素子関連データを抽出することができる。
 8)本発明にかかるデータベース管理装置におけるデータ抽出方法においては、前記データベース管理装置は、A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有し、a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、C)前記データベース管理装置は、前記内容素子データ特定フィールドについて、第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出するとともに、これに関連する複数素子群データおよび複数素子群データ連結データを抽出して、これにより、連結されている素子データを抽出する。
 したがって、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記内容素子データ特定フィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置における抽出が可能となる。
 9)本発明にかかるデータベース管理装置におけるデータ抽出方法においては、前記第1素子データを含む素子関連データの抽出に加えて、さらに、これに関連する複数素子群データおよび複数素子群データ連結データを抽出して、これにより、連結されている複数素子群データまで連結させた抽出が可能となる。
 10)本発明にかかるデータベース管理装置におけるデータ書き込み方法においては、前記データベース管理装置は、A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有し、a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、C)前記データベース管理装置は、新たな複数素子群データとして、起点素子データ、着点素子データ、経路素子データが与えられると、複数素子群最上位素子データを生成して複数素子群データとして書き込むとともに、素子関連データおよび複数素子群データ連結データを生成して、書き込む。
 したがって、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記内容素子データ特定フィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置によるデータの書き込みが可能となる。
 11)本発明にかかるデータベース管理装置は、A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、B)前記テーブルは、素子関連データを記憶する素子関連データ記憶部、を少なくとも有しており、前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 
 C)前記データベース管理装置は、前記内容素子データ特定フィールドについて、第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出して、連結されている素子データを抽出すること、を特徴とする。 
 したがって、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記内容素子データ特定フィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置によるデータの読み出しが可能となる。
 12)本発明にかかるデータベース管理装置は、A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、B)前記テーブルは、素子関連データを記憶する素子関連データ記憶部を、少なくとも有しており、前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、C)起点素子データ、着点素子データ、経路素子データを特定した複数素子群データが与えられると、前記素子関連データを生成して、書き込む書き込み手段、
 を備えている。
 したがって、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記内容素子データ特定フィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置によるデータの書き込みが可能となる。
 13)本発明にかかるデータベース管理装置は、A)少なくとも下記5つのフィールドa1)~a5)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルが記憶された記憶手段、a1)当該素子データの素子データIDが記憶される素子データIDフィールド、a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、a4)前記連結属性の値を表す属性値を特定する属性値特定IDが記憶される属性値データフィールド、a5)前記属性値データフィールドに記憶される属性値特定IDが表す表記データ、または、参照先の素子データIDが記憶される参照素子データフィールド、B)あるレコードについて、その素子データIDフィールドに記憶されているIDが上位素子データフィールドに記憶されているレコードを、前記あるレコードを上位レコードとしてその下位レコードとして位置づけるとともに、前記上位レコードと前記下位レコードとの関係は、前記下位レコードの連結属性素子データフィールドに記憶された連結属性素子データで示される属性について、前記下位レコードの属性値データフィールドに記憶された属性値を持つ関係であるとして関係づける関係付け手段、C)前記関係付け手段に前記関係付けを繰り返させることにより、前記上位レコードに対して複数の下位レコードを連結させた連結知識データを読み出す読み出し手段、を備えたデータベース管理装置であって、D)前記関係付け手段は、前記下位レコードについて属性値データフィールドが空の場合、前記参照素子データフィールドに記憶されているIDで参照されるレコードを特定し、特定したレコードの参照素子データフィールドに記憶されているデータを、前記属性値データフィールドが空のレコードのラベルとして関係づける。したがって、ラベルデータを用いたデータ管理が可能となる。
 14)本発明にかかるデータベース管理装置においては、前記参照素子データフィールドに記憶されているIDで参照されるレコードは、属性値データフィールドと素子データIDフィールドに同じIDが記憶されており、かつ、前記参照素子データフィールドに文字列が記憶されている。したがって、参照素子データフィールドの文字列をラベルデータとして採用することができる。
 15)本発明にかかるデータベース管理装置は、A)少なくとも下記4つのデータa1)~a4)で定義される個別素子データが複数記憶された記憶手段、a1)当該素子データの素子データID、a2)当該素子データの上位に位置する上位素子データのIDである上位素子データID、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データID、a4)前記連結属性の値を表す属性値を特定する属性値特定ID、B)前記記憶手段に記憶されている各個別素子データについて、ある素子データIDで特定される個別素子データを上位個別素子データとして、その素子データIDと一致する上位素子データIDを有する個別素子データを下位個別素子データとして位置づけるとともに、前記上位個別素子データと前記下位個別素子データとの関係は、前記下位個別素子データの連結属性素子データフィールドに記憶された連結属性素子データで示される属性について、前記下位個別素子データの属性値データフィールドに記憶された属性値を持つ関係であるとして関係づける関係付け手段、C)前記関係付けを繰り返すことにより、前記上位個別素子データに対して複数の下位個別素子データを連結させた連結知識データを読み出す読み出し手段、を備えたデータベース管理装置であって、D)前記個別素子データはさらに、前記属性値特定IDが表す表記データ、または参照先の個別素子データの素子データIDを記憶可能であり、E)前記関係付け手段は、前記下位個別素子データについて属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される個別素子データの素子データIDを有している場合には、その素子データIDで特定される個別素子データを特定し、特定した個別素子データの表記データを前記個別素子データのラベルとして関係づける。前記個別素子データの表記データを前記個別素子データのラベルとして関係づけることができる。
 16)本発明にかかるデータベース管理装置においては、前記複数の連結知識データのうち、少なくとも2以上の連結知識データについて、下記が成立する個別素子データが前記記憶手段に記憶されている。第1の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、少なくとも1の下位個別素子データは、前記属性値データを有しておらず、かつ、参照先の個別素子データの素子データIDによって参照される個別素子データが関連づけられており、第2の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、少なくとも1の下位個別素子データは、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される個別素子データが関連づけられており、前記参照される個別素子データは同じ個別素子データである。
 したがって、複数の個別素子データについて1のラベルが対応する知識データベースを提供することができる。
 17)本発明にかかるデータベース管理装置においては、前記複数の連結知識データのうち、少なくとも2以上の連結知識データについて、下記が成立する個別素子データが前記記憶手段に記憶されている。第1の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、第1および第2の下位個別素子データは、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される参照先の個別素子データが関連づけられており、前記参照個別素子データは、各々異なる個別素子データである。
 したがって、1の個別素子データについて複数のラベルが対応する知識データベースを提供することができる。
 18)本発明にかかるデータベース管理装置においては、前記複数の連結知識データのうち、少なくとも2以上の連結知識データについて、下記が成立する個別素子データが前記記憶手段に記憶されていること、第1の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、第1および第2の下位個別素子データは、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される参照先個別素子データが関連づけられており、前記第1、第2の下位個別素子データが関連づけられている参照先個別素子データは異なり、第2の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、少なくとも2の下位個別素子データは、前記属性値データを有しておらず、かつ、その一方は、前記第1の下位個別素子データが関連づけられた参照先個別素子データと関連づけられている。
 したがって、複数の個別素子データについて複数のラベルが対応する知識データベースを提供することができる。
 19)本発明にかかるデータベース管理装置においては、さらに、前記参照先個別素子データとは異なる別の参照先個別素子データを記憶しており、前記第2の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、前記一方とは異なる下位個別素子データは、前記、別の参照先個別素子データと関連づけられている。よって、さらに、前記別の参照先個別素子データを参照した知識データベースを提供することができる。
 20)本発明にかかるデータベース管理装置においては、前記下位個別素子データには、さらに連結している個別素子データとの連結属性およびその連結属性の値が定義された叙述節データが関連づけられており、この叙述節データは、前記下位個別素子データからみた前記上位個別素子データの述語関係情報である逆述語関係情報で構成されており、前記関係付け手段は、各叙述節データをも併せて抽出する。したがって、前記叙述節データを関連づけた知識データベースを提供することができる。
 21)本発明にかかるデータベース管理装置においては、さらに、読み出し対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよびその属性値が与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、その属性値を属性値データフィールドに書き込む時に、さらに、前記書き込み対象の素子データIDを上位素子データフィールドに、重みを表す素子データIDを前記連結属性素子データフィールドに、重みの程度を表す素子データIDを属性値データフィールドに、書き込んだレコードを生成して記憶する重み付与手段を備えている。したがって、重みを付加させた素子データを管理することができる。
 22)本発明にかかるデータベース管理装置は、前記下位レコードについて属性値データフィールドが空の場合に、特定したレコードについて、前記重み付与手段は、前記特定したレコードの素子データIDを上位素子データフィールドに、重みを表す素子データIDを前記連結属性素子データフィールドに、重みの程度を表す素子データIDを属性値データフィールドに、書き込んだレコードを生成して記憶する。したがって、書き込み頻度の高い素子関連データを抽出することができる。
 23)本発明にかかるデータベース管理装置は、A)少なくとも下記5つのフィールドa1)~a5)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルが記憶された記憶手段、a1)当該素子データの素子データIDが記憶される素子データIDフィールド、a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、a4)前記連結属性の値を表す属性値を特定する属性値特定IDが記憶される属性値データフィールド、a5)前記属性値データフィールドに記憶される属性値特定IDが表す表記データ、または、参照先の素子データIDが記憶される参照素子データフィールド、B)書き込み対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよびその属性値が与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、その属性値を属性値データフィールドに書き込む書き込み手段、を備えたデータベース管理装置であって、C)前記書き込み手段は、書き込み対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよび参照先の素子データIDが与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、参照先の素子データIDを参照素子データフィールドに書き込む。したがって、ラベルデータを用いたデータ管理が可能となる。
 24)本発明にかかるデータベース管理装置は、A)少なくとも下記5つのフィールドa1)~a5)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルが記憶された記憶手段、a1)当該素子データの素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データの特定情報を特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の値を表す属性値を特定する属性値特定情報が記憶される属性値データフィールド、a5)前記属性値データフィールドに記憶される属性値特定特定情報が表す表記データ、または、参照先の素子データ特定情報が記憶される参照素子データフィールド、B)書き込み対象の素子について、上位素子特定情報およびこの上位素子との連結属性における連結属性素子データおよびその属性値が与えられると、前記上位素子特定情報を上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、その属性値を属性値データフィールドに書き込む書き込み手段、を備えたデータベース管理装置であって、 C)前記書き込み手段は、書き込み対象の素子について、上位素子特定情報およびこの上位素子との連結属性における連結属性素子データおよび参照先の素子データ特定情報が与えられると、前記上位素子特定情報を上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、参照先の素子データ特定情報を参照素子データフィールドに書き込む。したがって、前記参照先の素子データ特定情報を用いたデータ管理が可能となる。
 25)本発明にかかるデータベース管理装置においては、前記下位個別素子データからみた前記上位個別素子データの述語関係情報である逆述語関係情報で構成された叙述節データが与えられると、これを複数のレコードに分けて、下記のように関連づけて記憶する。
前記下位個別素子データを基格個別素子データとし、前記上位個別素子データを先格個別素子データとし、および前記逆述語関係を示すデータを路格個別素子データとして、それぞれ関連づけるとともに、これらの個別素子データを束ねる個別素子データを叙述節トップ個別素子データとし、叙述節連結個別素子データで前記下位個別素子データに連結させる。
 これにより、連結されている複数素子群データまで連結させた叙述節データの書き込みが可能となる。
 26)本発明にかかるデータベース管理装置においては、前記連結属性素子データで特定される素子データがラベルに属する素子である場合には、前記書き込み手段に、上位素子ID、この上位素子との連結属性における連結属性素子データおよび参照先の素子データIDを与える。したがって、連結属性素子データおよび参照先の素子データIDを書き込むことができる。
 27)本発明にかかるデータベース管理装置においては、前記書き込み手段は、書き込み対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよび参照先の素子データIDが与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、参照先の素子データIDを参照素子データフィールドに書き込む時に、さらに、前記書き込み対象の素子データIDを上位素子データフィールドに、重みを表す素子データIDを前記連結属性素子データフィールドに、重みの程度を表す素子データIDを前記属性値データフィールドに、書き込んだレコードを生成して記憶する。したがって、書き込み頻度の高い素子関連データを記憶することができる。
 28)本発明にかかるデータベース管理装置においては、前記書き込み手段は、前記生成した素子関連データについて、既に前記テーブルに同じ素子関連データが記憶されている場合には、それに関連づけられており、重みを表す素子データIDが前記連結属性素子データフィールドに記憶されている素子関連データについては、その属性値データフィールドの素子データIDを重みの程度を増加させる。したがって、書き込み頻度の高い素子関連データを記憶することができる。
 本明細書において、「主素子データ」とは、素子関連データのうち、ミーニングツリーモナドに表記した場合に、従素子データの上位に位置する素子データをいい、実施形態では、例えば、図6Aでは、ID161〔51〕(りんご)に対して、ID61〔61〕(本田リサ)が該当し、図6Bでは、ID191〔61〕(本田リサ)に対して、ID51(りんご)が該当する。
 また、「前記主素子データIDを特定した検索要求が与えられる」とは、主素子データを特定する検索条件がデータベース利用者から直接与えられた場合はもちろん、別の検索条件から検索した結果、主素子データにたどり着き、それから検索する場合も含む概念である。
 また、素子データIDフィールド、上位素子データフィールド、連結属性素子データフィールド、属性値データフィールド、参照素子データフィールドは、実施形態では、それぞれ、IDフィールド61、コネクションフィールド63、リレーションフィールド64、ミーニングフィールド62、リファレンスフィールド65が該当する。
 意味素子データとは、実施形態におけるミーニングツリーのトップモナドが該当する。また、個別素子データとは実施形態では各レコードが該当する。連結知識データとは実施形態では、トップモナドおよびこれに連結された下位モナドの集合が該当する。
 なお、前記上位レコードと前記下位レコードとの関係は、複数の下位レコードが並列に関係づけられる場合はもちろん、階層的に複数の下位レコードが関係づけられる場合の双方を含む。
 ラベル素子データとは、実施形態におけるリファレンスツリーのトップモナドが該当する。
 この発明の特徴、他の目的、用途、効果等は、実施形態および図面を参酌することにより明らかになるであろう。
データベース管理装置1の機能ブロック図である。 データベース管理装置1におけるデータテーブルのデータ構造を示す図である。 データベース管理装置1をCPUで実現した場合のハードウェア構成である。 データベース管理装置1のテーブルに記憶されたデータの一例を示す図である。 テーブルに記憶されたデータIDとワードの対応表である。 データベース管理装置1のテーブルに記憶されたデータを読み出した場合に取得できるミーニングツリーを示す。 読み出し処理のフローチャートである。 テーブルに追加されるデータの一例を示す図である。 図6A~Cのミーニングツリーをさらに関連付けたツリーを示す。 テーブルへの書き込み処理のフローチャートである。 図9ステップS41の詳細フローチャートである。 図9ステップS43の詳細フローチャートである。 追加されたデータを読み出した場合に取得できるミーニングツリーを示す。 追加されたデータを読み出した場合に取得できるミーニングツリーを示す。 重み・時モナドの追加(書き込み)のフローチャートである。 重み・時モナドの追加(書き込み)前に取得できるミーニングツリーを示す。 重み・時モナドの追加(書き込み)後に取得できるミーニングツリーを示す。 図16のミーニングツリーに対応するデータである。 重み・時モナドの追加(書き込み)後に取得できる別のミーニングツリーを示す。 重み・時モナドの追加(書き込み)後に取得できる別のミーニングツリーを示す。 重み・時モナドの追加(読み出し時)のミーニングツリーを示す。 重み・時モナドの追加(読み出し時)のフローチャートである。 図21ステップS19の詳細フローチャートである。 リファレンスフィールドにラベルを追加した場合のテーブルの一例である。 リファレンスフィールドにラベルを追加した場合のツリーを示す。 リファレンスツリーを追加する前のミーニングツリーの一例である。 リファレンスツリーを追加した後のミーニングツリーおよびの一例である。 読み出し処理のフローチャートである。 図27のステップS123の詳細フローチャートである。 多対1のリファレンス関係がある場合のテーブルの一例である。 図29のテーブルを読み出した場合のツリー構造である。 1対多のリファレンス関係がある場合のテーブルの一例である。 図31のテーブルを読み出した場合のツリー構造である。 多対多のリファレンス関係がある場合のテーブルの一例である。 図33のテーブルを読み出した場合のツリー構造である。 書き込み前のテーブルの一例である。 テーブルに追記されるレコードの一例である。 叙述節データの入力処理フローチャートである。 叙述節データの入力画面の一例である。 追加ボタンが選択された場合の入力画面の一例である。 テーブルへの書き込み処理のフローチャートである。 図40ステップS41の詳細フローチャートである。 図41の続きのフローチャートである。 図40ステップS44の詳細フローチャートである。 図43ステップS126の詳細フローチャートである。 図36のレコードが書き込まれる前のツリー構造である。 図36のレコードが書き込まれた後のツリー構造である。 第3実施形態における機能ブロックである。
1・・・・ データベース管理装置
  23・・・CPU
  27・・・メモリ
 1.機能ブロック図
 図1に、本発明にかかるデータベース管理装置1の機能ブロック図を示す。データベース管理装置1は、素子関連データ記憶部3、複数素子群データ記憶部4、および複数素子群データ連結データ記憶部5を有するテーブル10および抽出手段6、および書き込み手段7を備えている。
 テーブル10のデータ構造を、図2を用いて説明する。テーブル10は、複数のレコードで構成されており、各レコードは、素子データIDフィールド41、内容素子データ特定フィールド42、上位素子データフィールド43、連結属性素子データフィールド44を有する。
 素子データIDフィールド41には、当該素子データの素子データIDが記憶される。上位素子データフィールド43には、当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される。連結属性素子データフィールド44には、当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される。内容素子データ特定フィールド42には前記連結属性の内容を表す内容素子データを特定する内容素子データIDが記憶される。
 素子関連データ56、複数素子群データ50、および複数素子群データ連結データ58について、各フィールドに記憶されているデータを説明する。
 素子関連データ56は、主素子データと従素子データの関連性を特定するデータであり、従素子データの素子データIDが内容素子データ特定フィールド42に、主素子データの素子データIDが上位素子データフィールド43に、従素子データからみた主素子データの述語関係情報である逆述語関係情報を示す素子データIDが連結属性素子データフィールド44に、それぞれ記憶される。
 複数素子群データ50は、少なくとも、起点素子データ52、着点素子データ54および経路素子データ53と、これらを連結する複数素子群最上位素子データ51とを有している。
 複数素子群最上位素子データ51は、当該素子データのIDが前記素子データIDフィールド41および内容素子データ特定フィールド42にそれぞれ記憶されている。起点素子データ52は、主素子データの素子データIDが内容素子データ特定フィールド42に、最上位素子データの素子データIDが上位素子データフィールド43に、基格を意味する素子データIDが連結属性素子データ特定フィールド44にそれぞれ記憶されている。着点素子データ54は、従素子データの素子データIDが内容素子データ特定フィールド42に、最上位素子データの素子データIDが上位素子データフィールド43に、先格を意味する素子データIDが連結属性素子データ特定フィールド44に、それぞれ記憶されている。経路素子データ53は、主素子データからみた従素子データの述語関係情報を示す素子データIDが内容素子データ特定フィールド42に、最上位素子データの素子データIDが上位素子データフィールド43に、路格を意味する素子データIDが連結属性素子データ特定フィールド44に、それぞれ記憶されている。
 複数素子群データ連結データ58は、複数素子群データ50の複数素子群最上位素子データIDが内容素子データ特定フィールド42に、素子関連データの素子データIDが上位素子データ特定フィールド43に、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性IDが連結属性素子データ特定フィールド44に記憶されている。
 図1に示す抽出手段6は、上位素子データフィールド43について、主素子データIDを特定した検索要求が与えられると、この主素子データを含む素子関連データを、抽出し、当該抽出した素子関連データの素子データIDを含む複数素子群データ連結データ58を抽出し、抽出した複数素子群データ連結データで特定される複数素子群データ50を抽出して、連結されている素子データを抽出する。
 書き込み手段7は、新たな複数素子群データとして、起点素子データ52、着点素子データ54、経路素子データ53が与えられると、下記複数素子群データ生成ステップ、素子関連データ生成ステップおよび複数素子群データ連結データ生成ステップを実行する。
 書き込み手段7は、複数素子群データ生成ステップでは、与えられた起点素子データ52、着点素子データ54、経路素子データ53の複数素子群最上位素子データ51を生成して、与えられた起点素子データ52、着点素子データ53、経路素子データ54とともに、複数素子群データ50としてテーブル10に書き込む。また、素子関連データ生成ステップでは、書き込み手段7は、その起点素子データの内容素子データ特定フィールドの素子データIDを上位素子データフィールドに、その着点素子データの内容素子データ特定フィールドの素子データIDを内容素子データ特定フィールドに、その経路素子データの内容素子データ特定フィールドの素子データIDと逆関係にある素子データIDを連結属性素子データフィールドに、それぞれ書き込んだ素子関連データ56を生成してテーブル10に書き込む。複数素子群データ連結データ生成ステップでは、書き込み手段7は、前記生成した複数素子群最上位素子データの素子データIDを内容素子データ特定フィールド42に、前記生成した素子関連データの素子データIDを上位素子データフィールド43に、前記焦点化属性の連結属性の素子データIDを連結属性素子データ特定フィールド44に、それぞれ書き込んだ複数素子群データ連結データ58を生成してテーブル10に書き込む。
 これにより、簡易なデータ構造で、複数の知識が連結されたデータを得ることができる。
2.ハードウェア構成
 図1に示すデータベース管理装置1のハードウェア構成について、図3を用いて説明する。同図は、データベース管理装置1を、CPUを用いて構成したハードウェア構成の一例である。
 データベース管理装置1は、CPU23、メモリ27、ハードディスク26、モニタ30、光学式ドライブ25、入力デバイス28、通信ボード31、およびバスライン29を備えている。CPU23は、ハードディスク26に記憶された各プログラムにしたがいバスライン29を介して、各部を制御する。
 ハードディスク26は、オペレーティングシステムプログラム26o(以下OSと略す)、メインプログラム26pが記憶される。
 メインプログラム26pの処理は、一般的なデータベース管理処理における処理について、データ書き込み処理、および検索(抽出)処理以外は、従来と同様である。かかる書き込みおよび検索処理については後述する。データ記憶部26k には、図4に示すようなテーブルが記憶される。
 かかるテーブルの構成について説明する。IDフィールド61、ミーニングフィールド62、コネクションフィールド63、リレーションフィールド64はそれぞれ、図2の素子データIDフィールド41、内容素子データ特定フィールド42、上位素子データフィールド43、連結属性素子データフィールド44に該当する。リファレンスフィールド65は、参照先を示すフィールドである。
 かかる5元のデータで構成される各レコードを、本実施形態においては、モナドと命名した。5元すべてにデータが記憶されているわけではなく、空のフィールドも存在する。
 図4において、レコードR4~R72は定義モナドである。定義モナドとは、IDフィールド61およびミーニングフィールド62は同じIDが記憶されており、それ以外のフィールドは空であるモナドをいう。
 ミーニングフィールド62における各IDの対応を図5に示す。例えば、ID26は、「場所」に対応している。したがって、図4におけるレコードR26のモナドは、ミーニングフィールド62に「場所」が記憶されているモナドを意味する。
 レコードR161は、主従モナドである。主従モナドとは、2つの定義モナドに関する上位下位の連結関係がコネクションフィールドに、前記連結関係における連結属性がリレーションフィールドに記憶されている。主従モナドは図2の素子関連データ56に該当する。
 レコードR131~135は、それぞれ叙述節構成モナドであり、図2の複数素子群データ50に該当する。レコードR131が最上位モナドであり、レコードR132が起点モナド、レコードR133が経路モナド、レコードR134が、着点モナドである。起点モナド、経路モナド、着点モナドは、図2の起点素子データ52、経路素子データ53、着点素子データ54にそれぞれ該当する。レコードR135は、レコード132のモナド(起点モナド)が連結する叙述節構成モナドである。
 レコードR162は、叙述節連結モナドであり、図2の複数素子群データ連結データ58に該当する。
 かかるレコードR131~R135、R161~R164をメインプログラムが読み出して、各モナドを連結することにより、図6Aに示すようなツリー構造のデータ(以下、ミーニングツリーと称する)を生成することができる。かかる処理については後述する。
 また同様にして、レコードR131~R135、R191、R192が読み出され、各モナドを連結することにより、図6Bに示すようなミーニングツリーを、レコードR131~R135、R193、R194が読み出され、各モナドを連結することにより、図6Cに示すようなミーニングツリーを、それぞれ、生成することができる。
 図6における表記について説明する。ミーニングツリーにおける一番上のモナドをトップモナドという。図6Aであれば、「61〔61〕(本田リサ)」と表記されている。これは、ID61のレコードについてミーニングフィールドが「61」であることを示している。また、括弧内の(本田リサ)は、ミーニングツリーにおけるモナドの関係を理解しやすくするために、図5の対応表から「61」に対応するワードを表記したものである。
 ID61のモナドの下位には、ID161のモナドが連結されている。ID161のモナドは、「161〔51〕(りんご)」と表記されている。これは、ID161のレコードについてミーニングフィールド62が「51」であることを示している。また、括弧内の「りんご」は、図5の対応表から「51」に対応するワード(りんご)を表記したものである。また、「〔34〕(-食べる)」は、ID61〔61〕(本田リサ)とID61〔51〕(りんご)との関係を示しているのでこのように表記されている。
 本実施形態においては、オペレーティングシステムプログラム(OS)26oとして、LINUX(登録商標または商標)を採用したが、これに限定されるものではない。
 なお、上記各プログラムは、光学式ドライブ25を介して、プログラムが記憶されたCD-ROM25aから読み出されてハードディスク26にインストールされたものである。なお、CD-ROM以外に、フレキシブルディスク(FD)、ICカード等のプログラムをコンピュータ可読の記録媒体から、ハードディスクにインストールさせるようにしてもよい。さらに、通信回線を用いてダウンロードするようにしてもよい。
 本実施形態においては、プログラムをCD-ROMからハードディスク26にインストールさせることにより、CD-ROMに記憶させたプログラムを間接的にコンピュータに実行させるようにしている。しかし、これに限定されることなく、CD-ROMに記憶させたプログラムを光学式ドライブ25から直接的に実行するようにしてもよい。なお、コンピュータによって、実行可能なプログラムとしては、そのままインストールするだけで直接実行可能なものはもちろん、一旦他の形態等に変換が必要なもの(例えば、データ圧縮されているものを、解凍する等)、さらには、他のモジュール部分と組合して実行可能なものも含む。
 3.フローチャート
 3.1 読み出し処理について
 各モナドを読み出して、ミーニングツリーを生成するメインプログラム26pの処理について図7を用いて説明する。この場合、「本田リサ」に対応する「61」で読み出す場合について説明する。
 CPU23は、コネクションフィールド63に検索対象IDが記憶されているレコードを主従モナドとして抽出する(ステップS1)。この場合、「本田リサ」は、ID「61」であるので、「61」をコネクションフィールド63に有するレコードが抽出される。図4の場合、レコードR161、R163が該当する。
 CPU23は主従モナドの上位モナドをトップモナドとして抽出する(ステップS2)。図4の場合、レコードR161およびレコードR163のコネクションフィールド63には「61」が記憶されている。したがって、レコードR61がトップモナドとして抽出される。
 CPU23は、処理番号iを初期化し(ステップS3)、抽出したi番目の主従モナドの叙述節連結モナドを全て抽出する(ステップS4)。本実施形態においては、叙述節連結モナドか否かは、主従モナドのレコードIDが、コネクションフィールド63に記憶されており、かつ、リレーションフィールドに「焦点化」が記憶されているレコードか否かで判断した。この場合、図5を参照すると、「24」は「焦点化」を意味する。
 この場合、抽出した0番目の主従モナドR161のレコードID「161」がコネクションフィールド63に記憶され、リレーションフィールド64が「24」であるレコードであるレコードR162が、叙述節連結モナドとして抽出される。
 CPU23は、処理番号jを初期化する(ステップS5)。
 CPU23は、抽出した叙述節連結モナドのうち、j番目の叙述節連結モナドについての、叙述節構成モナドの最上位モナドを抽出する(ステップS7)。この場合、0番目の叙述節連結モナドであるレコードR162のミーニングフィールドは「131」が記憶されている。したがって、レコードR131を対応する叙述節構成モナドの最上位モナドとして抽出する。
 CPU23は、抽出した最上位モナドのIDが既に抽出済みか否か判断する(ステップS9)。この場合、抽出済みではないので、CPU23は、抽出した最上位モナドのIDがコネクションフィールド63に記憶するレコードを抽出し、連結関係を決定する(ステップS11)。
 具体的には、CPU23は、レコードR131のミーニングフィールド62に記憶されている「131」をコネクションフィールド63に記憶するレコードR132~R134を抽出する。レコードR132~R134は、コネクションフィールド63が「131」であるので、それぞれ、レコードR131の下位に位置することがわかる。また、レコードR132は、リレーションフィールド64が「4」であり、ミーニングフィールド62が「61」である。したがって、図5を参照すると、レコード131の下位に基格Sの関係で、「本田リサ」が接続されていることになる。レコードR133、R134についても、レコードR131の下位に路格Pの関係で、「食べる」が、先格Gの関係で、「りんご」が、それぞれ接続されていることになる。
 CPU23は、抽出した叙述節構成モナドに接続されているモナドがあるか否か判断する(図7ステップS13)。具体的には、叙述節構成モナドとして抽出したレコードR132~R134のいずれかのIDがコネクションフィールド63に記憶されたレコードがあるかを判断する。
 この場合、図4には、「132」がコネクションフィールド63に記憶されたレコードR135が存在する。よって、CPU23は、レコードR135を抽出するとともに、連結関係を決定する(ステップS15)。この場合、連結関係としては、レコードR135は、コネクションフィールド63が「132」であるので、レコードR132の下位に位置することがわかる。また、レコードR135は、リレーションフィールド64が「26」であり、ミーニングフィールド62が「71」である。したがって、図5を参照すると、レコード131の下位に、「場所」の関係で、「カフェテリア」が接続されていることになる。
 CPU23は、すべての叙述節連結モナドについての処理が終了したか否か判断する(ステップS16)。この場合、すべての叙述節連結モナドについての処理が終了しているので、CPU23は、すべての主従モナドについての処理が終了したか否か判断する(ステップS17)。この場合、レコード163についての処理が終了していないので、CPU23は、処理番号iをインクリメントし(ステップS18)、ステップS4へ進む。
 CPU23は、1番目の主従モナドの叙述節連結モナドを全て抽出する(ステップS4)。この場合、抽出した1番目の主従モナドR163のレコードID「163」がコネクションフィールド63に記憶され、リレーションフィールド64が「24」であるレコードであるレコードR164が、叙述節連結モナドとして抽出される。
 CPU23は、処理番号jを初期化し(ステップS5)、抽出した叙述節連結モナドのうち、0番目の叙述節連結モナドについての、叙述節構成モナドの最上位モナドを抽出する(ステップS7)。この場合、0番目の叙述節連結モナドであるレコードR164のミーニングフィールドは「131」が記憶されている。したがって、レコードR131を対応する叙述節構成モナドの最上位モナドとして抽出する(ステップS7)。
 CPU23は、抽出した最上位モナドのIDが既に抽出済みか否か判断する(ステップS9)。この場合、レコードR131は抽出済みであるので、CPU23は、ステップS11、ステップS13,ステップS15の処理を行わずに、すべての叙述節連結モナドについての処理が終了したか否か判断する(ステップS16)。この場合、すべての叙述節連結モナドについての処理が終了しているので、CPU23は、すべての主従モナドについての処理が終了したか否か判断する(ステップS17)。
 この場合、すべて終了しているので、CPU23は、抽出したモナドを連結した知識データベースを生成する(ステップS20)。
 具体的には、ステップS11,ステップS15で決定した連結関係で抽出したレコードを接続すればよい。これにより、図6Aに示すミーニングツリーを得ることができる。
 なお、かかる読み出し処理により連結関係をさらに続けることにより、次々と連想することもできる。
 たとえば、ID161のレコードのミーニングフィールド62はID51でである。ID51をコネクションフィールド63に記憶されているレコードを抽出すると、レコードID191が該当する。抽出したレコードを主従モナドとして、図7ステップS2以下の処理を行えばよい。これにより、図8aに示すような複数のミーニングツリーに関する連結関係のデータを得ることができる。
 3.2 書き込み処理
 メインプログラム26pによる各モナドの書き込み処理について図9を用いて説明する。以下では、「本田リサが、カフェテリアで、みかんを食べる」という文章を分析して、データ「本田リサ」(基格)、「みかん」(先格)、および「食べる」(路格)、「カフェテリア」(場所)が与えられた場合に、図8A、B、Cに示す叙述節構成データ、叙述節連結モナドおよび主従モナドが生成される場合について説明する。
 3.2.1 叙述節構成モナドの書き込み処理
 CPU23は、叙述節構成モナドを生成して、書き込みを行う(図9ステップS41)。ステップS41の詳細を図10に示す。CPU23は起点モナド、経路モナド、および着点モナドを決定する(図10ステップS51)。具体的には、与えられたデータ「本田リサ」、「みかん」、「食べる」「カフェテリア」のうち、「基格」、「先格」、および「路格」が属性として付加されているデータを抽出する。
 CPU23は、「基格」、「先格」、および「路格」以外のモナド候補のデータがあるか否か判断する(ステップS53)。この場合、「本田リサ」(基格)、「みかん」(先格)、および「食べる」(路格)以外にモナド候補のデータが存在するので、SPG連結モナドとして、「カフェテリア」を決定する。CPU23は、ステップS57に進み、最上位モナドを生成し、叙述節構成モナドを書き込む。
 具体的には、CPU23は下記の処理を行う。まず、最上位モナドのIDを決定する。かかるIDは空いているIDを使用する。ここでは、ID「125」とする。CPU23は、IDフィールド61およびミーニングフィールド62に「125」を書き込む。つぎに、CPU23は、起点モナドのIDを決定する。これも空いているIDが使用される。ここでは、ID「126」とする。CPU23は、図5を参照して、「本田リサ」、「基格」は、それぞれ、「61」、「4」に対応することがわかる。したがって、CPU23は、IDフィールド61に「126」を、ミーニングフィールド62に「61」を、コネクションフィールド63に最上位モナドのID「125」を、リレーションフィールド64に「4」を書き込む。
 「みかん」(先格)、および「食べる」(路格)についても同様である。
また、「基格」、「先格」、および「路格」としては抽出されなかったモナドについては、所定のルールに基づいて、起点モナド、経路モナド、または着点モナドのいずれかに連結されるモナドとする。
 本実施形態においては、「場所」については起点モナドおよび着点モナドに、「時」および「道具」については経路モナドに連結するようにした。なお、連結されるモナドについては変更できるようにしてもよい。ここで、「時」とは日時、時刻に関する属性情報である。「道具」とは例えば、「包丁で」というような属性情報である。
 なお、本実施形態においては、「場所」については、冗長さを省くために、起点モナドにのみ、関係づけるようにした。
 したがって、「カフェテリア」は「場所」を示すので、起点モナドに関連づけられる。具体的には、「カフェテリア」に対応する「71」をミーニングフィールド62に、レコード126のミーニングフィールド62に記憶されているID「126」をコネクションフィールド63に、「場所」に対応する「26」をリレーションフィールド64に記憶させたレコードとして、記憶する。かかるレコードのレコードIDについては上記と同じく、任意であるが、ここでは、ID「129」に記憶されたものとする。
 これにより図8Aに示す叙述節構成モナドがレコードR129として、テーブルに書き込まれる。
 3.2.2 ミーニングツリーモナドおよび叙述節連結モナドの書き込み
 つぎに、CPU23はミーニングツリーモナドおよび叙述節連結モナドを生成して、テーブルに書き込む(図9ステップS43)。ステップS43の詳細を、図11を用いて説明する。
 CPU23は、ミーニングツリーモナドの候補を決定する(図11ステップS61)。本実施形態においては、ミーニングツリーモナドの候補として、2種類のモナドを候補とした。一つは、主従モナドである。主従モナドとは、叙述節構成モナドの起点モナドのミーニングフィールド62に記憶されているIDで特定されるモナドと、着点モナドのミーニングフィールド62に記憶されているIDで特定されるモナドとの関連を示すモナドである。かかる主従モナドはさらに、2種類生成される。一つめの主従モナドが、「本田リサ」の上位に「みかん」が連結されており、その関係は「本田リサ」から「みかん」をみると、「食べる」の述語関係にあることを示すモナドである。また、もう一つは、その逆に、「みかん」の上位に「本田リサ」が連結されており、その関係は「みかん」から「本田リサ」をみると、「マイナス(以下「-」と略す)食べる」の逆述語関係にあることを示すモナドである。
 ここで、述語関係情報とは、起点モナドのミーニングフィールド62に記憶されているIDで特定される定義モナドからみた、着点モナドのミーニングフィールド62に記憶されているIDで特定される定義モナドの述語関係を示す情報である。これに対して、逆述語関係情報とは、着点モナドのミーニングフィールド62に記憶されているIDで特定される定義モナドからみた、起点モナドのミーニングフィールド62に記憶されているIDで特定される定義モナドの述語関係を示す情報である。すなわち、「-食べる」とは「食べる」の逆方向の述語関係を表している。
 本実施形態においては、コネクションフィールド63に記憶するモナドは、ミーニングフィールド62に記憶するモナドよりも上位に位置し、リレーション64に記憶するモナドはミーニングフィールド62に記憶するモナドから見た場合の、両者の関係を表している。したがって、述語関係で定義されている場合、上下関係を逆にすると、逆述語関係で定義されることとなり、2種類の主従モナドを生成できる。
 ミーニングツリーモナドの候補として、主従モナド以外のモナドが詳細モナドである。詳細モナドとは、前記叙述節構成モナドを構成する前記起点モナド、前記経路モナド、または前記着点モナドのいずれかに関連づけられるモナドである。例えば、後述する図16におけるID365~ID368がそれぞれ該当する。
 本実施形態においては、属性として「場所」、「時」、「道具」をリレーションフィールドに記憶されるモナドを詳細モナドとした。この場合、「カフェテリア」は属性「場所」を有している。本実施形態においては、既に説明したように、「場所」については起点モナドに関連づけるものとしたので、「カフェテリア」が、起点モナドのミーニングフィールド62で特定されるモナドである「本田リサ」と、「場所」で関連づけられていることを表すモナドも、ミーニングツリーモナドの候補とされる。このよう関連づけられるモナドについても、主従モナドと同様に、「本田リサ」が「カフェテリア」と、「-場所」で関連づけられているという逆方向からのミーニングツリーモナド候補が生成される。したがって、この場合、合計4つの候補が決定される。
 CPU23は、処理番号iを初期化し(図11ステップS63)、0番目のミーニングツリーモナド候補からミーニングツリーモナドを生成する(ステップS65)。この場合、ステップS61で決定したモナド候補「みかん」は「本田リサ」に対して「-食べる」の関係にあることを示すモナドが生成される。具体的には、ミーニングフィールド62に「みかん」が、コネクションフィールド63に「本田リサ」が、リレーションフィールド64に「-食べる」を示すIDがそれぞれ、記憶される。これによりミーニングツリーモナドが生成される。
 CPU23は、生成したミーニングツリーモナドがテーブルに既に存在するか否か判断する(図11ステップS67)。この場合、生成したミーニングツリーモナドは、テーブルには存在しないので、CPU23は、テーブルに書き込む(ステップS69)。書き込むIDは、空いているIDを使用する。ここでは、ID「166」とする。CPU23は、図5を参照して、「本田リサ」、「みかん」「-食べる」は、それぞれ、「61」、「72」「34」に対応することがわかる。したがって、CPU23は、IDフィールド61に「166」を、ミーニングフィールド62に「72」を、コネクションフィールド63に「61」を、リレーションフィールド64に「34」を書き込む。
 CPU23は、叙述節連結モナドを生成して、テーブルに書き込む(ステップS70)。叙述節連結モナドは、叙述節構成モナドの最上位モナドと、ミーニングツリーモナドとを連結するモナドである。この場合、叙述節構成モナドの最上位モナドは、「125」であり、接続するミーニングツリーモナドは、「166」である。また、本実施形態においては、これらの関係を示す属性として「焦点化」という属性を採用した。したがって、CPU23は、空きのあるID61「167」のミーニングフィールド62に「125」を、コネクションフィールド63に「166」を、リレーションフィールド64に「24」を書き込む。
 CPU23はステップS61で決定した候補について、すべて処理が終了したか否か判断する(図11ステップS72)。この場合、すべて終了していないので、処理番号iをインクリメントして(ステップS73)、1番目の候補について、ミーニングツリーモナドを生成する(ステップS65)。
 この場合、ステップS61で決定したモナド候補「本田リサ」は「みかん」に対して「食べる」の関係にあることを示すモナドが生成される。具体的には、ミーニングフィールド62に「本田リサ」が、コネクションフィールド63に「みかん」が、リレーションフィールド64に「食べる」を示すIDがそれぞれ、記憶される。これによりミーニングツリーモナドが生成される。
 CPU23は、生成したミーニングツリーモナドがテーブルに既に存在するか否か判断する(図11ステップS67)。この場合、生成したミーニングツリーモナドはテーブルには存在しないので、CPU23は、テーブルに、生成したミーニングツリーモナドを書き込む(ステップS69)。書き込むIDは、同様に空いているIDを使用する。ここでは、ID「195」とする。CPU23は、図5を参照して、「みかん」「本田リサ」「食べる」は、それぞれ、「72」「61」「31」に対応することがわかる。したがって、CPU23は、IDフィールド61に「195」を、ミーニングフィールド62に「61」を、コネクションフィールド63に「72」を、リレーションフィールド64に「31」を書き込む。
 つぎに、CPU23は、叙述節連結モナドを生成して、ステップS69で書き込みをしたミーニングツリーモナドについて、叙述節連結モナドを生成して書き込む(ステップS70)。
 この場合、叙述節構成モナドの最上位モナドは、「125」であり、前記生成したミーニングツリーモナドは、「195」である。したがって、CPU23は、IDフィールド61に空きのある「196」を、ミーニングフィールド62に「125」を、コネクションフィールド63に「195」を、リレーションフィールド64に「24」を書き込む。
 CPU23はステップS61で決定した候補について、すべて処理が終了したか否か判断する(図11ステップS72)。この場合、すべて終了していないので、処理番号iをインクリメントして(ステップS73)、2番目の候補について、ミーニングツリーモナドを生成する(ステップS65)。
 この場合、ステップS61で決定したモナド候補「カフェテリア」は「本田リサ」に対して「場所」の関係にあることを示すモナドが生成される。
具体的には、ミーニングフィールド62に「カフェテリア」が、コネクションフィールド63に「本田リサ」が、リレーションフィールド64に「場所」を示すIDがそれぞれ、記憶されたミーニングツリーモナドが生成される。
 CPU23は、生成したミーニングツリーモナドがテーブルに既に存在するか否か判断する(図11ステップS67)。この場合、生成したミーニングツリーモナド(ミーニングフィールド62に「71」、コネクションフィールド63に「61」、リレーションフィールド64に「26」)は、テーブルに存在するので(レコードR163)、CPU23は、かかるミーニングツリーモナドをテーブルに書き込むことなく、前記既に存在するミーニングツリーモナド(レコードR163)と、叙述節構成モナドとを連結する叙述節連結モナドを生成し、書き込み処理を行う(ステップS77)。
 この場合、叙述節構成モナドの最上位モナドは、「125」であり、前記既に存在するミーニングツリーモナドは、「163」である。したがって、CPU23は、IDフィールド61に空きのある「197」を、ミーニングフィールド62に「125」を、コネクションフィールド63に「163」を、リレーションフィールド64に「24」を書き込む。
 CPU23は、前記既に存在するミーニングツリーモナド(レコードR163)の省略フラグをオンにする(ステップS78)。かかる省略フラグについては後述する。
 CPU23はステップS61で決定した候補について、すべて処理が終了したか否か判断する(図11ステップS72)。この場合、すべて終了していないので、処理番号iをインクリメントして(ステップS73)、3番目の候補について、ミーニングツリーモナドを生成する(ステップS65)。
 この場合、ステップS61で決定したモナド候補「本田リサ」は「カフェテリア」に対して「-場所」の関係にあることを示すモナドが生成される。
具体的には、ミーニングフィールド62に「本田リサ」が、コネクションフィールド63に「カフェテリア」が、リレーションフィールド64に「-場所」を示すIDがそれぞれ、記憶されたミーニングツリーモナドが生成される。
 CPU23は、生成したミーニングツリーモナドがテーブルに既に存在するか否か判断する(図11ステップS67)。この場合、生成したミーニングツリーモナド(ミーニングフィールド62に「61」、コネクションフィールド63に「71」、リレーションフィールド64に「42」)は、テーブル10に同じデータが記憶されたレコードR193が既に存在する。したがって、CPU23は、生成したミーニングツリーモナドをテーブルに書き込むことなく、前記既に存在するミーニングツリーモナド(レコードR193)と、叙述節構成モナドとを連結する叙述節連結モナドを生成し、書き込み処理を行う(ステップS77)。
 この場合、叙述節構成モナドの最上位モナドは、「125」であり、前記既に存在するミーニングツリーモナドは、「193」である。したがって、CPU23は、IDフィールド61に空きのある「198」を、ミーニングフィールド62に「125」を、コネクションフィールド63に「193」を、リレーションフィールド64に「24」を書き込む。
 CPU23は、前記、既に存在するミーニングツリーモナド(レコードR163)の省略フラグをオンにする(ステップS78)。
 CPU23はステップS61で決定した候補について、すべて処理が終了したか否か判断する(図11ステップS72)。この場合、生成した4つの候補について処理は、終了したので、CPU23は書き込み処理を終了する。
 このように、本実施形態においては、テーブルに既に同じミーニングツリーモナドが記憶されている場合には当該ミーニングツリーモナドを重ねてテーブルに書き込まないようにした。これは、同じ組み合わせのミーニングツリーモナドが複数あるよりも、後述するように重みとして処理した方が、重複データを排除するとともに、検索速度の向上、データ容量の低減を図れるからである。
 生成したテーブルのデータについて、既に説明したような読み出し処理をおこなうことにより、新たなミーニングツリーが得られる。例えば、「本田りさ」で検索することにより、図12に示すようなミーニングツリーを得ることができる。これは、図6Aのミーニングツリーに「みかん」に関する情報が追加されたミーニングツリーである。
 また、「みかん」で検索することにより、図13Aに示すようなミーニングツリーを得ることができる。
 また、「カフェテリア」で検索することにより、図13Bに示すようなミーニングツリーを得ることができる。これは、図6Cのミーニングツリーに「カフェテリア」と「本田リサ」との関連についての叙述節データが追加されたミーニングツリーである。
 なお、この実施形態では、「基格」と「先格」が、「路格」で接続されているとして、主従モナドを決定するとともに、詳細モナドについては、つながっている関係のみ、図6に示すようになミーニングツリーが生成できるレコードをテーブルに記憶するようにしたが、3つのモナドがあれば、それらからそれぞれの関係性を定義するようにしたミーニングツリーモナドが生成されるレコードを生成することも可能である。例えば、「路格」である「食べる」をトップモナドとし、「カフェテリア」を「場所」で接続してもよく、さらに、直接はつながっていない「リンゴ」と、「カフェテリア」を「場所」で接続するミーニングツリーが生成できるレコードを生成してもよい。
 4.第2実施形態
 上記実施形態では、ミーニングツリーモナドを書き込む際、既に存在する場合には既にあるモナドを使用するようにして、重複して書き込まないようにしている。すなわち、同じモナドが書き込まれても、その頻度は分からない。
 これに対して、第2実施形態では、書き込み時および読み出し時に、各モナドに重みモナドおよび時モナドを付与するようにした。このように、各モナドに重みを付与しておき、重みが大きいモナドまたは新しい日付が付与されているモナドを抽出することにより、時代の流れなどを考慮した知識データを得ることができる。
 重み付けモナド・時モナドの書き込み処理は、第1実施形態における図9ステップS43の後に、図14のフローチャートが実行されることにより実行される。かかる処理を説明する前に、重み付けがある場合とない場合でのミーニングツリーとして読み出した場合の違いについて説明する。
 図15は第1実施形態と同じく、重み付けがない場合のミーニングツリーモナドを関連づけて表示したものである。図15に対応する各レコードデータの各フィールドに記憶されているデータを図17A,Bに示す。個々のレコードのデータについては、第1実施形態と同様である。また各レコードのIDが何を意味しているかは、既に説明したように図5に記憶しているがここでは省略する。以下では図15のミーニングツリーを用いて説明する。
 図15のミーニングツリーについて簡単に説明すると、ID304[81](タミフル)が、ID73〔73〕(インフルエンザ)と、〔74〕(治療薬)で関係づけられている。また、ID374[67](高橋四郎)が、ID73〔73〕(インフルエンザ)と、〔77〕(-病気)で関係づけられている。また、叙述節連結モナドであるID305〔361〕が、ID304[81](タミフル)と、〔24〕(焦点化)で関係づけられている。叙述節構成モナドの最上位モナドID361には、「4〔4〕(S)」の関係でID362〔62〕(村上三郎)が、「5〔5〕(P)」の関係で、ID363〔35〕(治療する)が、「6〔6〕(G)」の関係で、ID364〔67〕(高橋四郎)が、関係づけられている。
 また、ID362〔62〕(村上三郎)には、〔26〕(場所)の関係で、ID365〔68〕(京都病院)が関係づけられている。ID363〔35〕(治療する)には、〔74〕(治療薬)の関係で、ID366〔81〕(タミフル)および、〔25〕(時)の関係で、ID367〔91〕(2014/11/5)が関係づけられている。ID364〔67〕(高橋四郎)には、〔75〕(病気)の関係で、ID368〔73〕(インフルエンザ)が関係づけられている。
 ちなみに、かかる叙述節構成モナドが意味しているのは、「村上三郎は、2014/11/5に京都病院で、インフルエンザの高橋四郎を、治療薬としてタミフルを用いて治療した」である。かかる叙述節連結モナドによりID304[81](タミフル)が叙述節構成モナドに関係づけられている。
 図15に示すミーニングツリーモナドに重みモナドおよび時モナドが付与されたミーニングツリーを図16に示す。図16では叙述節構成モナド以外については、重みモナドおよび時モナドが付与されている。ここで時モナドとしては、データ書き込み時である2014/11/6とした。
 この場合であれば、ID374[67](高橋四郎)に重みモナドであるID505[43](重み1)が、[27](重み)で連結され、時モナドであるID404[92](2014/11/6)が、[25](時)で連結される。ID73〔73〕(インフルエンザ)、ID304[81](タミフル)、ID305〔361〕についても同様である。
 重みモナドおよび時モナドの具体的なレコードの構成について図17Cを用いて説明する。重みモナドであるレコードR505は、コネクションフィールド63に「374」、ミーニングフィールド62に「43」、リレーションフィールド64に「27」が記憶されている。時モナドであるレコードR404も同様にレコードR404は、コネクションフィールド63に「374」、ミーニングフィールド62に「92」、リレーションフィールド64に「25」が記憶されている。
 図16に示す重みモナドおよび時モナドを追加する場合の、ミーニングツリーの生成処理について、図14を用いて説明する。
 まず、図9ステップS41,ステップS43の処理により、図15のミーニングツリーの場合、図17A,Bに示すようなデータが生成されている。図17Aは叙述節構成モナドであり、図17Bは主従モナド、詳細モナドおよび叙述節連結モナドである。
 なお、第1実施形態では、ミーニングツリーモナドについては、限定的なもののみ生成する場合について説明したが、この実施形態では、叙述節構成モナドの関係づけについて制約を外した組み合わせを生成し、さらにその関係づけが定義された場合のみ、生成を許可するようにした。すなわち、図15に示す叙述節構成モナドの関係であれば、[62](村上三郎)と[81](タミフル)は直接は関係づけられていない。しかし、[62](村上三郎)と[81](タミフル)が[74](治療薬)で関係づけられたミーニングツリーを構成するレコードなど、各種の組み合わせが可能である。この実施形態では、これらの組み合わせのミーニングツリーモナドが生成されるレコードを全て生成するようにした。さらに組み合わせが許される定義として設定しておき、設定された組み合わせのみミーニングツリーモナドに対応するレコードを生成するようにした。図15は、[81](タミフル)と[73](インフルエンザ)を[74](治療薬)で関係づけることが、定義されていた場合である。
 CPU23は書き込んだモナドのうち主従モナド、詳細モナドおよび叙述節連結モナドおよびトップモナドを全て抽出する(図14ステップS81)。この場合であれば、図17A,Bから、ID304,ID305,ID374、ID73の各モナドが抽出される。
 CPU23は、省略フラグがあるか否か判断する(図14ステップS83)。これは、図11ステップS77にて、既に存在するモナドである場合には、重複したモナドを生成してないので、そのモナドについても重み・時モナドの付加処理をするためである。
 この場合、省略フラグがオンのモナドは存在しないので、ステップS87に進み、CPU23は処理番号pを初期化し(図14ステップS87)、0番目のモナドが、書き込んだモナドか否か判断する(ステップS89)。この場合、0番目のモナドは、ID304のモナドであり、ステップS85にて処理対象に追加したモナドではないので、CPU23は、0番目のモナドのID304をコネクションフィールドに、リレーションフィールドに「27」を、ミーニングフィールドを「43」(重み1)としたレコードを生成する。かかるレコードのIDは空きレコードを用いればよい。ここでは、ID503が採用されたものとする。
 CPU23は、0番目のモナドのID「304」をコネクションフィールド63に、リレーションフィールド64に「25」を、ミーニングフィールド62に日時を表すモナドのIDを書き込んだレコードを生成する(ステップS95)。
 CPU23は、処理対象モナドが全て検討済みか否か判断する(ステップS97)。この場合、全て終了していないので、処理番号pをインクリメントし、ステップS89以下を繰り返す。
 1番目のモナドは、ID305のモナドであり、書き込んだモナドであるので、CPU23は、1番目のモナドのID305をコネクションフィールドに、リレーションフィールドに「27」を、ミーニングフィールドを「43」(重み1)としたレコードを生成する(ステップS91)。ここでは、ID504が採用されたものとする。
 1番目のモナドのID「305」をコネクションフィールド63に、リレーションフィールド64に「25」を、ミーニングフィールド62に日時を表すモナドのIDを書き込んだレコードを生成する(ステップS95)。
 CPU23は、処理対象モナドが全て検討済みか否か判断する(ステップS97)。この場合、全て終了していないので、処理番号pをインクリメントし、ステップS89以下を繰り返す。
 以下同様にして、重みモナドおよび時モナドが付加される。
 図17Cに追加された重みモナドおよび時モナドのレコードを示す。これらを追記することにより、ID73で読み出すと、図16のようなミーニングツリーモナドを読み出すことができる。
 また、図16に対応するレコードが記憶されている状態で、「木村五郎は、2015/6/10に大阪病院で、インフルエンザの鈴木次郎を、治療薬としてタミフルを用いて治療した」に対応する叙述節構成モナドのデータが与えられると、同様にして、図9、図11および図14の処理によって、図18に示すような状態となるようにテーブルにレコードが追加される。
 なお、図16の状態から、「木村五郎は、2015/6/10に大阪病院で、インフルエンザの鈴木次郎を、治療薬としてタミフルを用いて治療した」に対応する叙述節構成モナドのデータが与えられた場合、モナドID304[81](タミフル)については、既に存在するので、書き込み時に、図11ステップS67からステップS77に進む。ステップS77では、既に存在するミーニングツリーモナドの叙述節連結モナドを生成し、レコードとして書き込む。この場合であれば、ID370のモナドが生成される。CPU23は、モナドID304について省略フラグをオンとする(ステップS78)。
 このように書き込みを省略した省略フラグがオンとなっているので、図14にて、ステップS83からステップS85に進み、処理対象として、モナドID304が追加される。また、モナドID304が処理対象モナドとなったときに、ステップS89からステップS93に進み、そのモナドのIDがコネクションフィールド63に記憶され、リレーションフィールド64が「27」のレコードについて、重みをインクリメント(+1)する。例えば、この場合、ID503が「重み2」を表す「44」となる。なお、かかる処理については、重みを+1したときの結果の重み(たとえば重み2)を表すモナドのIDをあらかじめ決めておけばよい。
 これにより、図18に示すように、テーブルに記憶するモナドのうち、叙述節構成モナド以外については重みを付与することができる。例えば、ID73〔73〕(インフルエンザ)およびID304[81](タミフル)については、ID501〔44〕(重み2)、ID503〔44〕(重み2)とそれぞれ重みが増加している。
 また、テーブルに図18に示すようなツリー構造に対応するレコードが記憶されている状態で、ID73〔73〕(インフルエンザ)について、治療薬として、ID330[82](リレンザ)が与えられると、図19に示すように、ID73〔73〕(インフルエンザ)については、502〔45〕(重み3)と重みが増加する。
 本実施形態においては、重みを示すIDについては変更することなく、ミーニングフィールド62のデータを+1の重みのレコードIDに変更することにより、重みを変更するようにしたが、新たなレコードを生成して、以前のIDは削除するようにしてもよい。
 読み出し処理における、重みモナドおよび時モナドの追加処理フローチャートについて説明する。図16の状態で、2015年12月6日に、「インフルエンザ」and「タミフル」の検索条件で読み出されると、図20に示すように、重みモナドの重みが増加するとともに、時モナドが追加される。例えば、ID73〔73〕(インフルエンザ)については、ID501〔43〕(重み1)が、ID501〔44〕(重み2)となっており、ID422〔97〕(2015/12/6)が追加されている。
 かかる処理について図21および図22を用いて説明する。図21は、図7のステップS17とステップS20の間にステップS19が追加されている。
 ステップS19の詳細を図22に示す。
 CPU23は読み出したモナドから、叙述節構成モナド以外のモナドを全て抽出する(ステップS101)。この場合、図20に示すモナドが抽出されているので、ID305、ID304、ID43のモナドが読み出される。
 CPU23は、リレーションフィールド64が「27」のレコードについて重みをインクリメント(+1)する処理を行う(ステップS103)。具体的には、ミーニングフィールド62のデータを、+1の重みのレコードIDに変更すればよい。この場合、ID501、ID505、ID503、ID504が全て「重み2」を意味するID44に変更される。
 CPU23は、リレーションフィールド64が「25」のレコードを全て抽出し、各レコードのコネクションフィールド63で特定されるレコードについて時モナドを追加する(ステップS105)。この場合、ID73、ID374、ID304、ID305についてそれぞれ、読み出した「2015年12月6日」を示す時モナドが追加される。
 このような「重み」および「時」を記憶することにより以下の様なメリットがある。例えば、図17に示すような「インフルエンザ」について、「タミフル」が使用された使用実例が増えるほど、その頻度が高まる。よって、全体的な傾向を知ることができる。また、その詳細として叙述節構成モナドも連結されているので、その詳細を参照にすることにより、例えば、属性として年齢が記憶されていれば、大人にはインフルエンザの治療には「タミフル」がよく使われ、子供は別の薬が使われるなど、少し異なる使用例がある場合に、特性に応じて使い分けられているなども知ることができる。
 また、時期を参照することにより、後発薬品などについて何時頃からどんな症状に対して、ある薬品が使われたのかなども知ることができる。また、抽出時に、「インフルエンザ」「治療薬」で検索した時に、以前は「タミフル」が高い頻度で用いられていたが、最近は新薬「リレンザ」が用いられているというような傾向などもわかるようになる。
 このような治療薬についての使用実績をデータベース化することにより、これを参照することにより、ある分野については知識があまりない医者であっても、適確な判断が可能となる。さらには自動診断も可能となる。たとえば、医療の進歩はあまりにも早く、自動診断に必要な医療データを組み込んだシステムを作ろうとしても、医療の進歩にシステム製作が追い付かない。本システムであれば60%くらいの基本的な情報をいれておけば、多くのユーザの使用例によりこれを成長させ、100%に近い自動診断が可能となる。
 本実施形態においては、検索による読み出しおよび書き込み時のいずれにも、重みモナドおよび時モナドを付与するようにした。また、重みモナドは重みを+1ずつ増やすようにしたが、読み出しと書き込みで加算する重みを変更してもよい。
 本実施形態においては、叙述節構成モナドのうち、直接連結されたモナドだけでなく、間接的に連結されているモナドでも、あらかじめ設定した組み合わせについては、ミーニングツリーモナドに対応するレコードを生成するようにした。しかしこれに限定されず、かかる設定による制約なしに、可能性があるものは全て関係づけたモナドを生成するようにしてもよい。
 第2実施形態においては、重みモナドを追加するようにしている。その際、書き込み時に主従モナドが既にある場合には生成したモナドを書き込むことなく、叙述節連結モナドによってモナド〔24〕(焦点化)にて、主従モナドに叙述節構成モナドの最上位モナドに接続するようにしている。したがって、重みを記憶しなくても、かかる焦点化モナドで接続されている叙述節構成モナドの最上位モナドの数をカウントすることにより、書き込み頻度が分かる。
 また、矛盾するデータが記憶されても、矛盾することなく知識データベースとして使用することができる。例えば、「本田リサはピーマンが嫌いだ」という叙述節構成モナドが与えられると、ピーマンを示すIDがミーニングフィールドに、本田リサを示すIDがコネクションフィールドに、「-嫌い(嫌われている)」を示すIDが、リレーションフィールドに記憶されたモナドが生成され、与えられた叙述節構成モナドと叙述節連結モナドで連結される。
 ここに、叙述節「本田リサはピーマンが好きだ」が与えられると、同様にして、ピーマンを示すIDがミーニングフィールドに、本田リサを示すIDがコネクションフィールドに、「-好きだ(好かれている)」を示すIDが、リレーションフィールドに記憶されたモナドが生成され、与えられた叙述節構成モナドと叙述節連結モナドで連結される。この状態では矛盾する知識が記憶されている状態となる。
 その後、叙述節「本田リサはピーマンが好きだ」が、さらに、与えられると、ピーマンを示すIDがミーニングフィールドに、本田リサを示すIDがコネクションフィールドに、「-好きだ(好かれている)」を示すIDが、リレーションフィールドに記憶されたモナドについて、叙述節連結モナドで連結される叙述節構成モナドが増える。
 この状態で、「本田リサ」*「ピーマン」で検索する場合には、叙述節連結モナドで連結される叙述節構成モナドが多い方を読み出すことにより、矛盾するミーニングツリーが読み出されることを防止できる。
 前記重みモナドを付加している場合には、前記重みモナドが表している重みが重いミーニングツリーを読み出すようにすればよい。
 このように書き込みの頻度の高い方を読み出すことにより、矛盾する概念を取り扱うことができる。また、読み出しについても同様である。
 時モナドについても、同様で時間的に新しいものを読み出すようにすれば矛盾するデータを適切に扱うこともできる。
 本実施形態においては、時モナドとして、年月日を採用したが、時刻まで記憶するようにしてもよい。
 本実施形態においては、重みモナドについて、書き込みおよび読み出し時に重み+1するようにしたが、時モナドを利用して、重み付けをするようにしてもよい。例えば、書き込み時であれば、元々の重み2である場合に、直近の時モナドの時との差分が大きい場合には、係数kを0.3として、2+0.3*1=2.3とするなどである。かかる係数は動的に変更してもよい。また、直近だけでなく、全ての時モナドと書き込み時の差分を総計して、これが大きい場合に、重みが軽くなるようにしてもよい。逆に最近よく使われた場合には、重みを大きくするようにしてもよい。読み出し時についても同様である。
5.他の実施形態
 上記各実施形態においては、主従モナドの下位モナドから、上位モナドに連結した場合の関係をリレーションフィールド64に記憶するようにしている。これは、詳細モナドにおける関係性と一致させるためである。
 第1実施形態においては、書き込み時に「本田リサが、カフェテリアで、みかんを食べる」という文章を分析して、データ「本田リサ」(基格)、「みかん」(先格)、および「食べる」(路格)、「カフェテリア」(場所)が与えられた場合としたが、テンプレートとして、各データの連結状態が特定された状態でデータが与えられてもよい。
 上記実施形態では、1台の装置として適用した場合について説明したが、複数のコンピュータのテーブルデータを集めることにより、より正確な知識データベースを得ることができる。
 このような複数のデータベースを統合するには以下のようにすればよい。1)ミーニングツリーモナドのトップモナドを全て抽出する。2)1つのトップモナドを選出して、このトップモナドを主とする従モナドを全て抽出する。3)従モナドのうち同じものは、叙述節のみ追加する。4)これを全ての従モナドについておこなう。5)これを全トップモナドについて繰り返す。
 また、重みモナドがある場合には、さらに、両者を合体させた値とし、時モナドはそのまま連結を増やせばよい。
 上記実施形態においては、図1に示す機能を実現するために、CPUを用い、ソフトウェアによってこれを実現している。しかし、その一部若しくはすべてを、ロジック回路等のハードウェアによって実現してもよい。
 なお、上記プログラムの一部の処理をオペレーティングシステム(OS)にさせるようにしてもよい。
 本明細書においては、読み出し時に、叙述節構成モナドまでを読み出すようにしたが、叙述節構成モナドを読み出すことは必須ではない。なぜなら、ミーニングツリーにおける連想を次々と行うだけでも知識データベースとしては意義があるからである。たとえば、図12において、さらに各種の情報が連結されると、「本田リサ」→「リンゴ」→「果物」→「ジュース」→「健康」などの連想が可能となる。
 また、書き込みにおいても叙述節連結モナドおよび叙述節構成モナドを書き込むことは必須ではない。例えば、簡易なデータベースであれば、叙述節連結モナドおよび叙述節構成モナドを書き込まないようにしてもよい。
6.第3実施形態
6.1 〈第1実施形態との違い〉
 上記実施形態では、理解を容易にするために、図5に示すような1のラベルに対して1の実体が対応していること、具体的には、図12のミーニングツリーで特定されるID61の実体は、「本田リサ」というラベルに1対1で対応していることを前提として説明をした(図5参照)。
 かかるラベルデータについては、図23に示すように、そのラベルデータを生成するとともに、そのラベルデータをリファレンスフィールド65(図4参照)に記憶させ、そのレコードIDの参照処理をすることにより、これらを読みだすことも可能である。
 図25において、直線矢印は連結関係を示しており、曲線矢印は参照関係を示している。かかる参照関係としては、異なるミーニングツリー間の参照、ミーニングツリーとリファレンスツリー間の参照、およびリファレンスツリー間の参照の3種類がある。これらについては後述する。
 また、図26において、第1実施形態と同様に、ミーニングフィールド62に記憶されているIDを〔 〕で、その対応文字列を( )内に表している。また、リレーションフィールド64のIDは直線矢印近傍に〔 〕で表している。また、リファレンスフィールド65に記憶されている文字列は《 》内に表している。
 以下では、ID61の実体が、連結属性「姓名である」を持ち、その属性値「本田リサ」である場合のデータ構造について説明する。なお、このように、属性値としては、ラベルである場合も、意味である場合も含む。
 図23において、レコードR80,R81、およびR641は、参照定義モナドである。参照定義モナドとは、IDフィールド61およびミーニングフィールド62は同じIDが記憶されており、コネクションフィールド63およびリレーションフィールド64は空であり、リファレンスフィールド65に参照されるデータが記憶されているモナドをいう。本実施形態においては、リファレンスフィールド65に参照されるデータは文字列としたが、これに限定されない。さらに、かかる文字列がURIのように、特定の画像データ、または音声データなどの格納先を示すファイル特定IDであってもよい。
 レコードR640は、参照主従モナドである。参照主従モナドとは、2つの定義モナドに関する上位下位の連結関係がコネクションフィールド63に、前記連結属性の値を表す属性値を特定する属性値特定IDを記憶するミーニングフィールド62が空で、前記連結関係における属性がリレーションフィールド64に、前記連結関係の表記データのIDがリファレンスフィールド65に記憶されているモナドをいう。
 なお、第1実施形態では、定義モナドとは、IDフィールド61およびミーニングフィールド62に同じIDが記憶されており、それ以外のフィールドは空であるモナドと定義した。これに対して、5元すべて利用する場合には、リファレンスフィールド65も空でない場合も定義モナドに含まれる。すなわち、R641で特定される個別素子データは定義モナドである。
 なお、レコードR691~694は叙述節構成モナドであり、レコードR700は、叙述節連結モナドである。これらについては第1実施形態と同様である。
6.2 〈読み出し処理〉
 図23A、Bの各レコードをメインプログラムが読み出して、各モナドを連結することにより、図24に示すようなミーニングツリーおよびリファレンスツリーを生成することができる。
 たとえば、第1実施形態にて説明したように、テーブルに図4に示すレコードが記憶されており、これを読み出すと図25のようなミーニングツリーが構築される。以下では、さらに、これに加えて、図23に示すレコードが記憶されており、これらのレコードを読み出して、図26に示すミーニングツリーおよびリファレンスツリーが構築される場合について説明する。また、ハードウェア構成としては第1実施形態と同様であるので、説明は省略する。
 図26において、破線で囲った領域β1が図25のツリー状態に追加されるツリーである。また、図26において、第1実施形態と同様に、ID51について、51〔51〕(りんご)、ID163について、163〔71〕(カフェテリア)と記載しているが、これは理解を容易にするためであり、実際には、ラベル「本田リサ」と同様に、リファレンスツリーにてそのラベルが参照されている。
 図27にかかる処理のフローチャートを示す。CPU23は、コネクションフィールド63に検索対象IDが記憶されているレコードを主従モナドとして抽出する(図27ステップS101)。この場合、検索対象は、ID「61」であるので、「61」をコネクションフィールド63に有するレコード、すなわち、図4のレコードR161、R163とともに、図23のレコードR640が抽出される。
 CPU23は、処理番号iを初期化し(ステップS103)、i番目の主従モナドについてコネクションフィールドのIDのレコードを既に抽出済みか否か判断する(ステップS105)。レコードR161が0番目の主従モナドだとすると、そのコネクションフィールドのID「61」は未抽出であるので、コネクションフィールドのIDのレコードをトップモナドとして抽出する(ステップS107)。
 CPU23は、レコードR161とR61とを位置連結関係であると決定する(ステップS108)。
 CPU23は、0番目の主従モナドは参照主従モナドか否か判断する(ステップS109)。参照主従モナドか否かはそのレコードのミーニングフィールド62が空か否かで判断すればよい。この場合、レコードR161のミーニングフィールド62は空ではないので、CPU23は、ミーニングフィールドのID「51」のレコードを連結対象として抽出し、意味連結関係であると決定する(ステップS111)。
 CPU23は、0番目の主従モナドの叙述節を構成するレコードを抽出する(ステップS123)。
 ステップS123の処理の詳細を図28に示す。図28は、図7ステップS7~ステップS22とほぼ同じであるが、以下簡単に説明する。
 CPU23は、叙述節処理番号jを初期化する(ステップS130)。
 CPU23は、i番目の主従モナドについて、j番目の叙述節連結モナドを抽出する(ステップS131)。叙述節連結モナドか否かの判断は第1実施形態と同様である。この場合、抽出した0番目の主従モナドR161のレコードID「161」がコネクションフィールド63に記憶され、リレーションフィールド64が「24」であるレコードであるレコードR162が、叙述節連結モナドとして抽出される。
 CPU23はこの叙述節連結モナドについての、叙述節構成モナドの最上位モナドを抽出する(ステップS133)。この場合、0番目の叙述節連結モナドであるレコードR162のミーニングフィールドは「131」が記憶されている。よって、レコードR131が対応する叙述節構成モナドの最上位モナドとして抽出される。
 CPU23は、抽出した最上位モナドのIDが既に抽出済みか否か判断する(ステップS135)。この場合、抽出済みではないので、CPU23は、抽出した最上位モナドのIDがコネクションフィールド63に記憶するレコードを抽出し、連結関係を決定する(ステップS137)。
 CPU23は、抽出した叙述節構成モナドに接続されているモナドがあるか否か判断する(ステップS139)。この場合、図4には、「132」がコネクションフィールド63に記憶されたレコードR135が存在する。よって、CPU23は、レコードR135を抽出するとともに、連結関係を決定する(ステップS141)。
 CPU23は、i番目の主従モナドについて、すべての叙述節連結モナドを抽出したか否か判断し(ステップS145)、残っている場合には、叙述節処理番号jをインクリメントし(ステップS147)、ステップS131以下の処理を繰り返す。この場合、すべての叙述節連結モナドを抽出したので、CPU23は、叙述節を構成するレコード抽出処理が終了するとすべての主従モナドについての処理が終了したか否か判断する(図27ステップS125)。
 なお、本実施形態においては、叙述節構成モナドとしてレコードR135の1段だけである場合について説明したが、後述するように、さらに各レコードに修飾がなされており多段で構成されている場合もある。このような場合には、全ての連結関係が決定される。
 図27ステップS125にて、この場合、レコードR163についての処理が終了していないので、CPU23は、処理番号iをインクリメントし(ステップS127)、ステップS105へ進む。
 CPU23は、1番目の主従モナドのレコードR163について、ステップS105以下の処理を行う。この場合、処理としては、以下の点を除き、レコードR161と同様である。
 図27ステップS105でコネクションフィールドのID「61」は既に抽出済みであるので、ステップS107の処理は実行されない。また、図28ステップS135にて、レコードR131が既に抽出済みであるので、ステップS137~ステップS141なしに、叙述節連結モナドと叙述節構成モナドとの連結関係が決定される(ステップS143)。
 CPU23は、叙述節を構成するレコード抽出処理が終了すると、すべての主従モナドについての処理が終了したか否か判断する(図27ステップS125)。この場合、レコードR640についての処理が終了していないので、CPU23は、処理番号iをインクリメントし(ステップS127)、ステップS105へ進む。
 CPU23は、2番目の主従モナドのレコードR640について、ステップS105以下の処理を行う。
 CPU23は、2番目の主従モナドについてコネクションフィールドのIDのレコードを既に抽出済みか否か判断する(ステップS105)。この場合、レコードR640のコネクションフィールドのID「61」は既に抽出済みであるので、ステップS108に進み、2番目の主従モナドと抽出済みのトップモナドとの位置連結関係が決定される。
 CPU23は、この主従モナドが、参照主従モナドか否か判断する(ステップS109)。この場合、レコードR640は、ミーニングフィールド62が空である。したがって、CPU23は、ステップS115に進み、リファレンスフィールド65のIDのレコードを抽出済みか否か判断する。この場合、リファレンスフィールド65のID「641」のレコードは抽出済みではないので、CPU23は、リファレンスフィールド65のID「641」のレコードをトップモナドとして抽出する(ステップS117)。CPU23は、抽出したトップモナドと前記参照主従モナドとを参照連結関係であると決定する(ステップS119)。
 CPU23は、前記抽出したトップモナドID641をコネクションフィールドに持つレコードを、追加主従モナドとして抽出し、これを追加する(ステップS121)。この場合、レコードR642(図23B参照)が抽出され、追加主従モナドとして追加される。
 CPU23は、レコードR640を主従モナドとする叙述節を構成するレコードを抽出する(ステップS123)。かかるステップは以下のように実行される。CPU23は、叙述節処理番号jを初期化する(図28ステップS130)。
 CPU23は、2番目の主従モナドについて、0番目の叙述節連結モナドを抽出する(図28ステップS131)。この場合、ID640がコネクションフィールド63に記憶され、かつ、リレーションフィールド64が「24」であるレコードであるレコードR700(図23A参照)が、0番目の叙述節連結モナドとして抽出される。
 CPU23は、この叙述節連結モナドについての、叙述節構成モナドの最上位モナドを抽出する(ステップS133)。この場合、レコードR700のミーニングフィールドは「691」が記憶されている。よって、レコードR691が対応する叙述節構成モナドの最上位モナドとして抽出される。
 CPU23は、抽出した最上位モナドのIDが既に抽出済みか否か判断する(ステップS135)。この場合、抽出済みではないので、CPU23は、抽出した最上位モナドのIDがコネクションフィールド63に記憶されているレコードを抽出し、連結関係を決定する(ステップS137)。
 CPU23は、抽出した叙述節構成モナドに接続されているモナドがあるか否か判断する(ステップS139)。この場合、CPU23はコネクションフィールド63に、抽出された叙述節構成モナドのIDが記憶されているレコードは存在しない。よって、叙述節処理は終了する。
 CPU23は、叙述節を構成するレコード抽出処理が終了すると、連結関係を決定する(ステップS141)。
 CPU23は、i番目の主従モナドについて、すべての叙述節連結モナドを抽出したか否か判断し(ステップS145)、残っている場合には、叙述節処理番号jをインクリメントし(ステップS147)、ステップS131以下の処理を繰り返す。この場合、すべての叙述節連結モナドを抽出したので、CPU23は、叙述節を構成するレコード抽出処理が終了するとすべての主従モナドについての処理が終了したか否か判断する(図27ステップS125)。この場合、ステップS115にて追加したレコードR642についての処理が終了していないので、CPU23は、処理番号iをインクリメントし(ステップS123)、ステップS105へ進む。
 CPU23は、レコードR642のコネクションフィールドのID「641」は抽出済みであるので、レコードR641とR642を、位置連結関係であると決定する(ステップS108)。
 CPU23は、3番目の主従モナドは参照主従モナドか否か判断する(ステップS109)。この場合、レコードR642のミーニングフィールド62は空ではないので、CPU23は、ミーニングフィールドのID「61」のレコードを連結対象として抽出し、意味連結関係であると決定する(ステップS111)。
 CPU23はレコードR642を主従モナドとする叙述節を構成するレコードを抽出する(ステップS123)。具体的には、CPU23は、3番目の主従モナドの叙述節連結モナドを抽出する(図28ステップS131)。この場合、ID642がコネクションフィールド63に記憶され、リレーションフィールド64が「24」であるレコードであるレコードR703が、叙述節連結モナドとして抽出される。
 CPU23は、この叙述節連結モナドについての、叙述節構成モナドの最上位モナドを抽出する(ステップS133)。この場合、レコードR703のミーニングフィールドは「691」が記憶されている。よって、レコードR691が、対応する叙述節構成モナドの最上位モナドとして抽出される。
 CPU23は、抽出した最上位モナドのIDが既に抽出済みか否か判断する(ステップS135)。この場合、抽出済みであるので、叙述節連結モナドと叙述節構成モナドとの連結関係が決定される(ステップS143)。
 なお、本実施形態においては、リファレンスツリーについても全て抽出するようにしたが、リファレンスツリーのトップモナドのレコードだけを抽出するようにしてもよい。たとえば、図26において、ID642およびID703については、抽出しないようにしてもよい。これは、ID640から参照されているID641のラベルが分かれば十分な場合もあるからである。この場合、図27ステップS121の処理を除去、さらに、リファレンスツリーである場合には、ステップS123~127の処理をせずに、ステップS129の処理をするようにすればよい。
 なお、最初からリファレンスフィールドのラベルで連想検索することも可能である。たとえば、「HONDA」を入力して連想検索する場合には、リファレンスフィールド65に「HONDA」が記憶されているレコードを特定し、当該レコードのIDがコネクションフィールド64に記憶されているレコードを抽出する。抽出できたレコードから、ミーニングツリーを抽出することにより、リファレンスツリーからミーニングツリーへの連想が可能となる。
 なお、コネクションフィールド64ではなく、リファレンスフィールド65に記憶されているレコードを抽出するようにしてもよい。
 CPU23は、叙述節処理を終了すると、すべての主従モナドについての処理が終了したか否か判断する(図27ステップS125)。この場合、全ての処理が終了したので、CPU23は、抽出したモナドを連結した知識データベースを生成する(ステップS129)。
 具体的には、位置連結関係、意味連結関係および参照連結関係に基づいて、各素子を連結させればよい。本実施形態においては、位置連結関係については直線で、意味連結関係および参照連結関係については、曲線で連結するようにした。これにより、図26に示す連結関係を得ることができる。図26においては、トップモナドについては2重丸にて、リファレンスツリーのトップモナドについて二重丸の中に文字「R」を表記するようにしたがこれに限定されない。
 位置連結関係とは2つの素子が上下関係が定められてつながっており、かつ、その連結属性が定められており、かつ、ミーニングフィールドまたはリファレンスフィールドに値が入っている関係をいう。
 意味連結関係とは、ミーニングフィールドのIDで連結されている関係をいい、参照連結関係とはリファレンスフィールドのIDで連結されている関係をいう。
 この知識データベースは、位置連結関係、意味連結関係および参照連結関係で連結されている。従って、これらの連結関係を順次たどっていくことにより、関連するレコード情報を順次読みだすことができる。
6.3 〈リファレンス関係について〉
 図23ではID61の実体のラベルが「本田リサ」である場合について説明したが、かかるラベルは複数の実体に対して1のラベルがある場合(多対1)、1の実体に対して複数のラベルがある場合(1対多)、複数の実体に対して複数のラベルがある場合(多対多)に、あるミーニングツリーからラベルモナドをたどり、さらにそのラベルモナドから別のミーニングツリーと、つぎつぎに連想させることもできる。
6.3.1 〈多対1のリファレンス関係について〉
 多対1の場合について説明する。テーブルに図29に示すレコードが記憶されており、2つの実体ID61および実体ID1061のラベルが「本田リサ」である場合に、図27に示す読み出し処理により、図30のようなミーニングツリーおよびリファレンスツリーが構築される。
 図30では、1のリファレンスツリーに対して、複数の実体から1の参照連結関係が構築されている。具体的には図30では、ID640とID1062のモナドから、ID641が参照連結されている。
 すなわち、この実施形態では、第1の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、少なくとも1の下位個別素子データ(ID640)は、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される個別素子データ(モナドID641)が関連づけられており、第2の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、少なくとも1の下位個別素子データ(モナドID1062)は、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される個別素子データ(モナドID641)が関連づけられており、この参照先の個別素子データは同じ個別素子データ(IモナドD641)である。
 ミーニングツリーおよびリファレンスツリーがこのような関係にある場合、ID61のモナドをトップとするミーニングツリーから、ID641のモナドが参照され、このモナドから、ID1061のモナドをトップとするミーニングツリーを連想することができる。
6.3.2 〈1対多のリファレンス関係について〉
 1対多の場合について説明する。テーブルに図31に示すレコードが記憶されている場合、1の実体ID61が「本田」および「HONDA」の2つのラベルを有する場合、図32のような2つのリファレンスツリーに対して、1のID61の実体から参照連結関係が構築される。
 具体的には図32では、ID61は2つのモナドID1100とID1110を有しており、モナドID1100とID1110から、ID632およびID631がそれぞれ、参照連結されている。これにより、ID61の実体は、2つのラベルを有することを表すことができる。
 すなわち、この実施形態では、複数の連結知識データ(この場合、モナドID61をトップとするミーニングツリー、モナドID632およびモナドID631をトップとするリファレンスツリー)のうち、少なくとも2以上の連結知識データ(この場合、モナドID632およびモナドID631をトップとするリファレンスツリー)について、下記が成立する個別素子データが前記記憶手段に記憶されている。
 第1の連結知識データ(モナドID61をトップとするミーニングツリー)の上位個別素子データに関連づけられる複数の下位個別素子データのうち、第1の下位個別素子データ(モナドID1100)および第2の下位個別素子データ(モナドID1110)は、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される参照先の個別素子データ(モナドID632、モナドID631)が関連づけられており、前記参照個別素子データは、各々異なる個別素子データ(モナドID632,モナドID631)である。
 ミーニングツリーおよびリファレンスツリーがこのような関係にある場合、たとえば、ID632のモナドから、ID61のモナドをトップとするミーニングツリーを連結し、さらに、その下位のモナドから、ID631のモナドを参照することができる。
6.3.3 〈多対多のリファレンス関係について〉
 多対多の場合について説明する。テーブルに図31および図33に示すレコードが記憶されている場合、実体であるモナドID61、ID656がそれぞれ図34のような2つのリファレンスツリー(「本田」および「HONDA」)に対して、ID61およびID656の実体からそれぞれ参照連結関係が構築される。具体的には、図34では、図32に加えて、ID656は2つのモナドID1131とID1141を有しており、モナドID1131とID1141から、ID632およびID631がそれぞれ、参照連結されている。これにより、ID61およびID656の実体は、同じ2つのラベルをそれぞれ有することを表すことができる。
 なお、図34のツリーα1、α2、およびα3が図33で示すレコードから構築される部分である。ツリーα1、α2がリファレンスツリーであり、ツリーα3がミーニングツリーである。
 なお、図34では叙述節構成データの最上位のモナドのみ表示し、他は省略表示している。また、ID631、632の下位モナド1125,1223,1121,1211からの参照を示す曲線矢印は省略表記している。
 すなわち、この実施形態では、前記複数の連結知識データのうち、少なくとも2以上の連結知識データ(モナドID61をトップとするミーニングツリー、ID656をトップとするミーニングツリー)について、下記が成立する個別素子データが記憶手段に記憶されている。第1の連結知識データ(モナドID61をトップとするミーニングツリー)の上位個別素子データ(モナドID61)に関連づけられる複数の下位個別素子データのうち、第1および第2の下位個別素子データ(モナドID1100、ID1110)は、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される個別素子データ(モナドID632、ID631)が関連づけられており、前記第1、第2の下位個別素子データは、互いに異なる個別素子データ(モナドID632、ID631)を参照している。また、第2の連結知識データ(モナドID656をトップとするミーニングツリー)の上位個別素子データ(モナドID656)に関連づけられる複数の下位個別素子データのうち、少なくとも2の下位個別素子データ(モナドID1131、モナドID1141)は、前記属性値データを有しておらず、かつ、一方は、前記第1の下位個別素子データ(モナドID1100)が関連づけられた個別素子データ(モナドID632)と関連づけられた第3の下位個別素子データ(モナドID1131)であり、他方は、前記第2の下位個別素子データ(モナドID1110)が関連づけられた個別素子データ(モナドID631)と関連づけられた第4の下位個別素子データ(モナドID1141)である。
 なお、この上記各実施形態においても、リファレンスツリーのトップモナドのレコードだけを抽出するようにしてもよい。
 ミーニングツリーおよびリファレンスツリーがこのような関係にある場合、ID61のモナドをトップとするミーニングツリーから、ID631のモナドが参照され、このモナドから、ID656のモナドをトップとするミーニングツリーを連結した知識データを得ることができる。
また、ID632のモナドから、ID61のモナドをトップとするミーニングツリーを連結し、さらに、その下位のID1110のモナドから、ID631のモナドを参照した知識データを得ることができる。
 なお、図34では、ID61のモナドの下位モナドから参照しているID632、ID631のリファレンスモナドについて、ID656のミーニングモナドからも参照している場合を例として説明したが、ID656のミーニングモナドの下位モナドのうち、一方のみ参照する場合であってもよい。また、ID656のミーニングモナドの下位モナドのうち、一方は、ID61のミーニングモナドが参照しているID632、ID631以外のリファレンスモナドを参照する場合であってもよい。
6.4 〈応用について〉
 以上説明した、実体とラベルとの対応、1対多、多対1、または多対多の関係を応用すると、同音異義語の処理が可能となる。たとえば、1の読み「くも」について、実体「雲」も「蜘蛛」も存在する。英語の場合、”bean”と”been”が該当する。
 また、異なる言語間の翻訳処理も可能となる。なぜなら、言語が異なると1の実体について、複数の表記があるからである。たとえば、同じ果物について、日本語では「リンゴ」、英語では「apple」と表記される。なお、言語が同じでも地方によって呼び名が異なるような場合も同様である。
 本実施形態においては、実体のラベルが判明しており、そのIDで読み出す場合について説明したが、実体のラベルのIDが判明していない場合には、まず該当する文字列をリファレンスフィールド65に記憶されているレコードを読み出し、そのIDで上記のようにコネクションフィールド63を検索するようにすればよい。
 たとえば、図29のレコードが記憶されている場合に、文字列「本田リサ」でリファレンスフィールド65を検索すると、ID641が抽出できる。このID641をコネクションフィールド63に記憶するレコードを抽出すると、レコードR642、R1066が抽出される。これらのミーニングフィールド63のIDをたどっていくことにより、ID61およびID1061にたどり着くことができる。
 なお、このID641をリファレンスフィールド65に記憶するレコードを抽出するようにしてもよい。
 なお、参照連結関係でつながっている場合、ミーニングフィールド62は空であるので、ミーニングフィールド62は空であるレコードに限定することにより、より短時間で目的とするトップモナドにたどり着くことができる。
6.5〈書き込み処理〉
 メインプログラム26pによる各モナドの書き込み処理について説明する。以下では、図35に示すテーブルが記憶されている場合に、叙述節「本田は豊田一郎の部下である本田リサの姓の日本語表記である」のデータが与えられた場合について、説明する。この場合、以下の処理により、図36に示すレコードが追加される。
6.5.1 叙述節データの入力処理
 まず、叙述節データ「”本田”は豊田一郎の部下である本田リサの姓の日本語表記である」の入力手法について図37を用いて説明する。
 CPU23は入力用のテンプレート入力画面を表示する(図37ステップS151)。図38にその一例を示す。このような場合、「姓○○は姓保持者XXに対して姓の日本語表記である」という関係を表すテンプレートを記憶しておく。これを読み出して、ユーザに主語である文字列および目的語を入力させればよい。テンプレートについては候補を複数記憶しておき、ユーザに選択させるようにしてもよい。
 ユーザは、姓「本田」を入力ボックス151に、対象「本田リサ」を入力ボックス153に入力する。また、対象「本田リサ」には「豊田一郎の部下である」という修飾語があるので、ユーザはアイコン154を選択する。
 CPU23は終了ボタン159が選択されているか否か判断し(ステップS153)、この場合選択されていないので、ステップS155に進み、追加ボタンが選択された否か判断する。この場合、アイコン154が選択されたので、修飾する入力ボックスの特定を促す(ステップS157)。本実施形態においては、「修飾対象の入力ボックスを選択してください」との画面表示をするようにしたが、これに限定されない。
 この場合、修飾を希望する入力ボックスは入力ボックス153に入力された「本田リサ」であるので、ユーザは入力ボックス153を選択する。
 これにより、CPU23は指定された入力ボックスの修飾関係を示す追加の入力ボックスを表示する(ステップS159)。この場合の一例を図39に示す。
 この場合、「主語(○○)は対象(XX)に対して部下である」という3つの入力ボックスのうち、関係が決まっていないのは入力ボックス163である。ユーザは、入力ボックス163に「豊田一郎」を入力し、終了ボタンを選択する。
 CPU23は終了ボタン159が選択されているか否か判断し(ステップS153)、この場合選択されているので、ラベル検索を行い(ステップS161)、入力ボックスに入力されたラベルが存在するか否か判断する(ステップS163)。具体的には、テーブルのリファレンスフィールド65にかかる文字列が存在するか否か判断すればよい。
 この場合、入力ボックス153に入力された「本田リサ」は既に存在するが、入力ボックス151に入力された「本田」はまだ存在しない。したがって、CPU23は、ラベル「本田」を新規登録する(ステップS165)。これにより、空いているIDのレコードに、同じIDがミーニングフィールド62に記憶され、リファレンスフィールド65に「本田」が記憶されたレコードが生成される。この場合、レコードID「632」に登録されたものとする。
 もし、新規登録するラベルが複数ある場合には、ステップS165を繰り返せばよい。
 CPU23は、ラベルと実体との対応付けを行う(ステップS167)。これは「本田リサ」という1つのラベルが、図30に示すように、ID61、ID1061のように複数の実体が対応づけられている場合があるからである。本実施形態においては、CPU23は複数の実体が存在する場合には、双方のミーニングツリーで表される実体の連結属性を画面上に表示して、ユーザが選択する際の参考とするようにしたが、これに限定されない。
 この場合であれば、ユーザによって、ID61のレコードのモナドが選択されることとなる。また、テンプレートとして採用した「姓の日本語表記である」という動詞における基格Sは、ラベルが入力されると決められているので、ラベル「本田」については、実体との対応付けはなされない。また、「豊田一郎」についても、上記と同様に実体との対応付けがなされる。この場合、ID63のレコードのモナドが選択されたものとする。
 このようにして叙述節データ「”本田”は豊田一郎の部下である本田リサの姓の日本語表記である」についてのデータ入力が完了する。
 なお、本実施形態においては、終了ボタンが選択された場合に、リファレンスフィールド65の文字列を有するレコードが存在するか否かを判断するようにしたが、判断時期はこれに限定されず、たとえば、入力ボックスに入力されると、前記存在判断をするようにしてもよい。また、実体との対応付けについても同様である。
6.5.2〈テーブル書き込み処理〉
 その後の書き込み処理については、リファレンスフィールドへの書き込み処理以外は第1実施形態とほぼ同じである。なお、図40では、さらに内容を理解しやすくするために、第1実施形態とは処理の順番を入れ替えている。
6.5.3 叙述節構成モナド書き込み処理
 CPU23は、叙述節構成モナドを生成して、書き込みを行う(図40ステップS41)。叙述節構成モナドの生成処理について図41を用いて説明する。CPU23は、起点モナド、経路モナドおよび着点モナドを決定する(図41ステップS171)。この実施形態では、ユーザは叙述節データを入力する時に、基格S、路格P、先格Gを決めて入力されている。したがって、第1実施形態のように、形態素解析なしに、起点モナド、経路モナドおよび着点モナドを決定することができる。この場合、与えられたデータ”本田”は基格S、”姓の日本語表記である”は路格P、”本田リサ”は先格Gとなる。
 CPU23は、最上位モナドのIDを生成して、書き込む(ステップS173)。かかるIDは空いているIDを使用する。ここでは、ID「1102」とする。CPU23は、レコード「1102」のミーニングフィールド62に「1102」を書き込む。
 CPU23は、基格Sはラベルが入力されるべきか否か判断する(ステップS175)。ラベルが入力されるべきか否かは、基格Pである動詞(この場合、「姓の日本語表記である」)において、基格Sがラベルが入力されると決められているか否かで判断される。このため、各動詞には、基格Sまたは先格Gについてラベルが入力されるか否かが記憶されている(図示せず)。
 この場合、この動詞は、基格Sにラベルが入ると決められているので、CPU23は、他参照モナドフラグ(リファレンスモナドを参照するモナドであることを示すフラグ)をオンとするとともに、リファレンスフィールド65で特定したモナドを生成し、書き込む(ステップS177)。この場合、CPU23は、空いているID「1103」のミーニングフィールド62に「-(空き)」を、コネクションフィールド63に、上位モナドのID「1102」を、「基格」のID「4」をリレーションフィールド64に、リファレンスフィールド65に「本田」のID「632」を書き込む。なお、「本田」のIDは、リファレンスフィールド65を文字列「本田」で検索すればよい。
 CPU23は、路格Pのレコードを書き込む(ステップS181)。この場合、「姓の日本語表記である」はID「82」、路格PはID「5」、上位モナドはID「1102」である。したがって、つぎの空きID「1104」のミーニングフィールド62に「82」を、コネクションフィールド63に上位モナドID「1102」を「路格P」のID「5」をリレーションフィールド64に、リファレンスフィールド65に「-(空き)」を書き込む。
 CPU23は、先格Gはラベルが入力されるべきか否か判断する(ステップS183)。ラベルが入力されるべきか否かは、既に述べたように、動詞によって決められている。この場合、先格Gはラベルが入らないと定められているので、CPU23は、ミーニングフィールド62で特定したモナドを生成し、書き込む(ステップS187)。この場合、空いているID「1105」のミーニングフィールド62に本田リサの実体を示すID「61」を、コネクションフィールド63に上位モナドのID「1102」を、リレーションフィールド64に先格GのID「6」を、リファレンスフィールド65に「-(空き)」を書き込む。
 CPU23は、図42に進み、拡張モナドがある間、ステップS193~ステップS199を繰り返す(ステップS191~ステップS199)。なお、拡張モナドとは、基格、先格、および路格以外のモナド候補をいう。
 この場合、「本田」(基格)、「本田リサ」(先格)、および「姓の日本語表記である」(路格)以外にモナド候補のデータが存在するので、拡張モナドがあると判断する。具体的には、CPU23は、本田リサを修飾している「豊田一郎」と「部下である」のうち、基格である「豊田一郎」が拡張モナドであると判断する。
 本実施形態においては、「豊田一郎」は基格として取り扱われる。これは、以下のような理由による。このような拡張モナドについては、路格「部下である」について、修飾対象である「本田リサ」が「豊田一郎」の部下である場合と、「豊田一郎」が修飾対象である「本田リサ」の部下である場合と2つあり得る。このシステムでは、前者であるものとして規則化したからである。
 CPU23は拡張モナドについて、ラベルが入力されるべきか否か判断する(ステップS193)。この場合、拡張モナド「豊田一郎」は、対応する路格Pである「部下である」は、ラベルが入力されないと設定されているので、ステップS195に進み、CPU23は、ミーニングフィールド62で特定したモナドを生成し、書き込む。
 ここで、「本田リサ」が「豊田一郎」の部下である場合、「豊田一郎」から見ると、「本田リサ」は「-部下である」という関係にある。したがって、空いているID「1106」のミーニングフィールド62に豊田一郎の実体を示すID「63」を、コネクションフィールド63に上位モナドのID「1102」を、リレーションフィールド64に「-部下である」のID「53」を、リファレンスフィールド65に「-(空き)」を書き込む。
 CPU23は、ステップS199にて拡張モナドがなくなったか否か判断し、この場合、拡張モナドは1つであるので、叙述節構成モナドの書き込み処理を終了する。
 かかる処理により、図36のレコードR1102~1106が書き込まれる。
 本実施形態においては、既に説明したように、路格Pを構成する動詞について、ラベルが入力されるか否かの情報を記憶しておき、これにより、ミーニングに値を持つモナドかリファレンスに値を持つモナドかが区別して書き込まれる。この前提として、動詞は、少なくとも、基格、先格、および路格を有するものと扱っている。ここで、一般の文法では目的語を有していない自動詞およびBe動詞が存在する。この明細書では、これらの動詞について、目的語を取る形式で取り扱う。たとえば、「本田リサが走る」という自動詞の場合、「本田リサが本田リサを走らせる」として扱う。また、「リンゴは赤い」というBe動詞の場合、「赤はリンゴに対し色である」というように、色であるという動詞を用いて取り扱われる。
 また、この場合、動詞は、第1実施形態と同様に、下位個別素子データから見た「路格」として扱われる。
6.5.4 〈ツリーモナドおよび叙述節連結モナドの書き込み処理〉
 つぎに、CPU23はツリーモナドおよび叙述節連結モナドの書き込み処理を行う(図40ステップS44)。ツリーモナドとはミーニングツリーモナドおよびリファレンスツリーモナドの総称である。この実施形態では、リファレンスモナドを参照するモナド(以下、他参照モナドという)の書き込みか否かを判断している点で、以下のように、第1実施形態とは異なる。
 ステップS44の詳細を、図43を用いて説明する。CPU23は、ツリーモナドの候補を決定する(図43ステップS201)。ツリーモナドの候補として、2種類の主従モナドがある。この場合、2種類の主従モナドとして、トップモナドが実体である場合と、ラベルである場合がある。前者は、ミーニングツリーモナドであり、後者はリファレンスツリーモナドである。前者は、さらに2種類に分かれて、ラベルを参照する場合と、ラベルを参照しない場合がある。ラベルを参照しない場合、およびその際、詳細モナドがある場合の処理は第1実施形態と同じであるので説明は省略する。
 以下では、まず、ミーニングツリーモナドであり、かつ、ラベルを参照するツリーモナドの書き込み処理、さらに、リファレンスモナドの書き込み処理について説明する。
 CPU23は、処理番号iを初期化し(図43ステップS203)、0番目のツリーモナド候補について、リファレンスモナドを参照するフラグ(他参照モナドフラグ)がオンか否か判断する(ステップS205)。この場合、図42のステップS197にて、0番目のツリーモナド候補「本田」は、他参照モナドフラグがオンに設定されているので、リファレンスフィールド65にて他のモナドを参照するモナドを生成する(図43ステップS209)。具体的には、ミーニングフィールド62に「-」が、コネクションフィールド63に「61」が、リレーションフィールド64に「姓の日本語表記である」を示すID「82」が、リファレンスフィールド65にラベル「本田」を表す「632」が、それぞれ、記憶される。これによりリファレンスモナドを参照するミーニングツリーモナド(他参照モナド)が生成される。
 CPU23は、生成した他参照モナドがテーブルに既に存在するか否か判断する(ステップS211)。この場合、生成した他参照モナドは、テーブルには存在しないので、CPU23は、テーブルに書き込む(ステップS213)。書き込むIDは、空いているIDを使用する。ここでは、ID「1100」とする。
 CPU23は、叙述節連結モナドを生成して、テーブルに書き込む(ステップS215)。叙述節連結モナドの書き込みについては、第1実施形態と同様である。この場合、ステップS213で決定したのはID「1100」であり、接続する叙述節構成モナドの最上位モナドは、「1102」である。したがって、CPU23は、空きのあるID「1101」のミーニングフィールド62に「1102」を、コネクションフィールド63に「1100」を、リレーションフィールド64に「24」を書き込む。
 CPU23は、逆ツリーモナドを生成する(ステップS216)。逆ツリーモナドとは、第1実施形態でも説明したように、i番目のツリーモナド候補とは逆述語関係となるモナドをいう。たとえば、第1実施形態では、「本田リサ」は「リンゴ」を「食べる」に対して、「リンゴ」は「本田リサ」に「食べられる(-食べる)」の逆関係となるツリーモナドが生成された。これと同様に、この場合、実体である「本田リサ」は、ラベル「本田」について「-姓の日本語表記である」が生成される。この場合、他参照モナドフラグのミーニングツリーの逆述語関係のモナドとして、リファレンスモナドをトップにするリファレンスツリーモナドとなる。
 ステップS216の詳細を図44に示す。
 CPU23は、基格S、路格P、先格Gのうち、路格P「姓の日本語表記である」の逆関係の「-姓の日本語表記である」を特定する(ステップS231)。CPU23は、基格Sと先格Gを入れ替えたモナドを生成する(ステップS233)。この場合であれば、ミーニングフィールド62に「61」が、コネクションフィールド63に「632」が、リレーションフィールド64に「-姓の日本語表記である」を示すID「83」が、リファレンスフィールド65に「-」が、それぞれ、記憶される。
 CPU23は、かかるモナドがすでに存在するか否か判断する(ステップS235)。この場合、存在しないので、テーブルに書き込む(ステップS237)。具体的には、CPU23は、空きのあるID「1121」のミーニングフィールド62に「61」を、コネクションフィールド63に「632」を、リレーションフィールド64に「83」を書き込む。これによりリファレンスツリーモナドが生成される。
 CPU23は、図43ステップS215で生成した叙述節連結モナドを連結する叙述節連結モナドを生成して、書き込みを行う(ステップS239)。かかる処理については、ステップS215と同様であるので、具体的な説明は省略するが、この場合、ステップS213で決定したのはID「1121」であり、接続する叙述節構成モナドの最上位モナドは、「1102」である。したがって、CPU23は、空きのあるID「1122」のミーニングフィールド62に「1102」を、コネクションフィールド63に「1121」を、リレーションフィールド64に「24」を書き込む。
 なお、ステップS235にてすでに存在する場合には、重みフラグをオンにする(ステップS238)。かかる処理は図43ステップS221と同様であるので説明は省略する。
 CPU23は図43ステップS201で決定した候補について、すべて処理が終了したか否か判断する(図43ステップS217)。この場合、すべて終了したので、CPU23は図40に戻り、書き込み処理を終了する。この場合、図36のレコードR1100、R1101、R1121,R1122が書き込まれる。
 図36に示すレコードが追記される前のレコードを図35とすると、これを図27に示す読み出しフローチャートで読み出すと、図45に示すミーニングツリーおよびリファレンスツリーが得られる。ここに、前記書き込み処理によって、図36に示すレコードが追記され、これらをも併せて読み出すと、図46に示すツリー構造が得られる。
 なお、図45,図46において、追加したリファレンスツリー以外のラベルについて理解を容易にするために、第1実施形態と同様にしている。
 また、図43ステップS221については、図11のステップS78と同様にである。
 なお、図35にて、R4~R72,R80~83,R641,R643は予め記憶されているが、他のモナドに連結された場合にのみ、図44には表示される。また、図35のレコードR63は「豊田一郎」のミーニングモナドのトップモナドであるが、図35では、かかるミーニングモナドのレコードは省略している。
 本実施形態においては、図44ステップS216にて逆関係のモナドを生成するようにした。しかし、これに限定されず、第1実施形態のように、逆関係のモナドについても、ツリーモナドとして、繰り返し処理により生成するようにしてもよい。また、逆に、第1実施形態にて、ステップS216のような処理を設けて、処理するようにしてもよい。
6.6 〈その他の実施形態〉
 上記実施形態では、ミーニングツリーとリファレンスツリー間の参照について説明したが、リファレンスツリー間の参照も可能である。たとえば、図32にて、ラベル「HONDA」を表すID631のモナドが存在する場合に、「HONDAはhondaの大文字表記である」という叙述節を追加すると、以下のような参照関係となる。
 「大文字表記である」という路格Pについては、基格Sも先格Gもいずれも、ラベルであると決められている。したがって、図41ステップS177およびステップS185にて、いずれもリファレンスフィールド65で特定した書き込みが行われる。
 まず定義モナドとして、モナドID1201として、ミーニングフィールドに「1201」が、リファレンスフィールド65に「honda」が、モナドID1202として、ミーニングフィールドに「1202」が、ミーニングフィールド62に「大文字表記である」が存在したとする。これを参照する形式で、モナドID1203として、ミーニングフィールド62が空、コネクションフィールド63に「631」、リレーションフィールド64に「1202」、リファレンスフィールド65に「1201」が記載されたモナドが追加される。
 なお、上記実施形態と同様にして、逆関係のモナドを生成するようにしてもよい(図44ステップS216参照)。
 重みおよび時モナドについて、第3実施形態についても同様に適用することができる。これにより、たとえば、翻訳などに用いた場合、第2実施形態にて説明したのと同様に、その頻度、最近の使用傾向などに応じた翻訳結果を得ることができる。かかる重みおよび時モナドについては、ミーニングツリーだけでなく、リファレンスツリーについても同様に適用することができる。
 また本実施形態においては、路格Pを構成するモナドについて、モナドごとに、基格Sおよび/または先格Gがラベルであるとのルールを記憶しておき、それに該当する場合は実体との対応付けがないと判断するようにした。しかしこれに限定されず、たとえば、実体との対応付けがなされたか否かで、ミーニングフィールドのIDで連結するか、リファレンスフィールドのIDで連結するかを変更するようにしてもよい。もちろん、かかる属性について、同様のツリー構造によって記憶すればよい。
7.1〈機能ブロック図〉
 図47に、第3実施形態にかかるデータベース管理装置1の機能ブロック図を示す。データベース管理装置1は、記憶部203、関係付け部205、読出し部207、および書き込み部209を備えている。
 記憶部203は、少なくとも下記5つのフィールドa1)~a5)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルが記憶されている。a1)当該素子データの素子データIDが記憶される素子データIDフィールド、a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、a4)前記連結属性の値を表す属性値を特定する属性値特定IDが記憶される属性値データフィールド、a5)前記属性値データフィールドに記憶される属性値特定IDが表す表記データ、または、参照先の素子データIDが記憶される参照素子データフィールド。
 関係付け部205は、あるレコードについて、そのミーニングフィールドに記憶されているIDが、上位素子データフィールドに記憶されているレコードを、前記あるレコードを上位レコードとしてその下位レコードとして位置づけるとともに、前記下位レコードの連結属性素子データフィールドに記憶された連結属性素子データで示される連結属性が、前記下位レコードの属性値データフィールドに記憶された属性値であるとして前記上位レコードと前記下位レコードとを関係づける。また、関係付け部205は、前記下位レコードについて属性値データフィールドが空の場合、前記参照素子データフィールドに記憶されているIDで参照されるレコードを特定し、特定したレコードの参照素子データフィールドに記憶されているデータを前記ミーニングフィールドが空のレコードのラベルとして関係づける。
 読出し部207は、関係付け部205に前記関係付けを繰り返させることにより、前記上位レコードに対して複数の下位レコードを連結させた連結知識データを読み出す。
 書き込み部209は、書き込み対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよびその属性値が与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、その属性値を属性値データフィールドに書き込む。また、前記書き込み手段は、書き込み対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよび参照先の素子データIDが与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、参照先の素子データIDを参照素子データフィールドに書き込む。
 これにより、簡易なデータ構造で、複数の知識が連結されたデータを得ることができる。
 第1実施形態の発明は下記で特定することも可能である。
 本発明にかかるデータベース管理装置はA)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の値を表す属性値を特定する属性値特定IDが記憶される属性値データフィールド、B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記属性値データフィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記属性値データフィールドにそれぞれ記憶されている、b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記属性値データフィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記属性値データフィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記属性値データフィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記属性値データフィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、
C)前記属性値データフィールドについて、第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出するとともに、これに関連する複数素子群データおよび複数素子群データ連結データを抽出して、これにより、連結されている素子データを抽出する抽出手段を備えている。
 したがって、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールドおよび前記属性値データフィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置を提供することができる。
 本発明にかかるデータベース管理装置はA)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、a4)前記連結属性の値を表す属性値を特定する属性値特定IDが記憶される属性値データフィールド、B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記属性値データフィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記属性値データフィールドにそれぞれ記憶されている、b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記属性値データフィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記属性値データフィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記属性値データフィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記属性値データフィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、C)新たな複数素子群データとして、起点素子データ、着点素子データ、経路素子データが与えられると、複数素子群最上位素子データを生成して複数素子群データとして書き込むとともに、素子関連データおよび複数素子群データ連結データを生成して、書き込む書き込み手段を備えている。
 したがって、前記素子データ特定情報フィールド、前記上位素子データフィールド、前記連結属性素子データフィールド、および前記属性値データフィールドという共通の形式のテーブルにて、各種のデータを連結させたデータベース管理装置を提供することができる。
 上記においては、本発明を好ましい実施形態として説明したが、限定のために用いたのではなく、説明のために用いたものであって、本発明の範囲および精神を逸脱することなく、添付のクレームの範囲において、変更することができるものである。

                                 

Claims (28)

  1.  A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、
      a1)当該素子データの素子データIDが記憶される素子データIDフィールド、
      a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、
      a4)前記連結属性の内容を表す内容素子データを特定する内容素子データIDが記憶される内容素子データ特定フィールド、
     B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、
     b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データIDが前記内容素子データ特定フィールドに、前記主素子データの素子データIDが前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データIDが前記連結属性素子データフィールドに、それぞれ記憶されている、 
     b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、
      b21)前記複数素子群最上位素子データは、当該素子データのIDが前記素子データIDフィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、
      b22)前記起点素子データは、前記主素子データの素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、基格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b23)前記着点素子データは、前記従素子データの素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、先格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、路格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
     b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データIDが前記内容素子データ特定フィールドに、前記素子関連データの素子データIDが前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性IDが連結属性素子データ特定フィールドに記憶されている、
     C)前記上位素子データフィールドについて、主素子データIDを特定した検索要求が与えられると、この主素子データを含む素子関連データを、抽出し、当該抽出した素子関連データの素子データIDを含む複数素子群データ連結データを抽出し、抽出した複数素子群データ連結データで特定される複数素子群データを抽出して、連結されている素子データを抽出する抽出手段、
     を備えたことを特徴とするデータベース管理装置。
  2.  A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、
      a1)当該素子データの素子データIDが記憶される素子データIDフィールド、
      a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、
      a4)前記連結属性の内容を表す内容素子データを特定する内容素子データIDが記憶される内容素子データ特定フィールド、
     B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、
     b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データIDが前記内容素子データ特定フィールドに、前記主素子データの素子データIDが前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データIDが前記連結属性素子データフィールドに、それぞれ記憶されている、 
     b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、
      b21)前記複数素子群最上位素子データは、当該素子データのIDが前記素子データIDフィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、
      b22)前記起点素子データは、前記主素子データの素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、基格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b23)前記着点素子データは、前記従素子データの素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、先格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データIDが前記内容素子データ特定フィールドに、前記最上位素子データの素子データIDが前記上位素子データフィールドに、路格を意味する素子データIDが前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
     b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データIDが前記内容素子データ特定フィールドに、前記素子関連データの素子データIDが前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性IDが連結属性素子データ特定フィールドに記憶されている、
     C)新たな複数素子群データとして、起点素子データ、着点素子データ、経路素子データが与えられると、下記ステップを実行する書き込み手段、
     c1)起点素子データ、着点素子データ、経路素子データの複数素子群最上位素子データを生成して、与えられた起点素子データ、着点素子データ、経路素子データとともに、複数素子群データとして前記テーブルに書き込む複数素子群データ生成ステップ、
     c2)その起点素子データの内容素子データ特定フィールドの素子データIDを上位素子データフィールドに、その着点素子データの内容素子データ特定フィールドの素子データIDを内容素子データ特定フィールドに、その経路素子データの内容素子データ特定フィールドの素子データIDと逆関係にある素子データIDを連結属性素子データフィールドに、それぞれ書き込んだ素子関連データを生成して前記テーブルに書き込む素子関連データ生成ステップ、
     c3)前記生成した複数素子群最上位素子データの素子データIDを内容素子データ特定フィールドに、前記生成した素子関連データの素子データIDを上位素子データフィールドに、前記焦点化属性の連結属性の素子データIDを連結属性素子データ特定フィールドに、それぞれ書き込んだ複数素子群データ連結データを生成して前記テーブルに書き込む複数素子群データ連結データ生成ステップ、
     を備えたことを特徴とするデータベース管理装置。
  3.  A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、
      a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、
      a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、
      a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、
     B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、
     b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 
     b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、
      b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、
      b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
     b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、
     C)前記内容素子データ特定フィールドについて、第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出するとともに、これに関連する複数素子群データおよび複数素子群データ連結データを抽出して、これにより、連結されている素子データを抽出する抽出手段、
     を備えたことを特徴とするデータベース管理装置。
  4.  A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、
      a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、
      a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、
      a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、
     B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、
     b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 
     b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、
      b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、
      b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
     b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、
     C)新たな複数素子群データとして、起点素子データ、着点素子データ、経路素子データが与えられると、複数素子群最上位素子データを生成して複数素子群データとして書き込むとともに、素子関連データおよび複数素子群データ連結データを生成して、書き込む書き込み手段、
     を備えたことを特徴とするデータベース管理装置。
  5.  請求項4のデータベース管理装置において、
     B)前記テーブルには、さらに従素子データについての、素子関連データおよび複数素子群データ連結データが、記憶されていること、
     b1)前記従素子データについての素子関連データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記従素子データの素子データ特定情報が前記上位素子データフィールドに、前記主素子データからみた前記従素子データの述語関係情報である述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 
     b2)前記複数素子群データ連結データは、前記複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記従素子データについての素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、
     を特徴とするデータベース管理装置。
  6.  請求項4のデータベース管理装置において、
     前記書き込み手段は、前記生成する素子関連データおよび複数素子群データ連結データを特定する素子データ特定情報について、それぞれ重み付与候補素子データとして、当該重み付与候補素子データの素子データ特定情報を上位素子データフィールドに、重みを表す素子データ特定情報が前記連結属性素子データフィールドに、重みの程度を表す素子データ特定情報が内容素子データ特定フィールドに、それぞれ記憶すること、
     を特徴とするデータベース管理装置。
  7.  請求項4のデータベース管理装置において、
     前記書き込み手段は、前記生成した素子関連データについて、既に前記テーブルに同じ素子関連データが記憶されている場合には、それに関連づけられており、重みを表す素子データ特定情報が前記連結属性素子データフィールドに記憶されている素子関連データについては、その内容素子データ特定フィールドの素子データ特定情報を重みの程度を増加させ、さらに、
     前記内容素子データ特定フィールドについて、前記第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出するとともに、これに関連する複数素子群データおよび複数素子群データ連結データを抽出して、これにより、連結されている素子データを抽出する抽出手段を備えており、
     前記抽出手段は、前記検索要求のうち関連づけられている重みが重い素子関連データを抽出すること、
     を特徴とするデータベース管理装置。
  8.  データベース管理装置におけるデータ抽出方法であって、前記データベース管理装置は、
     A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有し、
      a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、
      a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、
      a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、
     B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、
     b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 
     b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、
      b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、
      b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
     b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、
     C)前記データベース管理装置は、前記内容素子データ特定フィールドについて、第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出して、連結されている素子データを抽出すること、
     を備えたことを特徴とするデータベース管理装置のデータ抽出方法。
  9.  請求項8のデータベース管理装置のデータ抽出方法において、
     前記第1素子データを含む素子関連データの抽出に加えて、さらに、これに関連する複数素子群データおよび複数素子群データ連結データを抽出して、これにより、連結されている素子データを抽出すること、
     を特徴とするデータベース管理装置のデータ抽出方法。
  10.  データベース管理装置におけるデータ書き込み方法であって、前記データベース管理装置は、
     A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有し、
      a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、
      a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、
      a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、
     B)前記テーブルは、b1)素子関連データを記憶する素子関連データ記憶部、b2)複数素子群データを記憶する複数素子群データ記憶部、およびb3)前記素子関連データと前記複数素子群データの複数素子群最上位素子データとを連結する複数素子群データ連結データを記憶する複数素子群データ連結データ記憶部を、少なくとも有しており、
     b1)前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 
     b2)前記複数素子群データは、少なくとも、起点素子データ、着点素子データおよび経路素子データと、これらを連結する複数素子群最上位素子データとを有しており、
      b21)前記複数素子群最上位素子データは、当該素子データの素子データ特定情報が前記素子データ特定情報フィールドおよび前記内容素子データ特定フィールドにそれぞれ記憶されている、
      b22)前記起点素子データは、前記主素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、基格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b23)前記着点素子データは、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、先格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
      b24)前記経路素子データは、前記主素子データからみた前記従素子データの述語関係情報を示す素子データ特定情報が前記内容素子データ特定フィールドに、前記最上位素子データの素子データ特定情報が前記上位素子データフィールドに、路格を意味する素子データ特定情報が前記連結属性素子データ特定フィールドにそれぞれ記憶されている、
     b3)前記複数素子群データ連結データは、前記複数素子群データの複数素子群最上位素子データ特定情報が前記内容素子データ特定フィールドに、前記素子関連データの素子データ特定情報が前記上位素子データ特定フィールドに、当該複数素子群最上位素子データが当該素子関連データに連結されていることを示す焦点化属性の連結属性特定情報が連結属性素子データ特定フィールドに記憶されている、
     C)前記データベース管理装置は、新たな複数素子群データとして、起点素子データ、着点素子データ、経路素子データが与えられると、複数素子群最上位素子データを生成して複数素子群データとして書き込むとともに、素子関連データおよび複数素子群データ連結データを生成して、書き込むこと、
     を備えたことを特徴とするデータベース管理装置におけるデータ書き込み方法。
  11.  A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、
      a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、
      a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、
      a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、
     B)前記テーブルは、
     素子関連データを記憶する素子関連データ記憶部、を、少なくとも有しており、
     前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 
     C)前記データベース管理装置は、前記内容素子データ特定フィールドについて、第1素子データ特定情報を特定した検索要求が与えられると、前記第1素子データを含む素子関連データを抽出して、連結されている素子データを抽出すること、
     を特徴とするデータベース管理装置。
  12.  A)少なくとも下記4つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルを有するデータベース管理装置であって、
      a1)当該素子データを特定する素子データ特定情報が記憶される素子データ特定情報フィールド、
      a2)当該素子データの上位に位置する上位素子データを特定する上位素子データ特定情報が記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、
      a4)前記連結属性の内容を表す内容素子データを特定する内容素子データ特定情報が記憶される内容素子データ特定フィールド、
     B)前記テーブルは、
     素子関連データを記憶する素子関連データ記憶部を、少なくとも有しており、
     前記素子関連データは、主素子データと従素子データの関連性を特定するデータであり、前記従素子データの素子データ特定情報が前記内容素子データ特定フィールドに、前記主素子データの素子データ特定情報が前記上位素子データフィールドに、前記従素子データからみた前記主素子データの述語関係情報である逆述語関係情報を示す素子データ特定情報が前記連結属性素子データフィールドに、それぞれ記憶されている、 
     C)起点素子データ、着点素子データ、経路素子データを特定した複数素子群データが与えられると、前記素子関連データを生成して、書き込む書き込み手段、
     を備えたことを特徴とするデータベース管理装置。
  13.  A)少なくとも下記5つのフィールドa1)~a5)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルが記憶された記憶手段、
      a1)当該素子データの素子データIDが記憶される素子データIDフィールド、
      a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、
      a4)前記連結属性の値を表す属性値を特定する属性値特定IDが記憶される属性値データフィールド、
      a5)前記属性値データフィールドに記憶される属性値特定IDが表す表記データ、または、参照先の素子データIDが記憶される参照素子データフィールド、
     B)あるレコードについて、その素子データIDフィールドに記憶されているIDが上位素子データフィールドに記憶されているレコードを、前記あるレコードを上位レコードとしてその下位レコードとして位置づけるとともに、前記上位レコードと前記下位レコードとの関係は、前記下位レコードの連結属性素子データフィールドに記憶された連結属性素子データで示される連結属性について、前記下位レコードの属性値データフィールドに記憶された属性値を持つ関係であるとして関係づける関係付け手段、
     C)前記関係付け手段に前記関係付けを繰り返させることにより、前記上位レコードに対して複数の下位レコードを連結させた連結知識データを読み出す読み出し手段、を備えたデータベース管理装置であって、
     D)前記関係付け手段は、前記下位レコードについて属性値データフィールドが空の場合、前記参照素子データフィールドに記憶されているIDで参照されるレコードを特定し、特定したレコードの参照素子データフィールドに記憶されているデータを前記ミーニングフィールドが空のレコードのラベルとして関係づけること、
     を特徴とするデータベース管理装置。
  14.  請求項13のデータベース管理装置において、
     前記参照素子データフィールドに記憶されているIDで参照されるレコードは、属性値データフィールドと素子データIDフィールドに同じIDが記憶されており、かつ、前記参照素子データフィールドに文字列が記憶されていること、
     を特徴とするデータベース管理装置。
  15.  A)少なくとも下記4つのデータa1)~a4)で定義される個別素子データが複数記憶された記憶手段、
      a1)当該素子データの素子データID、
      a2)当該素子データの上位に位置する上位素子データのIDである上位素子データID、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データID、
      a4)前記連結属性の値を表す属性値を特定する属性値特定ID、
     B)前記記憶手段に記憶されている各個別素子データについて、ある素子データIDで特定される個別素子データを上位個別素子データとして、その素子データIDと一致する上位素子データIDを有する個別素子データを下位個別素子データとして位置づけるとともに、前記上位レコードと前記下位レコードとの関係は、前記下位レコードの連結属性素子データフィールドに記憶された連結属性素子データで示される属性について、前記下位レコードの属性値データフィールドに記憶された属性値を持つ関係であるとして関係づける関係付け手段、
     C)前記関係付けを繰り返すことにより、前記上位個別素子データに対して複数の下位個別素子データを連結させた連結知識データを読み出す読み出し手段、を備えたデータベース管理装置であって、
     D)前記個別素子データはさらに、前記属性値特定IDが表す表記データ、または前記参照先の個別素子データの素子データIDによって参照される素子データの素子データIDを記憶可能であり、
     E)前記関係付け手段は、前記下位個別素子データについて属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される個別素子データの素子データIDを有している場合には、その素子データIDで特定される個別素子データを特定し、特定した個別素子データの表記データを前記個別素子データのラベルとして関係づけること、
     を特徴とするデータベース管理装置。
  16.  請求項15のデータベース管理装置において、
     前記複数の連結知識データのうち、少なくとも2以上の連結知識データについて、下記が成立する個別素子データが前記記憶手段に記憶されていること、
     第1の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、少なくとも1の下位個別素子データは、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される個別素子データが関連づけられており、
     第2の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、少なくとも1の下位個別素子データは、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される個別素子データが関連づけられており、前記参照される個別素子データは同じ個別素子データであること、
     を特徴とするデータベース管理装置。
  17.  請求項15のデータベース管理装置において、
     前記複数の連結知識データのうち、少なくとも2以上の連結知識データについて、下記が成立する個別素子データが前記記憶手段に記憶されていること、
     第1の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、第1および第2の下位個別素子データは、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される参照先の個別素子データが関連づけられており、前記参照個別素子データは、各々異なる個別素子データである、
     を特徴とするデータベース管理装置。
  18.  請求項15のデータベース管理装置において、
     前記複数の連結知識データのうち、少なくとも2以上の連結知識データについて、下記が成立する個別素子データが前記記憶手段に記憶されていること、
     第1の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、第1および第2の下位個別素子データは、前記属性値データを有しておらず、かつ、前記参照先の個別素子データの素子データIDによって参照される参照先個別素子データが関連づけられており、前記第1、第2の下位個別素子データが関連づけられている参照先個別素子データは異なり、
     第2の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、少なくとも2の下位個別素子データは、前記属性値データを有しておらず、かつ、その一方は、前記第1の下位個別素子データが関連づけられた参照先個別素子データと関連づけられていること、
     を特徴とするデータベース管理装置。
  19.  請求項18のデータベース管理装置において、
     さらに、前記参照先個別素子データとは異なる別の参照先個別素子データを記憶しており、
     前記第2の連結知識データの上位個別素子データに関連づけられる複数の下位個別素子データのうち、前記一方とは異なる下位個別素子データは、前記、別の参照先個別素子データと関連づけられていること、
     を特徴とするデータベース管理装置。
  20.  請求項13のデータベース管理装置において、前記下位個別素子データには、さらに連結している個別素子データとの連結属性およびその連結属性の値が定義された叙述節データが関連づけられており、この叙述節データは、前記下位個別素子データからみた前記上位個別素子データの述語関係情報である逆述語関係情報で構成されており、前記関係付け手段は、各叙述節データをも併せて抽出すること、
     を特徴とするデータベース管理装置。
  21.  請求項13のデータベース管理装置において、
     さらに、読み出し対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよびその属性値が与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、その属性値を属性値データフィールドに書き込む時に、さらに、前記書き込み対象の素子データIDを上位素子データフィールドに、重みを表す素子データIDを前記連結属性素子データフィールドに、重みの程度を表す素子データIDを前記属性値データフィールドに、書き込んだレコードを生成して記憶する重み付与手段を備えていること、
     を特徴とするデータベース管理装置。
  22.  請求項21のデータベース管理装置において、
     前記下位レコードについて属性値データフィールドが空の場合に、特定したレコードについて、前記重み付与手段は、前記特定したレコードの素子データIDを上位素子データフィールドに、重みを表す素子データIDを前記連結属性素子データフィールドに、重みの程度を表す素子データIDを前記属性値データフィールドに、書き込んだレコードを生成して記憶すること、
     を特徴とするデータベース管理装置。
  23.  A)少なくとも下記5つのフィールドa1)~a5)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルが記憶された記憶手段、
      a1)当該素子データの素子データIDが記憶される素子データIDフィールド、
      a2)当該素子データの上位に位置する上位素子データのIDである上位素子データIDが記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データのIDである連結属性素子データIDが記憶される連結属性素子データフィールド、
      a4)前記連結属性の値を表す属性値を特定する属性値特定IDが記憶される属性値データフィールド、
      a5)前記属性値データフィールドに記憶される属性値特定IDが表す表記データ、または、参照先の素子データIDが記憶される参照素子データフィールド、
     B)書き込み対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよびその属性値が与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、その属性値を属性値データフィールドに書き込む書き込み手段、
     を備えたデータベース管理装置であって、
     C)前記書き込み手段は、
     書き込み対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよび参照先の素子データIDが与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、参照先の素子データIDを参照素子データフィールドに書き込むこと、
     を特徴とするデータベース管理装置。
  24.  A)少なくとも下記5つのフィールドa1)~a4)から構成されたテーブルであって、1レコードで1の素子データが構成されるテーブルが記憶された記憶手段、
      a1)当該素子データの素子データ特定情報が記憶される素子データ特定情報フィールド、
      a2)当該素子データの上位に位置する上位素子データの特定情報を特定する上位素子データ特定情報が記憶される上位素子データフィールド、
      a3)当該素子データと前記上位素子データとの連結属性を表す連結属性素子データを特定する連結属性素子データ特定情報が記憶される連結属性素子データフィールド、
      a4)前記連結属性の値を表す属性値を特定する属性値特定情報が記憶される属性値データフィールド、
      a5)前記属性値データフィールドに記憶される属性値特定特定情報が表す表記データ、または、参照先の素子データ特定情報が記憶される参照素子データフィールド、
     B)書き込み対象の素子について、上位素子特定情報およびこの上位素子との連結属性における連結属性素子データおよびその属性値が与えられると、前記上位素子特定情報を上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、その属性値を属性値データフィールドに書き込む書き込み手段、
     を備えたデータベース管理装置であって、
     C)前記書き込み手段は、
     書き込み対象の素子について、上位素子特定情報およびこの上位素子との連結属性における連結属性素子データおよび参照先の素子データ特定情報が与えられると、前記上位素子特定情報を上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、参照先の素子データ特定情報を参照素子データフィールドに書き込むこと、
     を特徴とするデータベース管理装置。
  25.  請求項23のデータベース管理装置において、前記下位個別素子データからみた前記上位個別素子データの述語関係情報である逆述語関係情報で構成された叙述節データが与えられると、これを複数のレコードに分けて、下記のように関連づけて記憶すること、前記下位個別素子データを基格個別素子データとし、前記上位個別素子データを先格個別素子データとし、および前記逆述語関係を示すデータを路格個別素子データとして、それぞれ関連づけるとともに、これらの個別素子データを束ねる個別素子データを叙述節トップ個別素子データとし、叙述節連結個別素子データで前記下位個別素子データに連結させる、
     を特徴とするデータベース管理装置。
  26.  請求項25のデータベース管理装置において、
     前記連結属性素子データで参照される素子データがラベルに属する素子である場合には、前記書き込み手段に、上位素子ID、この上位素子との連結属性における連結属性素子データおよび参照先の素子データIDを与えること、
     を特徴とするデータベース管理装置。
  27.  請求項23のデータベース管理装置において、
     前記書き込み手段は、書き込み対象の素子について、上位素子IDおよびこの上位素子との連結属性における連結属性素子データおよび参照先の素子データIDが与えられると、前記上位素子IDを上位素子データフィールドに、前記連結属性素子データを連結属性素子データフィールドに、参照先の素子データIDを参照素子データフィールドに書き込む時に、さらに、前記書き込み対象の素子データIDを上位素子データフィールドに、重みを表す素子データIDを前記属性値データフィールドに、重みの程度を表す素子データIDを連結属性素子データフィールドに、書き込んだレコードを生成して記憶すること、
     を特徴とするデータベース管理装置。
  28.  請求項27のデータベース管理装置において、
     前記書き込み手段は、前記生成した素子関連データについて、既に前記テーブルに同じ素子関連データが記憶されている場合には、それに関連づけられており、重みを表す素子データIDが前記連結属性素子データフィールドに記憶されている素子関連データについては、その属性値データフィールドの素子データIDを重みの程度を増加させること、
     を特徴とするデータベース管理装置。
PCT/JP2016/070089 2015-08-26 2016-07-07 データベース管理装置およびその方法 WO2017033588A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP16838935.1A EP3343396A4 (en) 2015-08-26 2016-07-07 Database management device and method therefor
JP2016568076A JP6092493B1 (ja) 2015-08-26 2016-07-07 データベース管理装置およびその方法
CN201680049061.4A CN107924417B (zh) 2015-08-26 2016-07-07 数据库管理装置及其方法
US15/817,529 US20180089274A1 (en) 2015-08-26 2017-11-20 Database management system and method for the same

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2015166698 2015-08-26
JP2015-166698 2015-08-26
JP2016-087849 2016-04-26
JP2016087849 2016-04-26

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/817,529 Continuation-In-Part US20180089274A1 (en) 2015-08-26 2017-11-20 Database management system and method for the same

Publications (1)

Publication Number Publication Date
WO2017033588A1 true WO2017033588A1 (ja) 2017-03-02

Family

ID=58099803

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/070089 WO2017033588A1 (ja) 2015-08-26 2016-07-07 データベース管理装置およびその方法

Country Status (5)

Country Link
US (1) US20180089274A1 (ja)
EP (1) EP3343396A4 (ja)
JP (2) JP6092493B1 (ja)
CN (1) CN107924417B (ja)
WO (1) WO2017033588A1 (ja)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897811A (zh) * 2018-06-19 2018-11-27 广州地铁集团有限公司 一种地铁设备维修数据的标准化方法及装置
CN109918472A (zh) * 2019-02-27 2019-06-21 北京百度网讯科技有限公司 存储和查询数据的方法、装置、设备和介质
KR20210063862A (ko) 2019-11-25 2021-06-02 에스케이하이닉스 주식회사 키-값 기반의 데이터 저장 장치 및 이를 포함하는 시스템
CN113094415B (zh) * 2019-12-23 2024-03-29 北京懿医云科技有限公司 数据抽取方法、装置、计算机可读介质及电子设备

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61220027A (ja) * 1985-03-27 1986-09-30 Hitachi Ltd 文書ファイリングシステム及び情報記憶検索システム

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7461077B1 (en) * 2001-07-31 2008-12-02 Nicholas Greenwood Representation of data records
US7284010B2 (en) * 2003-10-23 2007-10-16 Microsoft Corporation System and method for storing and retrieving a field of a user defined type outside of a database store in which the type is defined
US9104779B2 (en) * 2005-03-30 2015-08-11 Primal Fusion Inc. Systems and methods for analyzing and synthesizing complex knowledge representations
JP4998237B2 (ja) * 2007-12-06 2012-08-15 富士通株式会社 論理構造モデル作成支援プログラム、論理構造モデル作成支援装置および論理構造モデル作成支援方法
CN100492370C (zh) * 2007-12-14 2009-05-27 清华大学 面向集成化企业模型的文档管理方法
US9805020B2 (en) * 2009-04-23 2017-10-31 Deep Sky Concepts, Inc. In-context access of stored declarative knowledge using natural language expression
US20110191320A1 (en) * 2010-02-02 2011-08-04 Game Plan Technologies, Inc. Digital asset management system
WO2014114761A1 (en) * 2013-01-25 2014-07-31 Face Recording And Measurements Ltd. Data management system
CN103455606B (zh) * 2013-09-03 2016-07-06 何云坤 一种大数据库创建及数据管理方法

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61220027A (ja) * 1985-03-27 1986-09-30 Hitachi Ltd 文書ファイリングシステム及び情報記憶検索システム

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KOICHI UTSUMIYA ET AL.: "Prototyping a hypermedia document model with knowledge representation", IPSJ SIG NOTES, vol. 90, no. 45(90-DSP-45), 25 May 1990 (1990-05-25), pages 109 - 117, XP009508816 *
See also references of EP3343396A4 *

Also Published As

Publication number Publication date
JP6092493B1 (ja) 2017-03-08
US20180089274A1 (en) 2018-03-29
JPWO2017033588A1 (ja) 2017-08-24
JP2017199348A (ja) 2017-11-02
EP3343396A4 (en) 2019-01-02
EP3343396A1 (en) 2018-07-04
CN107924417A (zh) 2018-04-17
CN107924417B (zh) 2022-04-15

Similar Documents

Publication Publication Date Title
WO2020147758A1 (zh) 药品的推荐方法、装置、介质和电子设备
KR102033395B1 (ko) 심층 자연어 질문 분석 기반 구조화된 지식베이스 질의응답 시스템 및 그 방법
US12007939B1 (en) Method and apparatus for determining search result demographics
CN110990579A (zh) 跨语言的医学知识图谱构建方法、装置与电子设备
US10503830B2 (en) Natural language processing with adaptable rules based on user inputs
US9613125B2 (en) Data store organizing data using semantic classification
US9239872B2 (en) Data store organizing data using semantic classification
US20120290561A1 (en) Information processing apparatus, information processing method, program, and information processing system
JP6092493B1 (ja) データベース管理装置およびその方法
US20150006528A1 (en) Hierarchical data structure of documents
Gerstmair et al. Intelligent image retrieval based on radiology reports
US9081847B2 (en) Data store organizing data using semantic classification
TWI735380B (zh) 自然語言處理方法與其計算裝置
Rodrigues et al. Advanced applications of natural language processing for performing information extraction
KR20200053334A (ko) 융합 연구 촉진을 위한 연구원 맵 구축 방법 및 시스템
Panja Information Retrieval Systems in Healthcare: Understanding Medical Data Through Text Analysis
Balsmeier et al. Automated disambiguation of us patent grants and applications
Szekely et al. Publishing the data of the Smithsonian American Art Museum to the linked data cloud
JP6409071B2 (ja) 文の並び替え方法および計算機
KR102126911B1 (ko) KeyplayerRank를 이용한 소셜 미디어상의 주제별 키플레이어 탐지 방법
WO2015177861A1 (ja) 教師データ作成装置及び方法
Revanth et al. Nl2sql: Natural language to sql query translator
KR20120070713A (ko) 자연어 및 수식 색인화 방법과 그를 위한 장치 및 컴퓨터로 읽을 수 있는 기록매체
JP2008234003A (ja) 医薬品情報管理プログラム、医薬品情報管理装置、医薬品情報管理方法
Uma et al. A survey paper on text mining techniques

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016568076

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16838935

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016838935

Country of ref document: EP