# US 2026/0288866 A1 · Media item graph database

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

- Number: US 2026/0288866 A1
- Document ID: US20260288866A1
- Status: Published application
- Kind: A1
- Application number: 19/085,335
- Filed: 2025-03-20
- Published: 2026-09-24
- Earliest claimed: 2025-03-20
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Oron NIR; Michael Tony ALBURQUERQUE; Avner LEVI; Shay AMRAM; Guy Haim BERTENTAL; Eliyahu STRUGO; Nadim AZAIZA; Donald Joseph HEJNA, Jr.
- Web page: https://patentgrep.com/patent/US20260288866A1

## CPC

- G06F 16/2425: {Iterative querying; Query formulation based on the results of a preceding query}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 16/211: {Schema design and management}
- G06F 16/2428: {Query predicate definition using graphical user interfaces, including menus and forms (G06F16/2423 takes precedence)}
- G06F 16/435: Filtering based on additional data, e.g. user or group profiles
- G06F 16/438: Presentation of query results
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06N 5/00: Computing arrangements using knowledge-based models
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

In various examples there is a computer-implemented method, comprising ingesting into a memory a batch of media items. Duplicate media items in the batch are identified. For each duplicate media item, the duplicate media item is ranked with respect to duplicates of the media item. Filtering the duplicate media items is performed using the ranks of the duplicate media items to obtain filtered media items. Metadata of individual ones of the filtered media items is computed. Individual ones of the filtered media items are labelled with part of the metadata. For each filtered media item having metadata and a label, input into a Large Language Model, LLM, the media item, the label, the metadata and a request, and receive from the LLM a description of content depicted in the media item. A graph database of the filtered media items is created using the descriptions, the metadata, and the labels.

## Claims

### Claim 1

A computer-implemented method, comprising:
ingesting into a memory a batch of media items;
identifying, for a media item of the batch of media items, duplicate media items in the batch;
for each duplicate media item, ranking the duplicate media item with respect to duplicates of the media item;
filtering the duplicate media items based on the ranks of the duplicate media items to obtain filtered media items;
computing metadata of individual ones of the filtered media items;
labelling individual ones of the filtered media items with part of the metadata;
for each filtered media item having metadata and a label:
inputting, into a Large Language Model (LLM), the media item, the label, the metadata and a request; and
receiving from the LLM a description of content depicted in the media item; and
creating a graph database of the filtered media items using the descriptions, the metadata, and the labels, wherein creating the graph database comprises:
for each filtered media item of the filtered media items:
creating a first node representing the filtered media item;
extracting, from the filtered media item, one or more entities depicted in the filtered media item;
creating a second node representing the one or more entities extracted from the filtered media item;
annotating the second node with metadata of the filtered media item; and
connecting the first node and the annotated second node in the graph database.

### Claim 2 (depends on 1)

The method of claim 1, wherein the ranking is performed by the LLM.

### Claim 3 (depends on 1)

The method of claim 1, wherein the ranking of the duplicate media items is done in parallel to computing the metadata.

### Claim 4 (depends on 1)

The method of claim 1 wherein a label labels individual pixels of a media item.

### Claim 5 (depends on 1)

The method of claim 1, wherein a label comprises a bounding box around an entity depicted in a media item and an identifier of the entity.

### Claim 6 (depends on 1)

The method of claim 1, comprising:
receiving a query;
converting the query into a graph database query language of the graph database;
executing the converted query on the graph database;
in response to the executing, receiving a response comprising media items, metadata or descriptions;
forming a prompt comprising the response;
prompting the LLM using the prompt; and
receiving content from the LLM in response to the prompt.

### Claim 7 (depends on 6)

The method of claim 6, comprising:
determining an action to be taken by applying a rule to the response.

### Claim 8 (depends on 7)

The method of claim 7, comprising:
automatically triggering the action.

### Claim 9 (depends on 7)

The method of claim 7, wherein the action is a security action comprising at least one of: closing an account, isolating a communications network node, reporting suspicious activity to the origin of the batch of media items, identifying a secondary entity, compiling a security report, calling emergency services, or creating a timeline of actions.

