Microsoft patents code helper that understands data labels
Microsoft has patented a system that helps programmers work with data by adding descriptive labels to their datasets. When a developer writes code, the system uses these labels to automatically suggest or select the right tools for analyzing the information.
In the filing’s own words
Systems, methods, and devices are described for enabling a user to import a library into a computer program under development. The library includes a data storage interface, one or more semantic objects, and one or more data manipulation or data analysis operations. A user is able to reference code of the library within the computer program under development to generate a dataset from data obtained via the data storage interface and associate the one or more semantic objects with the dataset to generate a semantically-annotated dataset. Systems, methods, and devices enable, based on the importing: the user to invoke a semantic-guided operation of the library that utilizes the semantically-annotated dataset to infer an aspect of a data manipulation or data analysis operation to be performed on the semantically-annotated dataset; or the suggestion of a data manipulation or data analysis operation to the user based on the semantically-annotated dataset.
What exactly they claim (claim 1)
1. A method performed by a computing device, the method comprising: importing a library into a computer program, the library comprising a data storage interface, a data operation, and a semantic object that comprises an instantiation of a class of an object-oriented programming language; generating, via the data storage interface, a dataset that enables code from the library to be referenced within the computer program; generating a semantically-annotated dataset by: storing, in a data structure associated with the dataset, a mapping between one or more attributes of the dataset and semantic attributes defined by the semantic object, the semantic object comprising executable code that defines a function; and performing a semantic aware operation based on the semantically-annotated dataset, the semantic aware operation comprising: automatically selecting, by the computing device, one or more attributes of the dataset based on the mapping; and invoking, by the computing device, the executable code of the function defined by the semantic object based on the one or more attributes to perform a data manipulation or data analysis operation.
Facts
- Company
- Microsoft (Microsoft Technology Licensing, LLC)
- Official title
- System and method for semantic aware data science
- Patent number
- US12754720B2
- Application number
- 18396972
- Filed
- Dec 27, 2023
- Granted
- Oct 6, 2026
- Inventors
- 6
- Claims
- 20
Classified under
G06F 8/425 Physics & computingG06F 8/423 Physics & computingMore from Microsoft in AI & software
- Microsoft patents method to check AI answers against verified facts Oct 20, 2026
- Microsoft patents AI that presents PowerPoint slides for you Sep 3, 2026
- Microsoft patents method to check if LLM answers are based on real data Sep 10, 2026
- Microsoft patents system to blend multiple AI agents into one chat Oct 1, 2026
- Microsoft patents system that answers questions using your screen history Oct 15, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.
