| Copyright | (c) DFKI GmbH 2012 |
|---|---|
| License | GPLv2 or higher, see LICENSE.txt |
| Maintainer | Christian.Maeder@dfki.de |
| Stability | provisional |
| Portability | non-portable(derive Typeable instances) |
| Safe Haskell | None |
RDF.ATC_RDF
Contents
Description
Automatic derivation of instances via DrIFT-rule ShATermConvertible, Json
for the type(s):
TurtleDocument
Statement
Prefix
Base
Triples
Subject
Predicate
Object
PredicateObjectList
RDFLiteral
Term
Axiom
RDFEntityType
RDFEntity
SymbItems
SymbMapItems
RawSymb
Sign
RDFMorphism
Orphan instances
| Generic RDFEntity Source # | |
| Generic RDFEntityType Source # | |
Associated Types type Rep RDFEntityType :: Type -> Type | |
| Generic Axiom Source # | |
| Generic Term Source # | |
| Generic RDFLiteral Source # | |
Associated Types type Rep RDFLiteral :: Type -> Type | |
| Generic PredicateObjectList Source # | |
Associated Types type Rep PredicateObjectList :: Type -> Type Methods from :: PredicateObjectList -> Rep PredicateObjectList x to :: Rep PredicateObjectList x -> PredicateObjectList | |
| Generic Object Source # | |
| Generic Predicate Source # | |
| Generic Subject Source # | |
| Generic Triples Source # | |
| Generic Base Source # | |
| Generic Prefix Source # | |
| Generic Statement Source # | |
| Generic TurtleDocument Source # | |
Associated Types type Rep TurtleDocument :: Type -> Type | |
| Generic Sign Source # | |
| Generic RawSymb Source # | |
| Generic SymbMapItems Source # | |
Associated Types type Rep SymbMapItems :: Type -> Type | |
| Generic SymbItems Source # | |
| Generic RDFMorphism Source # | |
Associated Types type Rep RDFMorphism :: Type -> Type | |
| FromJSON RDFEntity Source # | |
| FromJSON RDFEntityType Source # | |
| FromJSON Axiom Source # | |
| FromJSON Term Source # | |
| FromJSON RDFLiteral Source # | |
| FromJSON PredicateObjectList Source # | |
Methods parseJSON :: Value -> Parser PredicateObjectList parseJSONList :: Value -> Parser [PredicateObjectList] | |
| FromJSON Object Source # | |
| FromJSON Predicate Source # | |
| FromJSON Subject Source # | |
| FromJSON Triples Source # | |
| FromJSON Base Source # | |
| FromJSON Prefix Source # | |
| FromJSON Statement Source # | |
| FromJSON TurtleDocument Source # | |
| FromJSON Sign Source # | |
| FromJSON RawSymb Source # | |
| FromJSON SymbMapItems Source # | |
| FromJSON SymbItems Source # | |
| FromJSON RDFMorphism Source # | |
| ToJSON RDFEntity Source # | |
Methods toEncoding :: RDFEntity -> Encoding toJSONList :: [RDFEntity] -> Value toEncodingList :: [RDFEntity] -> Encoding | |
| ToJSON RDFEntityType Source # | |
Methods toJSON :: RDFEntityType -> Value toEncoding :: RDFEntityType -> Encoding toJSONList :: [RDFEntityType] -> Value toEncodingList :: [RDFEntityType] -> Encoding | |
| ToJSON Axiom Source # | |
Methods toEncoding :: Axiom -> Encoding toJSONList :: [Axiom] -> Value toEncodingList :: [Axiom] -> Encoding | |
| ToJSON Term Source # | |
Methods toEncoding :: Term -> Encoding toJSONList :: [Term] -> Value toEncodingList :: [Term] -> Encoding | |
| ToJSON RDFLiteral Source # | |
Methods toJSON :: RDFLiteral -> Value toEncoding :: RDFLiteral -> Encoding toJSONList :: [RDFLiteral] -> Value toEncodingList :: [RDFLiteral] -> Encoding | |
| ToJSON PredicateObjectList Source # | |
Methods toJSON :: PredicateObjectList -> Value toEncoding :: PredicateObjectList -> Encoding toJSONList :: [PredicateObjectList] -> Value toEncodingList :: [PredicateObjectList] -> Encoding | |
| ToJSON Object Source # | |
Methods toEncoding :: Object -> Encoding toJSONList :: [Object] -> Value toEncodingList :: [Object] -> Encoding | |
| ToJSON Predicate Source # | |
Methods toEncoding :: Predicate -> Encoding toJSONList :: [Predicate] -> Value toEncodingList :: [Predicate] -> Encoding | |
| ToJSON Subject Source # | |
Methods toEncoding :: Subject -> Encoding toJSONList :: [Subject] -> Value toEncodingList :: [Subject] -> Encoding | |
| ToJSON Triples Source # | |
Methods toEncoding :: Triples -> Encoding toJSONList :: [Triples] -> Value toEncodingList :: [Triples] -> Encoding | |
| ToJSON Base Source # | |
Methods toEncoding :: Base -> Encoding toJSONList :: [Base] -> Value toEncodingList :: [Base] -> Encoding | |
| ToJSON Prefix Source # | |
Methods toEncoding :: Prefix -> Encoding toJSONList :: [Prefix] -> Value toEncodingList :: [Prefix] -> Encoding | |
| ToJSON Statement Source # | |
Methods toEncoding :: Statement -> Encoding toJSONList :: [Statement] -> Value toEncodingList :: [Statement] -> Encoding | |
| ToJSON TurtleDocument Source # | |
Methods toJSON :: TurtleDocument -> Value toEncoding :: TurtleDocument -> Encoding toJSONList :: [TurtleDocument] -> Value toEncodingList :: [TurtleDocument] -> Encoding | |
| ToJSON Sign Source # | |
Methods toEncoding :: Sign -> Encoding toJSONList :: [Sign] -> Value toEncodingList :: [Sign] -> Encoding | |
| ToJSON RawSymb Source # | |
Methods toEncoding :: RawSymb -> Encoding toJSONList :: [RawSymb] -> Value toEncodingList :: [RawSymb] -> Encoding | |
| ToJSON SymbMapItems Source # | |
Methods toJSON :: SymbMapItems -> Value toEncoding :: SymbMapItems -> Encoding toJSONList :: [SymbMapItems] -> Value toEncodingList :: [SymbMapItems] -> Encoding | |
| ToJSON SymbItems Source # | |
Methods toEncoding :: SymbItems -> Encoding toJSONList :: [SymbItems] -> Value toEncodingList :: [SymbItems] -> Encoding | |
| ToJSON RDFMorphism Source # | |
Methods toJSON :: RDFMorphism -> Value toEncoding :: RDFMorphism -> Encoding toJSONList :: [RDFMorphism] -> Value toEncodingList :: [RDFMorphism] -> Encoding | |
| ShATermConvertible RDFEntity Source # | |
Methods toShATermAux :: ATermTable -> RDFEntity -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RDFEntity] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RDFEntity) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RDFEntity]) | |
| ShATermConvertible RDFEntityType Source # | |
Methods toShATermAux :: ATermTable -> RDFEntityType -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RDFEntityType] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RDFEntityType) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RDFEntityType]) | |
| ShATermConvertible Axiom Source # | |
Methods toShATermAux :: ATermTable -> Axiom -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Axiom] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Axiom) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Axiom]) | |
| ShATermConvertible Term Source # | |
Methods toShATermAux :: ATermTable -> Term -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Term] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Term) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Term]) | |
| ShATermConvertible RDFLiteral Source # | |
Methods toShATermAux :: ATermTable -> RDFLiteral -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RDFLiteral] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RDFLiteral) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RDFLiteral]) | |
| ShATermConvertible PredicateObjectList Source # | |
Methods toShATermAux :: ATermTable -> PredicateObjectList -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [PredicateObjectList] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, PredicateObjectList) fromShATermList' :: Int -> ATermTable -> (ATermTable, [PredicateObjectList]) | |
| ShATermConvertible Object Source # | |
Methods toShATermAux :: ATermTable -> Object -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Object] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Object) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Object]) | |
| ShATermConvertible Predicate Source # | |
Methods toShATermAux :: ATermTable -> Predicate -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Predicate] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Predicate) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Predicate]) | |
| ShATermConvertible Subject Source # | |
Methods toShATermAux :: ATermTable -> Subject -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Subject] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Subject) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Subject]) | |
| ShATermConvertible Triples Source # | |
Methods toShATermAux :: ATermTable -> Triples -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Triples] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Triples) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Triples]) | |
| ShATermConvertible Base Source # | |
Methods toShATermAux :: ATermTable -> Base -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Base] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Base) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Base]) | |
| ShATermConvertible Prefix Source # | |
Methods toShATermAux :: ATermTable -> Prefix -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Prefix] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Prefix) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Prefix]) | |
| ShATermConvertible Statement Source # | |
Methods toShATermAux :: ATermTable -> Statement -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Statement] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Statement) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Statement]) | |
| ShATermConvertible TurtleDocument Source # | |
Methods toShATermAux :: ATermTable -> TurtleDocument -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [TurtleDocument] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, TurtleDocument) fromShATermList' :: Int -> ATermTable -> (ATermTable, [TurtleDocument]) | |
| ShATermConvertible Sign Source # | |
Methods toShATermAux :: ATermTable -> Sign -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [Sign] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, Sign) fromShATermList' :: Int -> ATermTable -> (ATermTable, [Sign]) | |
| ShATermConvertible RawSymb Source # | |
Methods toShATermAux :: ATermTable -> RawSymb -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RawSymb] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RawSymb) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RawSymb]) | |
| ShATermConvertible SymbMapItems Source # | |
Methods toShATermAux :: ATermTable -> SymbMapItems -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SymbMapItems] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbMapItems) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbMapItems]) | |
| ShATermConvertible SymbItems Source # | |
Methods toShATermAux :: ATermTable -> SymbItems -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SymbItems] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SymbItems) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SymbItems]) | |
| ShATermConvertible RDFMorphism Source # | |
Methods toShATermAux :: ATermTable -> RDFMorphism -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RDFMorphism] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RDFMorphism) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RDFMorphism]) | |