Hets - the Heterogeneous Tool Set

CopyrightHeng Jiang Uni Bremen 2007
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellSafe

OWL2.Sign

Description

OWL 2 signature and sentences

Synopsis

Documentation

data Sign Source #

Instances

Eq Sign Source # 

Methods

(==) :: Sign -> Sign -> Bool

(/=) :: Sign -> Sign -> Bool

Data Sign Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Sign -> c Sign

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Sign

toConstr :: Sign -> Constr

dataTypeOf :: Sign -> DataType

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Sign)

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Sign)

gmapT :: (forall b. Data b => b -> b) -> Sign -> Sign

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Sign -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Sign -> r

gmapQ :: (forall d. Data d => d -> u) -> Sign -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Sign -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Sign -> m Sign

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Sign -> m Sign

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Sign -> m Sign

Ord Sign Source # 

Methods

compare :: Sign -> Sign -> Ordering

(<) :: Sign -> Sign -> Bool

(<=) :: Sign -> Sign -> Bool

(>) :: Sign -> Sign -> Bool

(>=) :: Sign -> Sign -> Bool

max :: Sign -> Sign -> Sign

min :: Sign -> Sign -> Sign

Show Sign Source # 

Methods

showsPrec :: Int -> Sign -> ShowS

show :: Sign -> String

showList :: [Sign] -> ShowS

Function Sign Source # 

Methods

function :: Action -> AMap -> Sign -> Sign Source #

Sentences OWL2 Axiom Sign OWLMorphism Entity Source # 
StaticAnalysis OWL2 OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb Source # 

Methods

basic_analysis :: OWL2 -> Maybe ((OntologyDocument, Sign, GlobalAnnos) -> Result (OntologyDocument, ExtSign Sign Entity, [Named Axiom])) Source #

sen_analysis :: OWL2 -> Maybe ((OntologyDocument, Sign, Axiom) -> Result Axiom) Source #

extBasicAnalysis :: OWL2 -> IRI -> LibName -> OntologyDocument -> Sign -> GlobalAnnos -> Result (OntologyDocument, ExtSign Sign Entity, [Named Axiom]) Source #

stat_symb_map_items :: OWL2 -> Sign -> Maybe Sign -> [SymbMapItems] -> Result (EndoMap RawSymb) Source #

stat_symb_items :: OWL2 -> Sign -> [SymbItems] -> Result [RawSymb] Source #

convertTheory :: OWL2 -> Maybe ((Sign, [Named Axiom]) -> OntologyDocument) Source #

ensures_amalgamability :: OWL2 -> ([CASLAmalgOpt], Gr Sign (Int, OWLMorphism), [(Int, OWLMorphism)], Gr String String) -> Result Amalgamates Source #

quotient_term_algebra :: OWL2 -> OWLMorphism -> [Named Axiom] -> Result (Sign, [Named Axiom]) Source #

signature_colimit :: OWL2 -> Gr Sign (Int, OWLMorphism) -> Result (Sign, Map Int OWLMorphism) Source #

qualify :: OWL2 -> SIMPLE_ID -> LibName -> OWLMorphism -> Sign -> Result (OWLMorphism, [Named Axiom]) Source #

symbol_to_raw :: OWL2 -> Entity -> RawSymb Source #

id_to_raw :: OWL2 -> Id -> RawSymb Source #

matches :: OWL2 -> Entity -> RawSymb -> Bool Source #

empty_signature :: OWL2 -> Sign Source #

add_symb_to_sign :: OWL2 -> Sign -> Entity -> Result Sign Source #

signature_union :: OWL2 -> Sign -> Sign -> Result Sign Source #

signatureDiff :: OWL2 -> Sign -> Sign -> Result Sign Source #

intersection :: OWL2 -> Sign -> Sign -> Result Sign Source #

final_union :: OWL2 -> Sign -> Sign -> Result Sign Source #

morphism_union :: OWL2 -> OWLMorphism -> OWLMorphism -> Result OWLMorphism Source #

is_subsig :: OWL2 -> Sign -> Sign -> Bool Source #

