Rob Stewart

Results 59 comments of Rob Stewart

@h4ck3rm1k3 sadly not, although that would be very cool. There is some work in this area, for other languages including F# and Idris: * F#: https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/type-providers/ * Idris: http://www.davidchristiansen.dk/pubs/dependent-type-providers.pdf And...

Hi @tmciver and @koslambrou (from https://github.com/robstewart57/rdf4h/issues/106), We have two options: 1. Validate blank node labels in the `bnode` function e.g. ``` bnode "_:foo" => Just (BNode "_:foo") bnode "foo" =>...

@tmciver and @koslambrou This is addressed in the `bnodeGen` branch. See this commit message: https://github.com/robstewart57/rdf4h/commit/3da3a9f31e944f019a5dd78b0390b6853257f771 Thoughts?

JSON-LD support would be great! Parsing or serialisation, or both? It's not something I could commit time to, but a pull request would be very welcome. The existing parsers use...

Hi @biesnecker , how far did you get with this JSON-LD parser?

@wismill your xmlf monad transformer code has been added into this repo, including IRIs and IRI validation/resolution. Could your IRIs now be used more widely throughout this library?

> Actually, the 2nd parameter of TurtleSerializer correctly adds the specified prefixes in the saved file, but it also adds the defaults prefixes from Data.RDF.Namespace.standard_ns_mappings @koslambrou could you put together...

Because in your code: ```haskell let baseUrl = "http://example.org/resource" RDF.writeRdf (TurtleSerializer Nothing mappings) emptyRdf ``` You're not using `baseUrl` in the `TurtleSerializer`.

Ah, thanks. The optional argument representing the base URL in the Turtle _**parser**_ is to use for resolving relative URLs in the document. This may be overridden in the document...

@wismill the idea of https://github.com/robstewart57/rdf4h/pull/36 was to generalise rdf4h across numerous parsers, specificlaly attoparsec and parsec. E.g. -- |'NTriplesParser' is an instance of 'RdfParser' using parsec based parsers. instance RdfParser...