### Claim 10 (depends on 6)

The method of claim 6, further comprising:
generating a user interface;
displaying the response at the user interface;
receiving edits to the response via the user interface; and
forming a retrieval augmented generation prompt using the response and the edits and prompting the LLM using the prompt.

### Claim 11 (depends on 10)

The method of claim 10, wherein the user interface is configured to provide a storytelling service, further wherein the storytelling service is configured to:
receive a request for a story about the media items;
generate and display text and media items of the story and optionally a diagram of a timeline of the story, wherein the media items of the story are selected from the graph database;
display a preview of the story;
using the preview, receive and implement changes to story settings; and
export and store the story.

### Claim 12 (depends on 10)

The method of claim 10, wherein:
the query is a request for security analysis;
the response comprises descriptions and media items of a security event and a diagram of a timeline of the security event; and
the user interface is configured to:
display a preview of a security analysis computed using the response;
receive changes to security analysis settings;
recompute the security analysis; and
export and store the recomputed security analysis.

### Claim 13 (depends on 6)

The method of claim 6, comprising determining an action to be taken by applying a rule to the content received from the LLM in response to the prompt, and automatically triggering the action.

### Claim 14 (depends on 1)

The method of claim 1, comprising defining a schema of the graph database and creating the graph database according to the schema.

### Claim 15 (depends on 14)

The method of claim 14, comprising defining the schema by selecting the schema from a database of schemas according to a type of content depicted in the media items.

### Claim 16 (depends on 1)

The method of claim 1, wherein the metadata comprises at least one of:
a timestamp, a person, a location, a video transcription, file name, duration, time zone, global positioning system GPS co-ordinates, altitude, device type, device identifier ID, camera settings, resolution, version, editing history or geospatial tags.

### Claim 17

An apparatus comprising:
a processor;
a memory storing instructions that, when executed by the processor, perform a method comprising:
ingesting a batch of media items into memory;
identifying, for a media item of the batch of media items, duplicate media items in the batch;
for each duplicate media item, ranking the duplicate media item with respect to duplicates of the media item;
filtering the duplicate media items based on the ranks of the duplicate media items to obtain filtered media items;
computing metadata of individual ones of the filtered media items;
for each filtered media item having metadata:
inputting into a Large Language Model (LLM) the media item, the metadata and a request; and
receiving from the LLM a description of content depicted in the media item; and
creating a graph database of the filtered media items using the descriptions and the metadata, wherein creating the graph database comprises:
for each filtered media item of the filtered media items:
creating a first node representing the filtered media item;
extracting, from the filtered media item, one or more entities associated with the filtered media item;
creating a second node representing the one or more entities extracted from the filtered media item;
annotating the second node with metadata of the filtered media item; and
connecting the first node and the annotated second node in the graph database.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the method performed by the instructions further comprises:
defining a schema of the graph database and creating the graph database according to the schema, wherein the schema is bespoke to a downstream process comprising the graph database.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the schema is selected from a database of schemas according to the metadata.

### Claim 20

A computer storage medium having computer-executable instructions that, when executed by a computing system, direct the computing system to perform operations comprising:
ingesting a batch of media items;
identifying, for a media item of the batch of media items, duplicate media items in the batch;
for each duplicate media item, ranking the duplicate media item with respect to duplicates of the media item;
filtering the duplicate media items based on the ranks of the duplicate media items to obtain filtered media items;
computing metadata of individual ones of the filtered media items;
labelling individual ones of the filtered media items with part of the metadata;
for each filtered media item having metadata and a label:
inputting into a Large Language Model (LLM) the media item, the label, the metadata and a request; and
receiving from the LLM a description of content depicted in the media item; and
creating a graph database of the filtered media items using the descriptions, the metadata, and the labels, wherein creating the graph database comprises:
for each filtered media item of the filtered media items:
creating a first node representing the filtered media item;
creating a second node representing one or more entities extracted from the filtered media item;
generating an annotated second node by annotating the second node with metadata of the filtered media item; and
forming, in the graph database, a connection between the first node and the annotated second node, wherein the connection indicates the one or more entities represented by the second node appear within the filtered media item.
