Copyright | Travis Whitaker 2016 |
---|---|
License | MIT |
Maintainer | pi.boy.travis@gmail.com |
Stability | Provisional |
Portability | Portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This module provides conversion between RDF triples and fgl
graphs. Naturally
these functions will force the entire graph into memory.
- data GNode
- type GEdge = Predicate
- rdfGraph :: DynGraph g => RDFGraph -> (g GNode GEdge, NodeMap GNode)
- triplesGraph :: DynGraph g => [Triple] -> (g GNode GEdge, NodeMap GNode)
- graphRDF :: Graph g => Maybe IRI -> g GNode GEdge -> Either String RDFGraph
- graphTriples :: Graph g => g GNode GEdge -> Either String [Triple]