# US 2025/0384033 A1 · Metadata query mechanism

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0384033 A1
- Document ID: US20250384033A1
- Status: Published application
- Kind: A1
- Application number: 18/746,466
- Filed: 2024-06-18
- Published: 2025-12-18
- Earliest claimed: 2024-06-18
- Assignees: Box, Inc.
- Applicants: Box, Inc.
- Inventors: Chandra Cherukuri; Miles Spielberg; Arunabh Shrivastava; Amogh Rao
- Web page: https://patentgrep.com/patent/US20250384033A1

## CPC

- G06F 16/2452: Query translation
- G06F 16/213: {with details for schema evolution support}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed is an improved approach to implement metadata queries, e.g., for content stored in a cloud-based content management system. Instead of being required to create and maintain a separate schema for each document type stored within the system, a single meta schema can be employed to facilitate processing for the metadata query. The meta schema is used to generate a query schema for processing of a query against metadata.

## Claims

### Claim 1

A method, comprising:
generating a plurality of templates for content managed by a content management system, wherein each template of the plurality of templates comprises fields for entry of designated information within a document;
correlating the plurality of templates to a common meta schema instead of maintaining a separate schema for each separate template;
receiving a query for processing against the document; and
performing query processing by generating a query schema from the meta schema, wherein the query schema corresponds to a template for the document.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
creating the document;
populating metadata for the document;
creating a metadata instance for the document; and
creating an index object in a query store for the document.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
fetching the template that corresponds to the document;
transforming the query using the meta schema; and
executing a transformed query against a query store.

### Claim 4 (depends on 3)

The method of claim 3, wherein the query is transformed from a query language format into a format corresponding to a field of the template for the document.

### Claim 5 (depends on 4)

The method of claim 4, wherein an identification is made of the fields in the meta schema that correlate to the query, and populating the transformed query with identified fields from the meta schema.

### Claim 6 (depends on 1)

The method of claim 1, wherein the query processing produces a set of document identifiers, and a hydrated result set if produced by retrieving documents corresponding to the document identifiers.

### Claim 7

A computer program product embodied on a non-transitory computer readable medium, the computer readable medium having stored thereon a sequence of instructions which, when executed by a processor, executes a method comprising:
generating a plurality of templates for content managed by a content management system, wherein each template of the plurality of templates comprises fields for entry of designated information within a document;
correlating the plurality of templates to a common meta schema instead of maintaining a separate schema for each separate template;
receiving a query for processing against the document; and
performing query processing by generating a query schema from the meta schema, wherein the query schema corresponds to a template for the document.

### Claim 8 (depends on 7)

The computer program product of claim 7, further comprising:
creating the document;
populating metadata for the document;
creating a metadata instance for the document; and
creating an index object in a query store for the document.

### Claim 9 (depends on 7)

The computer program product of claim 7, further comprising:
fetching the template that corresponds to the document;
transforming the query using the meta schema; and
executing a transformed query against a query store.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the query is transformed from a query language format into a format corresponding to a field of the template for the document.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein an identification is made of the fields in the meta schema that correlate to the query, and populating the transformed query with identified fields from the meta schema.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein the query processing produces a set of document identifiers, and a hydrated result set if produced by retrieving documents corresponding to the document identifiers.

### Claim 13

A system, comprising:
a processor;
a memory for holding programmable code; and
wherein the programmable code includes instructions executable by the processor for: generating a plurality of templates for content managed by a content management system, wherein each template of the plurality of templates comprises fields for entry of designated information within a document; correlating the plurality of templates to a common meta schema instead of maintaining a separate schema for each separate template; receiving a query for processing against the document; and performing query processing by generating a query schema from the meta schema, wherein the query schema corresponds to a template for the document.

### Claim 14 (depends on 13)

The system of claim 13, further comprising:
creating the document;
populating metadata for the document;
creating a metadata instance for the document; and
creating an index object in a query store for the document.

### Claim 15 (depends on 13)

The system of claim 13, further comprising:
fetching the template that corresponds to the document;
transforming the query using the meta schema; and
executing a transformed query against a query store.

### Claim 16 (depends on 15)

The system of claim 15, wherein the query is transformed from a query language format into a format corresponding to a field of the template for the document.

### Claim 17 (depends on 16)

The system of claim 16, wherein an identification is made of the fields in the meta schema that correlate to the query, and populating the transformed query with identified fields from the meta schema.

### Claim 18 (depends on 13)

The system of claim 13, wherein the query processing produces a set of document identifiers, and a hydrated result set if produced by retrieving documents corresponding to the document identifiers.
