IP Library › Granted Patent US 12,373,708
Granted Patent B2
US 12,373,708 · App. 17/483,219 · Granted Jul 29, 2025

Processes and products for generation of completion rules of knowledge graphs

Inventor: Thomas Hubauer (Garching bei Munchen, DE)
Assignee: Siemens Aktiengesellschaft
G06N5/025G06F16/367G06N20/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,373,708
App. No.
17/483,219
Granted
Jul 29, 2025
Kind
B2
Abstract

Provided is a computer-implemented technology which generates rules for completion of a knowledge graph by producing, with a generic machine learning model or one that is trained on the knowledge graph, inferred triples, optionally refines and filters the produced rules along predefined user settings and provides the resulting rules, along with the inferred facts covered by the rules, as candidates for completion of the knowledge graph.

Claims (83)

1. A computer-implemented method for generation of completion rules for a knowledge graph, comprising the following steps:

using a machine learning model to produce a set of inferred triples from RDF data, wherein the model is a generic model or a model trained and/or retrained on the knowledge graph or a subset of the knowledge graph;

generating completion rules with a same functionality as SPARQL queries of the form

INSERT ?subject ?predicate ?object

WHERE {

triple_pattern_1 .

triple_pattern_2 .

...

}

as follows:

adding to completion rules, that would produce triples that are not part of the set, triple patterns that result in the exclusion of these triples;

allowing to combine alternatives with a function corresponding to OR-disjunction in inductive logic programming;

stopping the generating once a pre-defined ratio of coverage of the set is reached or a user-defined execution time timeout is met; and

providing the resulting completion rules as candidates for completion of the knowledge graph;

wherein the two triple patterns

{?x property1 ?y. ?y property2 ?z.}

are replaced with the new triple pattern

?x property1/property2 ?z

and / or whereby the two triple patterns

{?x property1 ?y. ?z property2 ?y.}

are replaced with the new triple pattern

?x property1/{circumflex over ( )}property2 ?z.

2. The method according to claim 1 , wherein one or more properties are selected or in the absence of a selection all properties occurring are considered candidates for completion rule generation.

3. The method according to claim 1 , wherein the set of inferred triples is optionally filtered and/or post-filtered based on user settings.

4. The method according to claim 3 , wherein the likelihood of an inferred triple being true, as provided by the machine learning model, is used for the filtering by omitting all inferred triples whose likelihood is below a pre-defined threshold.

5. The method according to claim 1 , wherein elements with a same functionality as other elements of SPARQL WHERE clauses, such as FILTER statements, are learned.

6. The method according to claim 1 , wherein rules that have been approved by an expert on the knowledge domain, are applied on the RDF data.

7. The method according to claim 6 , wherein the prediction machine learning model is re-trained on the resulting combined RDF data.

8. The method according to claim 1 , wherein inferred triples that are covered by resulting rules are provided along with the resulting rules, and/or wherein a function corresponding to OR-disjunction is either providing multiple completion rules or combining WHERE bodies of rules with a UNION statement.

9. The method according to claim 1 , wherein resulting rules are provided as candidates for completion of the knowledge graph to an expert on the knowledge domain for evaluation.

10. A computer program product, comprising a computer readable hardware storage device having computer readable program code stored therein, said program code comprising program instructions that cause, when the program is executed by a computer, the computer to carry out the method according to claim 1 .

11. A computer-implemented method for generation of completion rules for a knowledge graph, comprising the following steps:

using a machine learning model to produce a set of inferred triples from RDF data, wherein the model is a generic model or a model trained and/or retrained on the knowledge graph or a subset of the knowledge graph;

generating completion rules with a same functionality as SPARQL queries of the form

INSERT ?subject ?predicate ?object

WHERE

{

 triple_pattern_1 .

 triple_pattern_2 .

 ...

 }

as follows:

adding to completion rules, that would produce triples that are not part of the set, triple patterns that result in the exclusion of these triples;

allowing to combine alternatives with a function corresponding to OR-disjunction in inductive logic programming;

stopping the generating once a pre-defined ratio of coverage of the set is reached or a user-defined execution time timeout is met; and

providing the resulting completion rules as candidates for completion of the knowledge graph; wherein rules that have been approved by an expert on the knowledge domain are applied on the RDF data; and wherein the prediction machine learning model is re-trained on the resulting combined RDF data.

12. The method according to claim 11 , wherein one or more properties are selected or in the absence of a selection all properties occurring are considered candidates for completion rule generation.

13. The method according to claim 11 , wherein the set of inferred triples is optionally filtered and/or post-filtered based on user settings.

14. The method according to claim 11 , wherein the likelihood of an inferred triple being true, as provided by the machine learning model, is used for the filtering by omitting all inferred triples whose likelihood is below a pre-defined threshold.

15. The method according to claim 11 , wherein elements with a same functionality as other elements of SPARQL WHERE clauses, such as FILTER statements, are learned.

16. The method according to claim 11 , wherein in an optional post-processing step the WHERE statements are refined by introducing property paths and/or wherein the two triple patterns

{?x property1 ?y. ?y property2 ?z.}

are replaced with the new triple pattern

?x property1/property2 ?z

and / or wherein the two triple patterns

{?x property1 ?y. ?z property2 ?y.}

are replaced with the new triple pattern

?x property1/{circumflex over ( )}property2 ?z .

17. The method according to claim 11 , wherein inferred triples that are covered by resulting rules are provided along with the resulting rules.

18. The method according to claim 11 , wherein a function corresponding to OR-disjunction is either providing multiple completion rules or combining WHERE bodies of rules with a UNION statement.

19. A computer program product, comprising a computer readable hardware storage device having computer readable program code stored therein, said program code comprising program instructions that cause, when the program is executed by a computer, the computer to carry out the method according to claim 11 .

