data RDF = RDF deriving Show
instance Language RDF where
instance Category Sign RDFMorphism where
ide sig = inclRDFMorphism sig sig
isInclusion = isRDFInclusion
composeMorphisms = composeMor
instance Syntax RDF RDFGraph SymbItems SymbMapItems where
parse_basic_spec RDF = Just basicSpec
parse_symb_items RDF = Just symbItems
parse_symb_map_items RDF = Just symbMapItems
instance Sentences RDF Sentence Sign RDFMorphism Entity where
print_named RDF namedSen =
pretty $ (if isAxiom namedSen then rmImplied else addImplied)
sym_of RDF = singletonList . symOf
instance StaticAnalysis RDF RDFGraph Sentence
basic_analysis RDF = Just basicRDFAnalysis
stat_symb_items RDF _ = return . statSymbItems
stat_symb_map_items RDF _ _ = statSymbMapItems
empty_signature RDF = emptySign
signature_union RDF = uniteSign
signatureDiff RDF s = return . diffSig s
final_union RDF = signature_union RDF
is_subsig RDF = isSubSign
subsig_inclusion RDF s = return . inclOWLMorphism s
symbol_to_raw RDF = ASymbol
induced_from_morphism RDF = inducedFromMor
cogenerated_sign RDF = cogeneratedSign
generated_sign RDF = generatedSign
signature_colimit RDF = return . signColimit
theory_to_taxonomy RDF = onto2Tax
instance Logic RDF ProfSub OntologyDocument Axiom SymbItems SymbMapItems
OWLMorphism Entity RawSymb ProofTree where
empty_proof_tree RDF = emptyProofTree
provers RDF = unsafeFileCheck pelletJar pelletEnv pelletProver ++
unsafeFileCheck pelletJar pelletEnv pelletEL ++
(unsafeFileCheck pelletJar pelletEnv pelletConsChecker) ++
(unsafeFileCheck "
OWLFact.jar" hetsOWLenv factConsChecker)
conservativityCheck RDF = concatMap
(\ ct -> unsafeFileCheck localityJar hetsOWLenv
$ ConservativityChecker ("Locality_" ++ ct)
["BOTTOM_BOTTOM", "TOP_BOTTOM", "TOP_TOP"]
instance SemiLatticeWithTop ProfSub where
instance SublogicName ProfSub where
instance MinSublogic ProfSub Axiom where
instance MinSublogic ProfSub OWLMorphism where
instance ProjectSublogic ProfSub OWLMorphism where
projectSublogic = prMorph
instance MinSublogic ProfSub Sign where
instance ProjectSublogic ProfSub Sign where
instance MinSublogic ProfSub SymbItems where
instance MinSublogic ProfSub SymbMapItems where
instance MinSublogic ProfSub Entity where
instance MinSublogic ProfSub OntologyDocument where
minSublogic = profilesAndSublogic
instance ProjectSublogicM ProfSub SymbItems where
projectSublogicM = const Just
instance ProjectSublogicM ProfSub SymbMapItems where
projectSublogicM = const Just
instance ProjectSublogicM ProfSub Entity where
projectSublogicM = const Just
instance ProjectSublogic ProfSub OntologyDocument where
projectSublogic = prOntDoc