Copyright | (c) Felix Gabriel Mance, Francisc-Nicolae Bungiu |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
- type RDFPrefixMap = Map String IRI
- data TurtleDocument = TurtleDocument {
- documentName :: IRI
- prefixMap :: RDFPrefixMap
- statements :: [Statement]
- emptyTurtleDocument :: TurtleDocument
- data Statement
- data Prefix = PrefixR String IRI
- data Base = Base IRI
- data Triples = Triples Subject [PredicateObjectList]
- data Subject
- data Predicate = Predicate IRI
- data Object
- data PredicateObjectList = PredicateObjectList Predicate [Object]
- data RDFLiteral
- data Term
- data Axiom = Axiom Term Term Term
- data RDFEntityType
- data RDFEntity = RDFEntity RDFEntityType Term
- rdfEntityTypes :: [RDFEntityType]
- extractTripleStatements :: [Statement] -> [Triples]
- triplesOfDocument :: TurtleDocument -> [Triples]
- rdfFirst :: IRI
- rdfRest :: IRI
- rdfNil :: IRI
- isAbsoluteIRI :: IRI -> Bool
RDF Turtle Document
type RDFPrefixMap = Map String IRI
data TurtleDocument
data Statement
data Prefix
data Triples
data Subject
data Predicate
data Object
data PredicateObjectList
data RDFLiteral
Datatypes for Hets manipulation
data Term
data Axiom
data RDFEntityType
data RDFEntity
entities used for morphisms
extractTripleStatements :: [Statement] -> [Triples]
useful functions
triplesOfDocument :: TurtleDocument -> [Triples]
isAbsoluteIRI :: IRI -> Bool