-
Notifications
You must be signed in to change notification settings - Fork 65
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
"validate" fails loading graphs when both are file paths, but mixed formats. #276
Comments
@henrieglesorotos Thanks for the bug report. I haven't yet looked into exactly what is causing the issue in
That will allow PySHACL to not need to try to guess which format each graph is before parsing it. (Though it definitely should be able to do that by the filename, so I think there is still a bug). Unrelatedly:
Curious, is there something in the rdflib 7.1 release that's preventing you from upgrading? |
Thanks @ashleysommer I was getting the same error by specifying For now I am just loading the graphs into mem using rdflib. In terms of what's preventing me from upgrading - it's just the effort involved in bumping on a couple of internal deps we have. Nothing major. |
All of the available arguments to use for Specifically those for the |
I am validating a graph at a .nt filepath, but using a .ttl set of shapes.
validate(PATH_1_NT, shacl_graph=PATH_2_TTL, allow_warnings=self.allow_warnings, debug=self.debug)
I tried to decipher what was going on in the
load_from_source
, but thought it would be quicker asking here.Using python 3.10.
poetry show pyshacl
Note I have to use 0.28.1 as I am on rdflib 7.0.
The text was updated successfully, but these errors were encountered: