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
Invalid blank node creation when using BNode constructor or bnode function.
BNode
bnode
Sample code:
let t1 = Triple (unode "http://example.com/Person123") (unode "http://example.com/relatedTo") (BNode "test") let t2 = Triple (unode "http://example.com/Person123") (unode "http://example.com/relatedTo") (bnode "test2") let triples = [t1, t2] let graph = mkRdf triples Nothing (PrefixMappings Map.empty) :: RDF TList let graphFpath = Text.unpack "rdftest.ttl" withFile graphFpath WriteMode (\h -> hWriteRdf (TurtleSerializer Nothing (prefixMappings graph)) h graph)
Actual rdftest.ttl file content:
rdftest.ttl
<http://example.com/Person123> <http://example.com/relatedTo> test, test2 .
Expected rdftest.ttl file content:
<http://example.com/Person123> <http://example.com/relatedTo> _:test, _:test2 .
The text was updated successfully, but these errors were encountered:
Similar issue: #89
Sorry, something went wrong.
No branches or pull requests
Invalid blank node creation when using
BNode
constructor orbnode
function.Sample code:
Actual
rdftest.ttl
file content:Expected
rdftest.ttl
file content:The text was updated successfully, but these errors were encountered: