{-# LANGUAGE OverloadedStrings #-}
module Swish.RDF.Vocabulary.DublinCore
(
namespaceDCTERMS
, namespaceDCELEM
, namespaceDCAM
, namespaceDCTYPE
, dctAgent
, dctAgentClass
, dctBibliographicResource
, dctFileFormat
, dctFrequency
, dctJurisdiction
, dctLicenseDocument
, dctLinguisticSystem
, dctLocation
, dctLocationPeriodOrJurisdiction
, dctMediaType
, dctMediaTypeOrExtent
, dctMethodOfAccrual
, dctMethodOfInstruction
, dctPeriodOfTime
, dctPhysicalMedium
, dctPhysicalResource
, dctPolicy
, dctProvenanceStatement
, dctRightsStatement
, dctSizeOrDuration
, dctStandard
, dctabstract
, dctaccessRights
, dctaccrualMethod
, dctaccrualPeriodicity
, dctaccrualPolicy
, dctalternative
, dctaudience
, dctavailable
, dctbibliographicCitation
, dctconformsTo
, dctcontributor
, dctcoverage
, dctcreated
, dctcreator
, dctdate
, dctdateAccepted
, dctdateCopyrighted
, dctdateSubmitted
, dctdescription
, dcteducationLevel
, dctextent
, dctformat
, dcthasFormat
, dcthasPart
, dcthasVersion
, dctidentifier
, dctinstructionalMethod
, dctisFormatOf
, dctisPartOf
, dctisReferencedBy
, dctisReplacedBy
, dctisRequiredBy
, dctissued
, dctisVersionOf
, dctlanguage
, dctlicense
, dctmediator
, dctmedium
, dctmodified
, dctprovenance
, dctpublisher
, dctreferences
, dctrelation
, dctreplaces
, dctrequires
, dctrights
, dctrightsHolder
, dctsource
, dctspatial
, dctsubject
, dcttableOfContents
, dcttemporal
, dcttitle
, dcttype
, dctvalid
, dcelemcontributor
, dcelemcoverage
, dcelemcreator
, dcelemdate
, dcelemdescription
, dcelemformat
, dcelemidentifier
, dcelemlanguage
, dcelempublisher
, dcelemrelation
, dcelemrights
, dcelemsource
, dcelemsubject
, dcelemtitle
, dcelemtype
, dctLCSH
, dctMESH
, dctDDC
, dctLCC
, dctUDC
, dctDCMIType
, dctIMT
, dctTGN
, dctNLM
, dctBox
, dctISO3166
, dctISO639_2
, dctISO639_3
, dctPeriod
, dctPoint
, dctRFC1766
, dctRFC3066
, dctRFC4646
, dctRFC5646
, dctURI
, dctW3CDTF
, dctypeCollection
, dctypeDataset
, dctypeEvent
, dctypeImage
, dctypeInteractiveResource
, dctypeService
, dctypeSoftware
, dctypeSound
, dctypeText
, dctypePhysicalObject
, dctypeStillImage
, dctypeMovingImage
, dcammemberOf
, dcamVocabularyEncodingScheme
) where
import Swish.Namespace (Namespace, makeNamespace, ScopedName, makeNSScopedName)
import Swish.QName (LName)
import Data.Maybe (fromMaybe)
import Network.URI (parseURI)
import qualified Data.Text as T
toNS :: T.Text -> String -> Namespace
toNS :: Text -> String -> Namespace
toNS p :: Text
p = Maybe Text -> URI -> Namespace
makeNamespace (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
p) (URI -> Namespace) -> (String -> URI) -> String -> Namespace
forall b c a. (b -> c) -> (a -> b) -> a -> c
. URI -> Maybe URI -> URI
forall a. a -> Maybe a -> a
fromMaybe (String -> URI
forall a. HasCallStack => String -> a
error "Internal error processing DC URI") (Maybe URI -> URI) -> (String -> Maybe URI) -> String -> URI
forall b c a. (b -> c) -> (a -> b) -> a -> c
. String -> Maybe URI
parseURI
namespaceDCTERMS :: Namespace
namespaceDCTERMS :: Namespace
namespaceDCTERMS = Text -> String -> Namespace
toNS "dcterms" "http://purl.org/dc/terms/"
namespaceDCELEM :: Namespace
namespaceDCELEM :: Namespace
namespaceDCELEM = Text -> String -> Namespace
toNS "dcelem" "http://purl.org/dc/elements/1.1/"
namespaceDCAM :: Namespace
namespaceDCAM :: Namespace
namespaceDCAM = Text -> String -> Namespace
toNS "dcam" "http://purl.org/dc/dcam/"
namespaceDCTYPE :: Namespace
namespaceDCTYPE :: Namespace
namespaceDCTYPE = Text -> String -> Namespace
toNS "dctype" "http://purl.org/dc/dcmitype/"
toDCT, toDCE, toDCAM, toDCTYPE :: LName -> ScopedName
toDCT :: LName -> ScopedName
toDCT = Namespace -> LName -> ScopedName
makeNSScopedName Namespace
namespaceDCTERMS
toDCE :: LName -> ScopedName
toDCE = Namespace -> LName -> ScopedName
makeNSScopedName Namespace
namespaceDCELEM
toDCAM :: LName -> ScopedName
toDCAM = Namespace -> LName -> ScopedName
makeNSScopedName Namespace
namespaceDCAM
toDCTYPE :: LName -> ScopedName
toDCTYPE = Namespace -> LName -> ScopedName
makeNSScopedName Namespace
namespaceDCTYPE
dctAgent :: ScopedName
dctAgent :: ScopedName
dctAgent = LName -> ScopedName
toDCT "Agent"
dctAgentClass :: ScopedName
dctAgentClass :: ScopedName
dctAgentClass = LName -> ScopedName
toDCT "AgentClass"
dctBibliographicResource :: ScopedName
dctBibliographicResource :: ScopedName
dctBibliographicResource = LName -> ScopedName
toDCT "BibliographicResource"
dctFileFormat :: ScopedName
dctFileFormat :: ScopedName
dctFileFormat = LName -> ScopedName
toDCT "FileFormat"
dctFrequency :: ScopedName
dctFrequency :: ScopedName
dctFrequency = LName -> ScopedName
toDCT "Frequency"
dctJurisdiction :: ScopedName
dctJurisdiction :: ScopedName
dctJurisdiction = LName -> ScopedName
toDCT "Jurisdiction"
dctLicenseDocument :: ScopedName
dctLicenseDocument :: ScopedName
dctLicenseDocument = LName -> ScopedName
toDCT "LicenseDocument"
dctLinguisticSystem :: ScopedName
dctLinguisticSystem :: ScopedName
dctLinguisticSystem = LName -> ScopedName
toDCT "LinguisticSystem"
dctLocation :: ScopedName
dctLocation :: ScopedName
dctLocation = LName -> ScopedName
toDCT "Location"
dctLocationPeriodOrJurisdiction :: ScopedName
dctLocationPeriodOrJurisdiction :: ScopedName
dctLocationPeriodOrJurisdiction = LName -> ScopedName
toDCT "LocationPeriodOrJurisdiction"
dctMediaType :: ScopedName
dctMediaType :: ScopedName
dctMediaType = LName -> ScopedName
toDCT "MediaType"
dctMediaTypeOrExtent :: ScopedName
dctMediaTypeOrExtent :: ScopedName
dctMediaTypeOrExtent = LName -> ScopedName
toDCT "MediaTypeOrExtent"
dctMethodOfAccrual :: ScopedName
dctMethodOfAccrual :: ScopedName
dctMethodOfAccrual = LName -> ScopedName
toDCT "MethodOfAccrual"
dctMethodOfInstruction :: ScopedName
dctMethodOfInstruction :: ScopedName
dctMethodOfInstruction = LName -> ScopedName
toDCT "MethodOfInstruction"
dctPeriodOfTime :: ScopedName
dctPeriodOfTime :: ScopedName
dctPeriodOfTime = LName -> ScopedName
toDCT "PeriodOfTime"
dctPhysicalMedium :: ScopedName
dctPhysicalMedium :: ScopedName
dctPhysicalMedium = LName -> ScopedName
toDCT "PhysicalMedium"
dctPhysicalResource :: ScopedName
dctPhysicalResource :: ScopedName
dctPhysicalResource = LName -> ScopedName
toDCT "PhysicalResource"
dctPolicy :: ScopedName
dctPolicy :: ScopedName
dctPolicy = LName -> ScopedName
toDCT "Policy"
dctProvenanceStatement :: ScopedName
dctProvenanceStatement :: ScopedName
dctProvenanceStatement = LName -> ScopedName
toDCT "ProvenanceStatement"
dctRightsStatement :: ScopedName
dctRightsStatement :: ScopedName
dctRightsStatement = LName -> ScopedName
toDCT "RightsStatement"
dctSizeOrDuration :: ScopedName
dctSizeOrDuration :: ScopedName
dctSizeOrDuration = LName -> ScopedName
toDCT "SizeOrDuration"
dctStandard :: ScopedName
dctStandard :: ScopedName
dctStandard = LName -> ScopedName
toDCT "Standard"
dctabstract :: ScopedName
dctabstract :: ScopedName
dctabstract = LName -> ScopedName
toDCT "abstract"
dctaccessRights :: ScopedName
dctaccessRights :: ScopedName
dctaccessRights = LName -> ScopedName
toDCT "accessRights"
dctaccrualMethod :: ScopedName
dctaccrualMethod :: ScopedName
dctaccrualMethod = LName -> ScopedName
toDCT "accrualMethod"
dctaccrualPeriodicity :: ScopedName
dctaccrualPeriodicity :: ScopedName
dctaccrualPeriodicity = LName -> ScopedName
toDCT "accrualPeriodicity"
dctaccrualPolicy :: ScopedName
dctaccrualPolicy :: ScopedName
dctaccrualPolicy = LName -> ScopedName
toDCT "accrualPolicy"
dctalternative :: ScopedName
dctalternative :: ScopedName
dctalternative = LName -> ScopedName
toDCT "alternative"
dctaudience :: ScopedName
dctaudience :: ScopedName
dctaudience = LName -> ScopedName
toDCT "audience"
dctavailable :: ScopedName
dctavailable :: ScopedName
dctavailable = LName -> ScopedName
toDCT "available"
dctbibliographicCitation :: ScopedName
dctbibliographicCitation :: ScopedName
dctbibliographicCitation = LName -> ScopedName
toDCT "bibliographicCitation"
dctconformsTo :: ScopedName
dctconformsTo :: ScopedName
dctconformsTo = LName -> ScopedName
toDCT "conformsTo"
dctcontributor :: ScopedName
dctcontributor :: ScopedName
dctcontributor = LName -> ScopedName
toDCT "contributor"
dctcoverage :: ScopedName
dctcoverage :: ScopedName
dctcoverage = LName -> ScopedName
toDCT "coverage"
dctcreated :: ScopedName
dctcreated :: ScopedName
dctcreated = LName -> ScopedName
toDCT "created"
dctcreator :: ScopedName
dctcreator :: ScopedName
dctcreator = LName -> ScopedName
toDCT "creator"
dctdate :: ScopedName
dctdate :: ScopedName
dctdate = LName -> ScopedName
toDCT "date"
dctdateAccepted :: ScopedName
dctdateAccepted :: ScopedName
dctdateAccepted = LName -> ScopedName
toDCT "dateAccepted"
dctdateCopyrighted :: ScopedName
dctdateCopyrighted :: ScopedName
dctdateCopyrighted = LName -> ScopedName
toDCT "dateCopyrighted"
dctdateSubmitted :: ScopedName
dctdateSubmitted :: ScopedName
dctdateSubmitted = LName -> ScopedName
toDCT "dateSubmitted"
dctdescription :: ScopedName
dctdescription :: ScopedName
dctdescription = LName -> ScopedName
toDCT "description"
dcteducationLevel :: ScopedName
dcteducationLevel :: ScopedName
dcteducationLevel = LName -> ScopedName
toDCT "educationLevel"
dctextent :: ScopedName
dctextent :: ScopedName
dctextent = LName -> ScopedName
toDCT "extent"
dctformat :: ScopedName
dctformat :: ScopedName
dctformat = LName -> ScopedName
toDCT "format"
dcthasFormat :: ScopedName
dcthasFormat :: ScopedName
dcthasFormat = LName -> ScopedName
toDCT "hasFormat"
dcthasPart :: ScopedName
dcthasPart :: ScopedName
dcthasPart = LName -> ScopedName
toDCT "hasPart"
dcthasVersion :: ScopedName
dcthasVersion :: ScopedName
dcthasVersion = LName -> ScopedName
toDCT "hasVersion"
dctidentifier :: ScopedName
dctidentifier :: ScopedName
dctidentifier = LName -> ScopedName
toDCT "identifier"
dctinstructionalMethod :: ScopedName
dctinstructionalMethod :: ScopedName
dctinstructionalMethod = LName -> ScopedName
toDCT "instructionalMethod"
dctisFormatOf :: ScopedName
dctisFormatOf :: ScopedName
dctisFormatOf = LName -> ScopedName
toDCT "isFormatOf"
dctisPartOf :: ScopedName
dctisPartOf :: ScopedName
dctisPartOf = LName -> ScopedName
toDCT "isPartOf"
dctisReferencedBy :: ScopedName
dctisReferencedBy :: ScopedName
dctisReferencedBy = LName -> ScopedName
toDCT "isReferencedBy"
dctisReplacedBy :: ScopedName
dctisReplacedBy :: ScopedName
dctisReplacedBy = LName -> ScopedName
toDCT "isReplacedBy"
dctisRequiredBy :: ScopedName
dctisRequiredBy :: ScopedName
dctisRequiredBy = LName -> ScopedName
toDCT "isRequiredBy"
dctissued :: ScopedName
dctissued :: ScopedName
dctissued = LName -> ScopedName
toDCT "issued"
dctisVersionOf :: ScopedName
dctisVersionOf :: ScopedName
dctisVersionOf = LName -> ScopedName
toDCT "isVersionOf"
dctlanguage :: ScopedName
dctlanguage :: ScopedName
dctlanguage = LName -> ScopedName
toDCT "language"
dctlicense :: ScopedName
dctlicense :: ScopedName
dctlicense = LName -> ScopedName
toDCT "license"
dctmediator :: ScopedName
dctmediator :: ScopedName
dctmediator = LName -> ScopedName
toDCT "mediator"
dctmedium :: ScopedName
dctmedium :: ScopedName
dctmedium = LName -> ScopedName
toDCT "medium"
dctmodified :: ScopedName
dctmodified :: ScopedName
dctmodified = LName -> ScopedName
toDCT "modified"
dctprovenance :: ScopedName
dctprovenance :: ScopedName
dctprovenance = LName -> ScopedName
toDCT "provenance"
dctpublisher :: ScopedName
dctpublisher :: ScopedName
dctpublisher = LName -> ScopedName
toDCT "publisher"
dctreferences :: ScopedName
dctreferences :: ScopedName
dctreferences = LName -> ScopedName
toDCT "references"
dctrelation :: ScopedName
dctrelation :: ScopedName
dctrelation = LName -> ScopedName
toDCT "relation"
dctreplaces :: ScopedName
dctreplaces :: ScopedName
dctreplaces = LName -> ScopedName
toDCT "replaces"
dctrequires :: ScopedName
dctrequires :: ScopedName
dctrequires = LName -> ScopedName
toDCT "requires"
dctrights :: ScopedName
dctrights :: ScopedName
dctrights = LName -> ScopedName
toDCT "rights"
dctrightsHolder :: ScopedName
dctrightsHolder :: ScopedName
dctrightsHolder = LName -> ScopedName
toDCT "rightsHolder"
dctsource :: ScopedName
dctsource :: ScopedName
dctsource = LName -> ScopedName
toDCT "source"
dctspatial :: ScopedName
dctspatial :: ScopedName
dctspatial = LName -> ScopedName
toDCT "spatial"
dctsubject :: ScopedName
dctsubject :: ScopedName
dctsubject = LName -> ScopedName
toDCT "subject"
dcttableOfContents :: ScopedName
dcttableOfContents :: ScopedName
dcttableOfContents = LName -> ScopedName
toDCT "tableOfContents"
dcttemporal :: ScopedName
dcttemporal :: ScopedName
dcttemporal = LName -> ScopedName
toDCT "temporal"
dcttitle :: ScopedName
dcttitle :: ScopedName
dcttitle = LName -> ScopedName
toDCT "title"
dcttype :: ScopedName
dcttype :: ScopedName
dcttype = LName -> ScopedName
toDCT "type"
dctvalid :: ScopedName
dctvalid :: ScopedName
dctvalid = LName -> ScopedName
toDCT "valid"
dcelemcontributor :: ScopedName
dcelemcontributor :: ScopedName
dcelemcontributor = LName -> ScopedName
toDCE "contributor"
dcelemcoverage :: ScopedName
dcelemcoverage :: ScopedName
dcelemcoverage = LName -> ScopedName
toDCE "coverage"
dcelemcreator :: ScopedName
dcelemcreator :: ScopedName
dcelemcreator = LName -> ScopedName
toDCE "creator"
dcelemdate :: ScopedName
dcelemdate :: ScopedName
dcelemdate = LName -> ScopedName
toDCE "date"
dcelemdescription :: ScopedName
dcelemdescription :: ScopedName
dcelemdescription = LName -> ScopedName
toDCE "description"
dcelemformat :: ScopedName
dcelemformat :: ScopedName
dcelemformat = LName -> ScopedName
toDCE "format"
dcelemidentifier :: ScopedName
dcelemidentifier :: ScopedName
dcelemidentifier = LName -> ScopedName
toDCE "identifier"
dcelemlanguage :: ScopedName
dcelemlanguage :: ScopedName
dcelemlanguage = LName -> ScopedName
toDCE "language"
dcelempublisher :: ScopedName
dcelempublisher :: ScopedName
dcelempublisher = LName -> ScopedName
toDCE "publisher"
dcelemrelation :: ScopedName
dcelemrelation :: ScopedName
dcelemrelation = LName -> ScopedName
toDCE "relation"
dcelemrights :: ScopedName
dcelemrights :: ScopedName
dcelemrights = LName -> ScopedName
toDCE "rights"
dcelemsource :: ScopedName
dcelemsource :: ScopedName
dcelemsource = LName -> ScopedName
toDCE "source"
dcelemsubject :: ScopedName
dcelemsubject :: ScopedName
dcelemsubject = LName -> ScopedName
toDCE "subject"
dcelemtitle :: ScopedName
dcelemtitle :: ScopedName
dcelemtitle = LName -> ScopedName
toDCE "title"
dcelemtype :: ScopedName
dcelemtype :: ScopedName
dcelemtype = LName -> ScopedName
toDCE "type"
dctBox :: ScopedName
dctBox :: ScopedName
dctBox = LName -> ScopedName
toDCT "Box"
dctISO3166 :: ScopedName
dctISO3166 :: ScopedName
dctISO3166 = LName -> ScopedName
toDCT "ISO3166"
dctISO639_2 :: ScopedName
dctISO639_2 :: ScopedName
dctISO639_2 = LName -> ScopedName
toDCT "ISO639-2"
dctISO639_3 :: ScopedName
dctISO639_3 :: ScopedName
dctISO639_3 = LName -> ScopedName
toDCT "ISO639-3"
dctPeriod :: ScopedName
dctPeriod :: ScopedName
dctPeriod = LName -> ScopedName
toDCT "Period"
dctPoint :: ScopedName
dctPoint :: ScopedName
dctPoint = LName -> ScopedName
toDCT "Point"
dctRFC1766 :: ScopedName
dctRFC1766 :: ScopedName
dctRFC1766 = LName -> ScopedName
toDCT "RFC1766"
dctRFC3066 :: ScopedName
dctRFC3066 :: ScopedName
dctRFC3066 = LName -> ScopedName
toDCT "RFC3066"
dctRFC4646 :: ScopedName
dctRFC4646 :: ScopedName
dctRFC4646 = LName -> ScopedName
toDCT "RFC4646"
dctRFC5646 :: ScopedName
dctRFC5646 :: ScopedName
dctRFC5646 = LName -> ScopedName
toDCT "RFC5646"
dctURI :: ScopedName
dctURI :: ScopedName
dctURI = LName -> ScopedName
toDCT "URI"
dctW3CDTF :: ScopedName
dctW3CDTF :: ScopedName
dctW3CDTF = LName -> ScopedName
toDCT "W3CDTF"
dcammemberOf :: ScopedName
dcammemberOf :: ScopedName
dcammemberOf = LName -> ScopedName
toDCAM "memberOf"
dcamVocabularyEncodingScheme :: ScopedName
dcamVocabularyEncodingScheme :: ScopedName
dcamVocabularyEncodingScheme = LName -> ScopedName
toDCAM "VocabularyEncodingScheme"
dctypeCollection :: ScopedName
dctypeCollection :: ScopedName
dctypeCollection = LName -> ScopedName
toDCTYPE "Collection"
dctypeDataset :: ScopedName
dctypeDataset :: ScopedName
dctypeDataset = LName -> ScopedName
toDCTYPE "Dataset"
dctypeEvent :: ScopedName
dctypeEvent :: ScopedName
dctypeEvent = LName -> ScopedName
toDCTYPE "Event"
dctypeImage :: ScopedName
dctypeImage :: ScopedName
dctypeImage = LName -> ScopedName
toDCTYPE "Image"
dctypeInteractiveResource :: ScopedName
dctypeInteractiveResource :: ScopedName
dctypeInteractiveResource = LName -> ScopedName
toDCTYPE "InteractiveResource"
dctypeService :: ScopedName
dctypeService :: ScopedName
dctypeService = LName -> ScopedName
toDCTYPE "Service"
dctypeSoftware :: ScopedName
dctypeSoftware :: ScopedName
dctypeSoftware = LName -> ScopedName
toDCTYPE "Software"
dctypeSound :: ScopedName
dctypeSound :: ScopedName
dctypeSound = LName -> ScopedName
toDCTYPE "Sound"
dctypeText :: ScopedName
dctypeText :: ScopedName
dctypeText = LName -> ScopedName
toDCTYPE "Text"
dctypePhysicalObject :: ScopedName
dctypePhysicalObject :: ScopedName
dctypePhysicalObject = LName -> ScopedName
toDCTYPE "PhysicalObject"
dctypeStillImage :: ScopedName
dctypeStillImage :: ScopedName
dctypeStillImage = LName -> ScopedName
toDCTYPE "StillImage"
dctypeMovingImage :: ScopedName
dctypeMovingImage :: ScopedName
dctypeMovingImage = LName -> ScopedName
toDCTYPE "MovingImage"
dctLCSH :: ScopedName
dctLCSH :: ScopedName
dctLCSH = LName -> ScopedName
toDCT "LCSH"
dctMESH :: ScopedName
dctMESH :: ScopedName
dctMESH = LName -> ScopedName
toDCT "MESH"
dctDDC :: ScopedName
dctDDC :: ScopedName
dctDDC = LName -> ScopedName
toDCT "DDC"
dctLCC :: ScopedName
dctLCC :: ScopedName
dctLCC = LName -> ScopedName
toDCT "LCC"
dctUDC :: ScopedName
dctUDC :: ScopedName
dctUDC = LName -> ScopedName
toDCT "UDC"
dctDCMIType :: ScopedName
dctDCMIType :: ScopedName
dctDCMIType = LName -> ScopedName
toDCT "DCMIType"
dctIMT :: ScopedName
dctIMT :: ScopedName
dctIMT = LName -> ScopedName
toDCT "IMT"
dctTGN :: ScopedName
dctTGN :: ScopedName
dctTGN = LName -> ScopedName
toDCT "TGN"
dctNLM :: ScopedName
dctNLM :: ScopedName
dctNLM = LName -> ScopedName
toDCT "NLM"