-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix: set correct Accept header for CONSTRUCT queries #48
Conversation
@simontaurus Thank you for the PR! I tried to reproduce the result as described in easyrdf#301 (comment), but was not able to. EasyRdf generates a I used DBpedia's SPARQL endpoint which runs the following Virtuoso version: The content of $accept (the result of Its good to solve old bugs, but this one seems to be fixed in the meantime. What am I missing here? |
Looking at the new
The first several lines imply Now, several of these are deprecated (e.g., Further, several of the higher If I were building this list, I'd order the types in my actual order of preference, and then set the Giving the |
@k00ni, @TallTed: Many thanks for evaluating this further. Lines 391 to 392 in c7b0a9d
The fix will remove |
I've added a second test with wikidata as endpoint which fails with the current main branch, see https://github.com/RepoLab/easyrdf/actions/runs/9030250747/job/24814145081 |
First, thanks to both of you for taking the time to make this fork better. @TallTed I agree with your statements. EasyRdf should use proper communication so users can get what they expect. With these changes we can take a first step in this direction. @simontaurus thanks for the feedback, I refined your adaptions and added a few more. I dug around and have to say EasyRdf is a freaking mess in this regard. For instance, why is SVG part of the format list (reference)? 😆 There is another instance where the "broken" This test demonstrates that the change in I hope I didn't miss something important here. In my opinion these fixes are more like a patch + some tape and the code should be refactored in a broader sense. But I am afraid this might need quite some time. I would rather prefer to fix usage of Format's content itself than just place a list of valid things next to it. CC @zozlak: you also have a deep knowledge in these areas, is there anything you wanna add here? |
Co-authored-by: Ted Thibodeau Jr <[email protected]>
Co-authored-by: Ted Thibodeau Jr <[email protected]>
Co-authored-by: Ted Thibodeau Jr <[email protected]>
@simontaurus is there anything you wanna add/change here? |
@k00ni: From my side we are good to go 👍 |
fixes #47