20. A computer-implemented method for generation of completion rules for a knowledge graph, comprising the following steps:

using a machine learning model to produce a set of inferred triples from RDF data, wherein the model is a generic model or a model trained and/or retrained on the knowledge graph or a subset of the knowledge graph;

generating completion rules with a same functionality as SPARQL queries of the form

INSERT ?subject ?predicate ?object

WHERE {

 triple_pattern 1 .

 triple_pattern 2 .

 ...

 }

as follows:

adding to completion rules, that would produce triples that are not part of the set, triple patterns that result in the exclusion of these triples;

allowing to combine alternatives with a function corresponding to OR-disjunction in inductive logic programming;

stopping the generating once a pre-defined ratio of coverage of the set is reached or a user-defined execution time timeout is met; and

providing the resulting completion rules as candidates for completion of the knowledge graph; wherein in an optional post-processing step the WHERE statements are refined by introducing property paths; and

wherein the two triple patterns

 {?x property1 ?y. ?y property2 ?z.}

are replaced with the new triple pattern

 ?x property1/property2 ?z

and / or wherein the two triple patterns

 {?x property1 ?y. ?z property2 ?y.}

are replaced with the new triple pattern

 ?x property1/{circumflex over ( )}property2 ?z.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 10, 2022
From: HUBAUER, THOMAS
To: SIEMENS AKTIENGESELLSCHAFT
Reel/Frame 058973/0898 →
Priority Claims (1)
EP 20199233 · Sep 30, 2020 · regional
Continuity (1)
Related Publication 20220101153A1 · Mar 31, 2022
References Cited (28)
US 20150310195A1 · Bailor · 2015 [cited by examiner]
US 20160224637A1 · Sukumar · 2016 [cited by examiner]
US 20180234385A1 · O'Neil · 2018 [cited by examiner]
US 20190354544A1 · Hertz · 2019 [cited by examiner]
US 20200265060A1 · Crapo · 2020 [cited by examiner]
US 20210103256A1 · Jia · 2021 [cited by examiner]
US 20210216881A1 · McCarthy · 2021 [cited by examiner]
CN 110147450A · 2019 [cited by applicant]
Wikipedia Article, “Semantic Web”, https://en.wikipedia.org/wiki/Semantic_Web. [cited by applicant]
Wikipedia Article, “Knowledge graph”, https://en.wikipedia.org/wiki/Knowledge_graph. [cited by applicant]
Wikipedia Article, “Ontology (information science)”, https://en.wikipedia.org/wiki/Ontology_(information_science). [cited by applicant]
Wikipedia Article, “Markup language”, https://en.wikipedia.org/wiki/Markup_language. [cited by applicant]
Wikipedia Article, “HTML”, https://en.wikipedia.org/wiki/HTML. [cited by applicant]
Wikipedia Article, “XML”, https://en.wikipedia.org/wiki/XML. [cited by applicant]
Wikipedia Article,“Web Ontology Language”, https://en.wikipedia.org/wiki/Web_Ontology_Language. [cited by applicant]
Wikipedia Article, “Semantic reasoner”, https://en.wikipedia.org/wiki/Semantic_reasoner. [cited by applicant]
Wikipedia Article, “Giant Global Graph”, https://en.wikipedia.org/wiki/Giant_Global_Graph. [cited by applicant]
Wikipedia Article,“Machine learning”, https://en.wikipedia.org/wiki/Machine_learning. [cited by applicant]
Wikipedia Article, “XHTML”, https://en.wikipedia.org/wiki/XHTML. [cited by applicant]
Wikipedia Article, “Resource Description Framework”, https://en.wikipedia.org/wiki/Resource_Description_Framework. [cited by applicant]
Wikipedia Article, “RDF query language”, https://en.wikipedia.org/wiki/RDF_query_language. [cited by applicant]
Wikipedia Article, “SPARQL”, https://en.wikipedia.org/wiki/SPARQL. [cited by applicant]
Wiharja, Kemas et al.; “Schema aware iterative Knowledge Graph completion”; Journal of Web Semantics; vol. 65; Sep. 29, 2020 (Sep. 29, 2020); XP086378359; ISSN: 1570-8268; DOI: 10.1016/J.WEBSEM.2020.100616. [cited by applicant]
Tran Hai, Dang et al; “Towards Nonmonotonic Relational Learning from Knowledge Graphs”; Inductive Logic Programming. ILP 2016. Lecture Notes in Computer Science; vol. 10326; No. 558; Jul. 16, 2017 (Jul. 16, 2017); pp. 9… [cited by applicant]
Woensel, William Van et al; “A Cross-Platform Benchmark Framework for Mobile Semantic Web Reasoning Engines”; The Semantic Web—ISWC 2014. Lecture Notes in Computer Science; vol. 8796; No. 558; Oct. 19, 2014 (Oct. 19, 20… [cited by applicant]
Corcoglioniti, Francesco et al; “Frame-Based Ontology Population with Pikes”; IEEE Transactions on Knowledge and Data Engineering; vol. 28; No. 12; Aug. 24, 2016 (Aug. 24, 2016); pp. 3261-3275; XP011633325; ISSN: 1041-4… [cited by applicant]
Hees, Jörn et al; “An Evolutionary Algorithm to Learn SPARQL Queries for Source-Target-Pairs”; Knowledge Engineering and Knowledgemanagement. EKAW 2016. Lecture Notes in Computer Science; vol. 10024; No. 558; Nov. 4, 20… [cited by applicant]
Wikipedia Article, “World Wide Web”, https://en.wikipedia.org/wiki/World_Wide_Web. [cited by applicant]