subsig_inclusion :: OWL2 -> Sign -> Sign -> Result OWLMorphism Source #

generated_sign :: OWL2 -> Set Entity -> Sign -> Result OWLMorphism Source #

cogenerated_sign :: OWL2 -> Set Entity -> Sign -> Result OWLMorphism Source #

induced_from_morphism :: OWL2 -> EndoMap RawSymb -> Sign -> Result OWLMorphism Source #

induced_from_to_morphism :: OWL2 -> EndoMap RawSymb -> ExtSign Sign Entity -> ExtSign Sign Entity -> Result OWLMorphism Source #

is_transportable :: OWL2 -> OWLMorphism -> Bool Source #

is_injective :: OWL2 -> OWLMorphism -> Bool Source #

theory_to_taxonomy :: OWL2 -> TaxoGraphKind -> MMiSSOntology -> Sign -> [Named Axiom] -> Result MMiSSOntology Source #

corresp2th :: OWL2 -> String -> Bool -> Sign -> Sign -> [SymbItems] -> [SymbItems] -> EndoMap Entity -> EndoMap Entity -> REL_REF -> Result (Sign, [Named Axiom], Sign, Sign, EndoMap Entity, EndoMap Entity) Source #

equiv2cospan :: OWL2 -> Sign -> Sign -> [SymbItems] -> [SymbItems] -> Result (Sign, Sign, Sign, EndoMap Entity, EndoMap Entity) Source #

extract_module :: OWL2 -> [IRI] -> (Sign, [Named Axiom]) -> Result (Sign, [Named Axiom]) Source #

Logic OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree Source # 

Methods

parse_basic_sen :: OWL2 -> Maybe (OntologyDocument -> AParser st Axiom) Source #

stability :: OWL2 -> Stability Source #

data_logic :: OWL2 -> Maybe AnyLogic Source #

top_sublogic :: OWL2 -> ProfSub Source #

all_sublogics :: OWL2 -> [ProfSub] Source #

bottomSublogic :: OWL2 -> Maybe ProfSub Source #

sublogicDimensions :: OWL2 -> [[ProfSub]] Source #

parseSublogic :: OWL2 -> String -> Maybe ProfSub Source #

proj_sublogic_epsilon :: OWL2 -> ProfSub -> Sign -> OWLMorphism Source #

provers :: OWL2 -> [Prover Sign Axiom OWLMorphism ProfSub ProofTree] Source #

default_prover :: OWL2 -> String Source #

cons_checkers :: OWL2 -> [ConsChecker Sign Axiom ProfSub OWLMorphism ProofTree] Source #

conservativityCheck :: OWL2 -> [ConservativityChecker Sign Axiom OWLMorphism] Source #

empty_proof_tree :: OWL2 -> ProofTree Source #

syntaxTable :: OWL2 -> Sign -> Maybe SyntaxTable Source #

omdoc_metatheory :: OWL2 -> Maybe OMCD Source #

export_symToOmdoc :: OWL2 -> NameMap Entity -> Entity -> String -> Result TCElement Source #

export_senToOmdoc :: OWL2 -> NameMap Entity -> Axiom -> Result TCorOMElement Source #

export_theoryToOmdoc :: OWL2 -> SigMap Entity -> Sign -> [Named Axiom] -> Result [TCElement] Source #

omdocToSym :: OWL2 -> SigMapI Entity -> TCElement -> String -> Result Entity Source #

omdocToSen :: OWL2 -> SigMapI Entity -> TCElement -> String -> Result (Maybe (Named Axiom)) Source #

addOMadtToTheory :: OWL2 -> SigMapI Entity -> (Sign, [Named Axiom]) -> [[OmdADT]] -> Result (Sign, [Named Axiom]) Source #

addOmdocToTheory :: OWL2 -> SigMapI Entity -> (Sign, [Named Axiom]) -> [TCElement] -> Result (Sign, [Named Axiom]) Source #

Comorphism CASL2OWL CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree Source # 
Comorphism ExtModal2OWL ExtModal ExtModalSL EM_BASIC_SPEC ExtModalFORMULA SYMB_ITEMS SYMB_MAP_ITEMS ExtModalSign ExtModalMorph Symbol RawSymbol () OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree Source # 
Comorphism OWL22CASL OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree CASL CASL_Sublogics CASLBasicSpec CASLFORMULA SYMB_ITEMS SYMB_MAP_ITEMS CASLSign CASLMor Symbol RawSymbol ProofTree Source # 
Comorphism OWL22CommonLogic OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree CommonLogic CommonLogicSL BASIC_SPEC TEXT_META SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree Source # 
Comorphism Propositional2OWL2 Propositional PropSL BASIC_SPEC FORMULA SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol ProofTree OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree Source # 
Comorphism DMU2OWL2 DMU () Text () () () Text (DefaultMorphism Text) () () () OWL2 ProfSub OntologyDocument Axiom SymbItems SymbMapItems Sign OWLMorphism Entity RawSymb ProofTree Source # 

data SignAxiom Source #

Instances

Eq SignAxiom Source # 

Methods

(==) :: SignAxiom -> SignAxiom -> Bool

(/=) :: SignAxiom -> SignAxiom -> Bool

Data SignAxiom Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SignAxiom -> c SignAxiom

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SignAxiom

toConstr :: SignAxiom -> Constr

dataTypeOf :: SignAxiom -> DataType

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SignAxiom)

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SignAxiom)

gmapT :: (forall b. Data b => b -> b) -> SignAxiom -> SignAxiom

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SignAxiom -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SignAxiom -> r

gmapQ :: (forall d. Data d => d -> u) -> SignAxiom -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> SignAxiom -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SignAxiom -> m SignAxiom

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SignAxiom -> m SignAxiom

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SignAxiom -> m SignAxiom

Ord SignAxiom Source # 

Methods

compare :: SignAxiom -> SignAxiom -> Ordering

(<) :: SignAxiom -> SignAxiom -> Bool

(<=) :: SignAxiom -> SignAxiom -> Bool

(>) :: SignAxiom -> SignAxiom -> Bool

(>=) :: SignAxiom -> SignAxiom -> Bool

max :: SignAxiom -> SignAxiom -> SignAxiom

min :: SignAxiom -> SignAxiom -> SignAxiom

Show SignAxiom Source # 

Methods

showsPrec :: Int -> SignAxiom -> ShowS

show :: SignAxiom -> String

showList :: [SignAxiom] -> ShowS

data RoleKind Source #

Constructors

FuncRole 
RefRole 

Instances

Eq RoleKind Source # 

Methods

(==) :: RoleKind -> RoleKind -> Bool

(/=) :: RoleKind -> RoleKind -> Bool

Data RoleKind Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RoleKind -> c RoleKind

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RoleKind

toConstr :: RoleKind -> Constr

dataTypeOf :: RoleKind -> DataType

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RoleKind)

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RoleKind)

gmapT :: (forall b. Data b => b -> b) -> RoleKind -> RoleKind

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RoleKind -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RoleKind -> r

gmapQ :: (forall d. Data d => d -> u) -> RoleKind -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> RoleKind -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RoleKind -> m RoleKind

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RoleKind -> m RoleKind

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RoleKind -> m RoleKind

Ord RoleKind Source # 

Methods

compare :: RoleKind -> RoleKind -> Ordering

(<) :: RoleKind -> RoleKind -> Bool

(<=) :: RoleKind -> RoleKind -> Bool

(>) :: RoleKind -> RoleKind -> Bool

(>=) :: RoleKind -> RoleKind -> Bool

max :: RoleKind -> RoleKind -> RoleKind

min :: RoleKind -> RoleKind -> RoleKind

Show RoleKind Source # 

Methods

showsPrec :: Int -> RoleKind -> ShowS

show :: RoleKind -> String

showList :: [RoleKind] -> ShowS

data RoleType Source #

Constructors

IRole 
DRole 

Instances

Eq RoleType Source # 

Methods

(==) :: RoleType -> RoleType -> Bool

(/=) :: RoleType -> RoleType -> Bool

Data RoleType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RoleType -> c RoleType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RoleType

