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

feat: query constructor rewrite #175

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

lu-pl
Copy link
Contributor

@lu-pl lu-pl commented Dec 16, 2024

Closes #128 .
Closes #134 .
Closes #168 .
Closes #173 .

@lu-pl lu-pl marked this pull request as draft December 16, 2024 10:57
@lu-pl lu-pl force-pushed the lupl/query-constructor-rewrite branch 7 times, most recently from 08208af to 46c4675 Compare December 20, 2024 08:11
@lu-pl lu-pl marked this pull request as ready for review December 20, 2024 08:21
@lu-pl lu-pl requested a review from kevinstadler December 20, 2024 08:21
Adapt tests for query construction rewrite and move to httpx for
running SPARQL queries.

The change also restructures parts of the test suite towards closer
proximity of testing parameters and test functions.

Closes #173.
The change introduces a QueryConstructor class that encapsulates all
SPARQL query construction functionality. This also leads to a significant
cleanup of rdfproxy.utils.sparql_utils module (utils in general) and the
SPARQLModelAdapter class.

Query result ordering for ungrouped models is now implemented to
default to the first binding of the projection as ORDER BY value. This
might still be discussed in the future, but the decision seems
reasonable at this point.

Closes #128.
Closes #134.
Closes #168.
@lu-pl lu-pl force-pushed the lupl/query-constructor-rewrite branch from 46c4675 to 5c643ad Compare December 20, 2024 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant