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 |
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 # | |
type Rep RDFEntityType :: Type -> Type from :: RDFEntityType -> Rep RDFEntityType x to :: Rep RDFEntityType x -> RDFEntityType | |
Generic Axiom Source # | |
Generic Term Source # | |
Generic RDFLiteral Source # | |
type Rep RDFLiteral :: Type -> Type from :: RDFLiteral -> Rep RDFLiteral x to :: Rep RDFLiteral x -> RDFLiteral | |
Generic PredicateObjectList Source # | |
type Rep PredicateObjectList :: Type -> Type 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 # | |
type Rep TurtleDocument :: Type -> Type from :: TurtleDocument -> Rep TurtleDocument x to :: Rep TurtleDocument x -> TurtleDocument | |
Generic Sign Source # | |
Generic RawSymb Source # | |
Generic SymbMapItems Source # | |
type Rep SymbMapItems :: Type -> Type from :: SymbMapItems -> Rep SymbMapItems x to :: Rep SymbMapItems x -> SymbMapItems | |
Generic SymbItems Source # | |
Generic RDFMorphism Source # | |
type Rep RDFMorphism :: Type -> Type from :: RDFMorphism -> Rep RDFMorphism x to :: Rep RDFMorphism x -> RDFMorphism | |
FromJSON RDFEntity Source # | |
parseJSON :: Value -> Parser RDFEntity parseJSONList :: Value -> Parser [RDFEntity] | |
FromJSON RDFEntityType Source # | |
parseJSON :: Value -> Parser RDFEntityType parseJSONList :: Value -> Parser [RDFEntityType] | |
FromJSON Axiom Source # | |
parseJSON :: Value -> Parser Axiom parseJSONList :: Value -> Parser [Axiom] | |
FromJSON Term Source # | |
parseJSON :: Value -> Parser Term parseJSONList :: Value -> Parser [Term] | |
FromJSON RDFLiteral Source # | |
parseJSON :: Value -> Parser RDFLiteral parseJSONList :: Value -> Parser [RDFLiteral] | |
FromJSON PredicateObjectList Source # | |
parseJSON :: Value -> Parser PredicateObjectList parseJSONList :: Value -> Parser [PredicateObjectList] | |
FromJSON Object Source # | |
parseJSON :: Value -> Parser Object parseJSONList :: Value -> Parser [Object] | |
FromJSON Predicate Source # | |
parseJSON :: Value -> Parser Predicate parseJSONList :: Value -> Parser [Predicate] | |
FromJSON Subject Source # | |
parseJSON :: Value -> Parser Subject parseJSONList :: Value -> Parser [Subject] | |
FromJSON Triples Source # | |
parseJSON :: Value -> Parser Triples parseJSONList :: Value -> Parser [Triples] | |
FromJSON Base Source # | |
parseJSON :: Value -> Parser Base parseJSONList :: Value -> Parser [Base] | |
FromJSON Prefix Source # | |
parseJSON :: Value -> Parser Prefix parseJSONList :: Value -> Parser [Prefix] | |
FromJSON Statement Source # | |
parseJSON :: Value -> Parser Statement parseJSONList :: Value -> Parser [Statement] | |
FromJSON TurtleDocument Source # | |
parseJSON :: Value -> Parser TurtleDocument parseJSONList :: Value -> Parser [TurtleDocument] | |
FromJSON Sign Source # | |
parseJSON :: Value -> Parser Sign parseJSONList :: Value -> Parser [Sign] | |
FromJSON RawSymb Source # | |
parseJSON :: Value -> Parser RawSymb parseJSONList :: Value -> Parser [RawSymb] | |
FromJSON SymbMapItems Source # | |
parseJSON :: Value -> Parser SymbMapItems parseJSONList :: Value -> Parser [SymbMapItems] | |
FromJSON SymbItems Source # | |
parseJSON :: Value -> Parser SymbItems parseJSONList :: Value -> Parser [SymbItems] | |
FromJSON RDFMorphism Source # | |
parseJSON :: Value -> Parser RDFMorphism parseJSONList :: Value -> Parser [RDFMorphism] | |
ToJSON RDFEntity Source # | |
toEncoding :: RDFEntity -> Encoding toJSONList :: [RDFEntity] -> Value toEncodingList :: [RDFEntity] -> Encoding | |
ToJSON RDFEntityType Source # | |
toJSON :: RDFEntityType -> Value toEncoding :: RDFEntityType -> Encoding toJSONList :: [RDFEntityType] -> Value toEncodingList :: [RDFEntityType] -> Encoding | |
ToJSON Axiom Source # | |
ToJSON Term Source # | |
ToJSON RDFLiteral Source # | |
toJSON :: RDFLiteral -> Value toEncoding :: RDFLiteral -> Encoding toJSONList :: [RDFLiteral] -> Value toEncodingList :: [RDFLiteral] -> Encoding | |
ToJSON PredicateObjectList Source # | |
toJSON :: PredicateObjectList -> Value toEncoding :: PredicateObjectList -> Encoding toJSONList :: [PredicateObjectList] -> Value toEncodingList :: [PredicateObjectList] -> Encoding | |
ToJSON Object Source # | |
toEncoding :: Object -> Encoding toJSONList :: [Object] -> Value toEncodingList :: [Object] -> Encoding | |
ToJSON Predicate Source # | |
toEncoding :: Predicate -> Encoding toJSONList :: [Predicate] -> Value toEncodingList :: [Predicate] -> Encoding | |
ToJSON Subject Source # | |
toEncoding :: Subject -> Encoding toJSONList :: [Subject] -> Value toEncodingList :: [Subject] -> Encoding | |
ToJSON Triples Source # | |
toEncoding :: Triples -> Encoding toJSONList :: [Triples] -> Value toEncodingList :: [Triples] -> Encoding | |
ToJSON Base Source # | |
ToJSON Prefix Source # | |
toEncoding :: Prefix -> Encoding toJSONList :: [Prefix] -> Value toEncodingList :: [Prefix] -> Encoding | |
ToJSON Statement Source # | |
toEncoding :: Statement -> Encoding toJSONList :: [Statement] -> Value toEncodingList :: [Statement] -> Encoding | |
ToJSON TurtleDocument Source # | |
toJSON :: TurtleDocument -> Value toEncoding :: TurtleDocument -> Encoding toJSONList :: [TurtleDocument] -> Value toEncodingList :: [TurtleDocument] -> Encoding | |
ToJSON Sign Source # | |
ToJSON RawSymb Source # | |
toEncoding :: RawSymb -> Encoding toJSONList :: [RawSymb] -> Value toEncodingList :: [RawSymb] -> Encoding | |
ToJSON SymbMapItems Source # | |
toJSON :: SymbMapItems -> Value toEncoding :: SymbMapItems -> Encoding toJSONList :: [SymbMapItems] -> Value toEncodingList :: [SymbMapItems] -> Encoding | |
ToJSON SymbItems Source # | |
toEncoding :: SymbItems -> Encoding toJSONList :: [SymbItems] -> Value toEncodingList :: [SymbItems] -> Encoding | |
ToJSON RDFMorphism Source # | |
toJSON :: RDFMorphism -> Value toEncoding :: RDFMorphism -> Encoding toJSONList :: [RDFMorphism] -> Value toEncodingList :: [RDFMorphism] -> Encoding | |
ShATermConvertible RDFEntity Source # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
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 # | |
toShATermAux :: ATermTable -> RDFMorphism -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [RDFMorphism] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, RDFMorphism) fromShATermList' :: Int -> ATermTable -> (ATermTable, [RDFMorphism]) |