{-# LANGUAGE OverloadedStrings #-}
module Swish.RDF.Vocabulary.OWL
(
namespaceOWL
, owlOntology
, owlimports
, owlversionInfo
, owldeprecated
, owlpriorVersion
, owlbackwardCompatibleWith
, owlincompatibleWith
, owlClass
, owlThing
, owlNothing
, owlNamedIndividual
, owlSameAs
, owlequivalentClass
, owlequivalentProperty
, owlObjectProperty
, owlDatatypeProperty
, owlAnnotationProperty
, owlrational
, owlreal
)
where
import Swish.Namespace (Namespace, ScopedName, makeNamespace, makeNSScopedName)
import Swish.QName (LName)
import Data.Maybe (fromMaybe)
import Network.URI (URI, parseURI)
owlURI :: URI
owlURI :: URI
owlURI = forall a. a -> Maybe a -> a
fromMaybe (forall a. HasCallStack => [Char] -> a
error [Char]
"Internal error processing OWL URI") forall a b. (a -> b) -> a -> b
$ [Char] -> Maybe URI
parseURI [Char]
"http://www.w3.org/2002/07/owl#"
namespaceOWL :: Namespace
namespaceOWL :: Namespace
namespaceOWL = Maybe Text -> URI -> Namespace
makeNamespace (forall a. a -> Maybe a
Just Text
"owl") URI
owlURI
toO :: LName -> ScopedName
toO :: LName -> ScopedName
toO = Namespace -> LName -> ScopedName
makeNSScopedName Namespace
namespaceOWL
owlSameAs :: ScopedName
owlSameAs :: ScopedName
owlSameAs = LName -> ScopedName
toO LName
"sameAs"
owlequivalentClass :: ScopedName
owlequivalentClass :: ScopedName
owlequivalentClass = LName -> ScopedName
toO LName
"equivalentClass"
owlequivalentProperty :: ScopedName
owlequivalentProperty :: ScopedName
owlequivalentProperty = LName -> ScopedName
toO LName
"equivalentPropery"
owlOntology :: ScopedName
owlOntology :: ScopedName
owlOntology = LName -> ScopedName
toO LName
"Ontology"
owlimports :: ScopedName
owlimports :: ScopedName
owlimports = LName -> ScopedName
toO LName
"imports"
owlversionInfo :: ScopedName
owlversionInfo :: ScopedName
owlversionInfo = LName -> ScopedName
toO LName
"versionInfo"
owldeprecated :: ScopedName
owldeprecated :: ScopedName
owldeprecated = LName -> ScopedName
toO LName
"deprecated"
owlpriorVersion :: ScopedName
owlpriorVersion :: ScopedName
owlpriorVersion = LName -> ScopedName
toO LName
"priorVersion"
owlbackwardCompatibleWith :: ScopedName
owlbackwardCompatibleWith :: ScopedName
owlbackwardCompatibleWith = LName -> ScopedName
toO LName
"backwardCompatibleWith"
owlincompatibleWith :: ScopedName
owlincompatibleWith :: ScopedName
owlincompatibleWith = LName -> ScopedName
toO LName
"incompatibleWith"
owlClass :: ScopedName
owlClass :: ScopedName
owlClass = LName -> ScopedName
toO LName
"Class"
owlObjectProperty :: ScopedName
owlObjectProperty :: ScopedName
owlObjectProperty = LName -> ScopedName
toO LName
"ObjectProperty"
owlDatatypeProperty :: ScopedName
owlDatatypeProperty :: ScopedName
owlDatatypeProperty = LName -> ScopedName
toO LName
"DatatypeProperty"
owlAnnotationProperty :: ScopedName
owlAnnotationProperty :: ScopedName
owlAnnotationProperty = LName -> ScopedName
toO LName
"AnnotationProperty"
owlNamedIndividual :: ScopedName
owlNamedIndividual :: ScopedName
owlNamedIndividual = LName -> ScopedName
toO LName
"NamedIndividual"
owlThing :: ScopedName
owlThing :: ScopedName
owlThing = LName -> ScopedName
toO LName
"Thing"
owlNothing :: ScopedName
owlNothing :: ScopedName
owlNothing = LName -> ScopedName
toO LName
"Nothing"
owlrational :: ScopedName
owlrational :: ScopedName
owlrational = LName -> ScopedName
toO LName
"rational"
owlreal :: ScopedName
owlreal :: ScopedName
owlreal = LName -> ScopedName
toO LName
"real"