We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Normally language and datatype cant be set at the same time. This fails in this case:
from rdflib import * L1 = Literal("example", datatype=XSD.string) L2 = Literal(L1, lang="en") print(repr(L2)) # rdflib.term.Literal('example', lang='en', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#string'))
In comparison setting it by hand Literal("example", lang="en", datatype=XSD.string) will result in an error.
Literal("example", lang="en", datatype=XSD.string)
The text was updated successfully, but these errors were encountered:
This issue might be solved with #2460 It is related to #1326
Sorry, something went wrong.
No branches or pull requests
Normally language and datatype cant be set at the same time. This fails in this case:
In comparison setting it by hand
Literal("example", lang="en", datatype=XSD.string)
will result in an error.The text was updated successfully, but these errors were encountered: