Tree structured data transform, by determining whether a predicate of a rule matches a given node in a set and applying a function responsive to the match

US10062030B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10062030-B2
Application numberUS-201715858813-A
CountryUS
Kind codeB2
Filing dateDec 29, 2017
Priority dateNov 30, 2011
Publication dateAug 28, 2018
Grant dateAug 28, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A transformation process determines whether a predicate of a rule matches a given node of tree structured data containing a set of nodes and, when the predicate of a rule matches the given node, applies a function of an identified rule to the node to generate a compound result and an interim mutated output document, and when the compound result contains a next node, determines whether the next node is compared with the predicate of a next rule. The transform process includes determining that the next node is processed by a next rule, using the interim mutated output document as input, and determining whether a predicate of a rule matches the next node in a set of nodes. When the predicate of a rule matches the next node, a function of an identified rule is applied to the next node to generate a compound result and interim mutated output document. When the compound result does not contain a next node, a final mutated output document is generated.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method for transformation of tree structured data containing a set of nodes, comprising: generating, responsive to a determination that a predicate of a rule matches a given node in the set of nodes, a compound result and an interim mutated output document by applying a function of the rule to the given node; determining, responsive to a determination that the compound result contains a next node, whether the next node is compared with a predicate of a next rule; applying, responsive to a determination that the predicate of the next rule matches the next node, a function of an identified rule to next node to generate a second compound result and interim mutated output document; and generating a final mutated output document using the interim mutated output document as input, wherein the compound result includes a node to process next and an instruction indicating continue or break. 2. The computer-implemented method of claim 1 , wherein responsive to a determination that the predicate of the rule does not match the given node whereby no match is identified while traversing a set of rules, a determination is made whether the next node exists in the tree structured data; and responsive to the determination that the next node exists in the tree structured data, the next node in the set of nodes is selected. 3. The computer-implemented method of claim 1 , wherein the rule contains information including the predicate and a function, and the predicate indicates to which node the function is applicable, and the function performs an operation by mutating the tree structured data and returning the compound result. 4. The computer-implemented method of claim 1 , wherein responsive to a determination that the next node is not compared with the predicate of the next rule, a first rule in the set of rules is identified, and the interim mutated output document is used as input. 5. The computer-implemented method of claim 1 , wherein the compound result includes an instruction indicating processing by comparing a predicate of the next node with one of the next rule and a first rule in the set of rules. 6. The computer-implemented method of claim 1 , wherein responsive to a determination that no rules in the set of rules matches a given node, the next node in document order is selected; and the next node is processed commencing with a first rule of the set of rules. 7. A computer hardware system configured to manage a cloud computing environment adapted to host a virtual machine, comprising a hardware processor configured to initiate the following executable operations: generating, responsive to a determination that a predicate of a rule matches a given node in the set of nodes, a compound result and an interim mutated output document by applying a function of the rule to the given node; determining, responsive to a determination that the compound result contains a next node, whether the next node is compared with a predicate of a next rule; applying, responsive to a determination that the predicate of the next rule matches the next node, a function of an identified rule to next node to generate a second compound result and interim mutated output document; and generating a final mutated output document using the interim mutated output document as input, wherein the compound result includes a node to process next and an instruction indicating continue or break. 8. The system of claim 7 , wherein responsive to a determination that the predicate of the rule does not match the given node whereby no match is identified while traversing a set of rules, a determination is made whether the next node exists in the tree structured data; and responsive to the determination that the next node exists in the tree structured data, the next node in the set of nodes is selected. 9. The system of claim 7 , wherein the rule contains information including the predicate and a function, and the predicate indicates to which node the function is applicable, and the function performs an operation by mutating the tree structured data and returning the compound result. 10. The system of claim 7 , wherein responsive to a determination that the next node is not compared with the predicate of the next rule, a first rule in the set of rules is identified, and the interim mutated output document is used as input. 11. The system of claim 7 , wherein the compound result includes an instruction indicating processing by comparing a predicate of the next node with one of the next rule and a first rule in the set of rules. 12. The system of claim 7 , wherein responsive to a determination that no rules in the set of rules matches a given node, the next node in document order is selected; and the next node is processed commencing with a first rule of the set of rules. 13. A computer program product, comprising: a hardware storage device having program code stored thereon for managing a cloud computing environment adapted to host a virtual machine, generating, responsive to a determination that a predicate of a rule matches a given node in the set of nodes, a compound result and an interim mutated output document by applying a function of the rule to the given node; determining, responsive to a determination that the compound result contains a next node, whether the next node is compared with a predicate of a next rule; applying, responsive to a determination that the predicate of the next rule matches the next node, a function of an identified rule to next node to generate a second compound result and interim mutated output document; and generating a final mutated output document using the interim mutated output document as input, wherein the compound result includes a node to process next and an instruction indicating continue or break. 14. The computer program product of claim 13 , wherein responsive to a determination that the predicate of the rule does not match the given node whereby no match is identified while traversing a set of rules, a determination is made whether the next node exists in the tree structured data; and responsive to the determination that the next node exists in the tree structured data, the next node in the set of nodes is selected. 15. The computer program product of claim 13 , wherein the rule contains information including the predicate and a function, and the predicate indicates to which node the function is applicable, and the function performs an operation by mutating the tree structured data and returning the compound result. 16. The computer program product of claim 13 , wherein responsive to a determination that the next node is not compared with the predicate of the next rule, a first rule in the set of rules is identified, and the interim mutated output document is used as input. 17. The computer program product of claim 13 , wherein the compound result includes an instruction indicating processing by comparing a predicate of the next node with one of the next rule and a first rule in the set of rules. 18. The computer program product of claim 13 , wherein responsive to a determination that no rules in the set of rules matches a given node, the next node in document order is selected; and the next node is processed commencing with a first rule of the set of rules.

Assignees

Inventors

Classifications

  • G06N5/02Primary

    Knowledge representation; Symbolic representation · CPC title

  • Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets · CPC title

  • Tree-structured documents (parsing G06F40/205; validation G06F40/226) · CPC title

  • Physics · mapped topic

  • Physics · mapped topic

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10062030B2 cover?
A transformation process determines whether a predicate of a rule matches a given node of tree structured data containing a set of nodes and, when the predicate of a rule matches the given node, applies a function of an identified rule to the node to generate a compound result and an interim mutated output document, and when the compound result contains a next node, determines whether the next …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06N5/02. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 28 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).