-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve SHACL2Flink SPARQL query performance
SPARQL is used by the tools intensively to transform SHACL expressions into SQL expressions. This is slowing down when large knowledge graphs or large SHACL models are used. In this PR two main goals are achieved: (1) Move from rdflib native representation to faster Oxigraph representation where possible (2) Replace owlrl to be able to update rdflib, pyshacl etc to most recent versions. To achieve that a simplified transitive-closure algorithm is applied because transitive closure is needed to make "single-step" rdfs:subClassOf evaluations in Flink. This also led to correction of demo knowledge.ttl since the class defintions where not correct (i.e. rdfs:class insted of rdfs:Class) Signed-off-by: marcel <[email protected]>
- Loading branch information
1 parent
9557135
commit 70de03d
Showing
18 changed files
with
199 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
rdflib==6.2.0 | ||
owlrl==6.0.2 | ||
pyshacl==0.20.0 | ||
rdflib==7.1.1 | ||
pyshacl==0.29.0 | ||
ruamel.yaml==0.17.21 | ||
click==8.1.3 | ||
Jinja2==3.1.3 | ||
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability | ||
apache-flink==1.17.1 | ||
apache-flink==1.17.2 | ||
oxrdflib==0.4.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.