Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement DESCRIBE #1624

Merged
merged 27 commits into from
Dec 14, 2024
Merged

Implement DESCRIBE #1624

merged 27 commits into from
Dec 14, 2024

Conversation

joka921
Copy link
Member

@joka921 joka921 commented Nov 18, 2024

Implement DESCRIBE according to the Concise Bounded Description (CBD) specification: https://www.w3.org/submissions/2005/SUBM-CBD-20050603 . That is, do not only show those triples where the subject is one of the resources to describe but recursively expand reification nodes. The current implementation recursively expands blank nodes. Here is an example query on Wikidata, where that makes a difference: https://qlever.cs.uni-freiburg.de/wikidata/obesyx

In a future PR, add an option for configuring which other nodes to consider for expansion. For example, for Wikidata, we would also like to expand all object IRIs that start with the prefix http://www.wikidata.org/entity/statement/.

Signed-off-by: Johannes Kalmbach <[email protected]>
A lot of things are not yet working:
* NAMED GRAPHS (easy)
* Variables + where clauses
* Recursively following blank nodes.

Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
# Conflicts:
#	src/engine/CMakeLists.txt
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 98.66667% with 3 lines in your changes missing coverage. Please review.

Project coverage is 89.75%. Comparing base (4237e0d) to head (e3f82d9).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/engine/CheckUsePatternTrick.cpp 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1624      +/-   ##
==========================================
+ Coverage   89.69%   89.75%   +0.05%     
==========================================
  Files         385      389       +4     
  Lines       36955    37149     +194     
  Branches     4179     4194      +15     
==========================================
+ Hits        33148    33343     +195     
+ Misses       2507     2503       -4     
- Partials     1300     1303       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

joka921 and others added 21 commits November 19, 2024 17:48
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
Signed-off-by: Johannes Kalmbach <[email protected]>
@sparql-conformance
Copy link

Copy link
Member

@hannahbast hannahbast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a thorough pass, improved the documentation, fixed some minor issues, brought the patch coverage to 100% and tested it end to end.

Great work, thanks a lot!

@hannahbast hannahbast merged commit 27f4799 into ad-freiburg:master Dec 14, 2024
24 checks passed
@joka921 joka921 deleted the describe branch December 18, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants