Hets - the Heterogeneous Tool Set

Copyright(c) DFKI GmbH, Uni Bremen 2007-2010
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellNone

OWL2.Parse

Contents

Description

Contains : Parser for the Manchester Syntax into Abstract Syntax of OWL 2

References : http://www.w3.org/TR/2009/NOTE-owl2-manchester-syntax-20091027/

Synopsis

Documentation

owlKeywords :: [String]

OWL and CASL structured keywords including andS and notS

ncNameChar :: Char -> Bool

rfc3987 plus + from scheme (scheme does not allow the dots)

atMost :: Int -> GenParser tok st a -> GenParser tok st [a]

parse zero or at most n consecutive arguments

atMost1 :: Int -> GenParser tok st a -> GenParser tok st [a]

parse at least one but at most n conse

ihierPart :: CharParser st String

covers irelative-part (therefore we omit curie)

skips :: CharParser st a -> CharParser st a

symbs :: GenParser Char st [IRI]

parse a comma separated list of uris

symbMapItems :: GenParser Char st SymbMapItems

parse a possibly kinded list of comma separated symbol pairs

symbPairs :: GenParser Char st [(IRI, Maybe IRI)]

parse a comma separated list of uri pairs

description

parensP :: CharParser st a -> CharParser st a

bracesP :: CharParser st a -> CharParser st a

sepByComma :: CharParser st a -> CharParser st [a]

pkeyword :: String -> CharParser st ()

plain string parser with skip

keyword :: String -> CharParser st String

keyword not followed by any alphanum

individualOrConstantList :: CharParser st (Either [Individual] [Literal])

applies the previous one to a list separated by commas (the list needs to be all of the same type, of course)

optNot :: (a -> a) -> CharParser st a -> CharParser st a

annotationValue :: CharParser st AnnotationValue

same as annotation Target in Manchester Syntax, named annotation Value in Abstract Syntax