toConstr :: RoleType -> Constr

dataTypeOf :: RoleType -> DataType

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RoleType)

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RoleType)

gmapT :: (forall b. Data b => b -> b) -> RoleType -> RoleType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RoleType -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RoleType -> r

gmapQ :: (forall d. Data d => d -> u) -> RoleType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> RoleType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RoleType -> m RoleType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RoleType -> m RoleType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RoleType -> m RoleType

Ord RoleType Source # 

Methods

compare :: RoleType -> RoleType -> Ordering

(<) :: RoleType -> RoleType -> Bool

(<=) :: RoleType -> RoleType -> Bool

(>) :: RoleType -> RoleType -> Bool

(>=) :: RoleType -> RoleType -> Bool

max :: RoleType -> RoleType -> RoleType

min :: RoleType -> RoleType -> RoleType

Show RoleType Source # 

Methods

showsPrec :: Int -> RoleType -> ShowS

show :: RoleType -> String

showList :: [RoleType] -> ShowS

data DesKind Source #

Constructors

RDomain 
DDomain 
RIRange 

Instances

Eq DesKind Source # 

Methods

(==) :: DesKind -> DesKind -> Bool

(/=) :: DesKind -> DesKind -> Bool

Data DesKind Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DesKind -> c DesKind

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DesKind

toConstr :: DesKind -> Constr

dataTypeOf :: DesKind -> DataType

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DesKind)

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DesKind)

gmapT :: (forall b. Data b => b -> b) -> DesKind -> DesKind

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DesKind -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DesKind -> r

gmapQ :: (forall d. Data d => d -> u) -> DesKind -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> DesKind -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DesKind -> m DesKind

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DesKind -> m DesKind

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DesKind -> m DesKind

Ord DesKind Source # 

Methods

compare :: DesKind -> DesKind -> Ordering

(<) :: DesKind -> DesKind -> Bool

(<=) :: DesKind -> DesKind -> Bool

(>) :: DesKind -> DesKind -> Bool

(>=) :: DesKind -> DesKind -> Bool

max :: DesKind -> DesKind -> DesKind

min :: DesKind -> DesKind -> DesKind

Show DesKind Source # 

Methods

showsPrec :: Int -> DesKind -> ShowS

show :: DesKind -> String

showList :: [DesKind] -> ShowS

data DomainOrRangeOrFunc a Source #

Instances

Eq a => Eq (DomainOrRangeOrFunc a) Source # 
Data a => Data (DomainOrRangeOrFunc a) Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DomainOrRangeOrFunc a -> c (DomainOrRangeOrFunc a)

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (DomainOrRangeOrFunc a)

toConstr :: DomainOrRangeOrFunc a -> Constr

dataTypeOf :: DomainOrRangeOrFunc a -> DataType

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c (DomainOrRangeOrFunc a))

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (DomainOrRangeOrFunc a))

gmapT :: (forall b. Data b => b -> b) -> DomainOrRangeOrFunc a -> DomainOrRangeOrFunc a

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DomainOrRangeOrFunc a -> r

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DomainOrRangeOrFunc a -> r

gmapQ :: (forall d. Data d => d -> u) -> DomainOrRangeOrFunc a -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> DomainOrRangeOrFunc a -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DomainOrRangeOrFunc a -> m (DomainOrRangeOrFunc a)

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainOrRangeOrFunc a -> m (DomainOrRangeOrFunc a)

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainOrRangeOrFunc a -> m (DomainOrRangeOrFunc a)

Ord a => Ord (DomainOrRangeOrFunc a) Source # 
Show a => Show (DomainOrRangeOrFunc a) Source # 

Methods

showsPrec :: Int -> DomainOrRangeOrFunc a -> ShowS

show :: DomainOrRangeOrFunc a -> String

showList :: [DomainOrRangeOrFunc a] -> ShowS

isSubSign :: Sign -> Sign -> Bool Source #

modEntity :: (IRI -> Set IRI -> Set IRI) -> Entity -> State Sign () Source #

takes an entity and modifies the sign according to the given function

addEntity :: Entity -> State Sign () Source #

adding entities to the signature