{-# LANGUAGE OverloadedStrings #-}
module Swish.RDF.Vocabulary.SIOC
(
namespaceSIOC
, siocCommunity
, siocContainer
, siocForum
, siocItem
, siocPost
, siocRole
, siocSite
, siocSpace
, siocThread
, siocUserAccount
, siocUsergroup
, siocabout
, siocaccount_of
, siocaddressed_to
, siocadministrator_of
, siocattachment
, siocavatar
, sioccontainer_of
, sioccontent
, sioccreator_of
, siocearlier_version
, siocemail
, siocemail_sha1
, siocembeds_knowledge
, siocfeed
, siocfollows
, siocfunction_of
, siochas_administrator
, siochas_container
, siochas_creator
, siochas_discussion
, siochas_function
, siochas_host
, siochas_member
, siochas_moderator
, siochas_modifier
, siochas_owner
, siochas_parent
, siochas_reply
, siochas_scope
, siochas_space
, siochas_subscriber
, siochas_usergroup
, siochost_of
, siocid
, siocip_address
, sioclast_activity_date
, sioclast_item_date
, sioclast_reply_date
, sioclater_version
, sioclatest_version
, sioclink
, sioclinks_to
, siocmember_of
, siocmoderator_of
, siocmodifier_of
, siocname
, siocnext_by_date
, siocnext_version
, siocnote
, siocnum_authors
, siocnum_items
, siocnum_replies
, siocnum_threads
, siocnum_views
, siocowner_of
, siocparent_of
, siocprevious_by_date
, siocprevious_version
, siocrelated_to
, siocreply_of
, siocscope_of
, siocsibling
, siocspace_of
, siocsubscriber_of
, sioctopic
, siocusergroup_of
)
where
import Swish.Namespace (Namespace, makeNamespace, ScopedName, makeNSScopedName)
import Swish.QName (LName)
import Data.Maybe (fromMaybe)
import Network.URI (URI, parseURI)
siocURI :: URI
siocURI :: URI
siocURI = URI -> Maybe URI -> URI
forall a. a -> Maybe a -> a
fromMaybe ([Char] -> URI
forall a. HasCallStack => [Char] -> a
error [Char]
"Internal error processing SIOC URI") (Maybe URI -> URI) -> Maybe URI -> URI
forall a b. (a -> b) -> a -> b
$ [Char] -> Maybe URI
parseURI [Char]
"http://rdfs.org/sioc/ns#"
namespaceSIOC :: Namespace
namespaceSIOC :: Namespace
namespaceSIOC = Maybe Text -> URI -> Namespace
makeNamespace (Text -> Maybe Text
forall a. a -> Maybe a
Just Text
"sioc") URI
siocURI
toS :: LName -> ScopedName
toS :: LName -> ScopedName
toS = Namespace -> LName -> ScopedName
makeNSScopedName Namespace
namespaceSIOC
siocCommunity :: ScopedName
= LName -> ScopedName
toS LName
"Community"
siocContainer :: ScopedName
siocContainer :: ScopedName
siocContainer = LName -> ScopedName
toS LName
"Container"
siocForum :: ScopedName
siocForum :: ScopedName
siocForum = LName -> ScopedName
toS LName
"Forum"
siocItem :: ScopedName
siocItem :: ScopedName
siocItem = LName -> ScopedName
toS LName
"Item"
siocPost :: ScopedName
siocPost :: ScopedName
siocPost = LName -> ScopedName
toS LName
"Post"
siocRole :: ScopedName
siocRole :: ScopedName
siocRole = LName -> ScopedName
toS LName
"Role"
siocSite :: ScopedName
siocSite :: ScopedName
siocSite = LName -> ScopedName
toS LName
"Site"
siocSpace :: ScopedName
siocSpace :: ScopedName
siocSpace = LName -> ScopedName
toS LName
"Space"
siocThread :: ScopedName
siocThread :: ScopedName
siocThread = LName -> ScopedName
toS LName
"Thread"
siocUserAccount :: ScopedName
siocUserAccount :: ScopedName
siocUserAccount = LName -> ScopedName
toS LName
"UserAccount"
siocUsergroup :: ScopedName
siocUsergroup :: ScopedName
siocUsergroup = LName -> ScopedName
toS LName
"Usergroup"
siocabout :: ScopedName
siocabout :: ScopedName
siocabout = LName -> ScopedName
toS LName
"about"
siocaccount_of :: ScopedName
siocaccount_of :: ScopedName
siocaccount_of = LName -> ScopedName
toS LName
"account_of"
siocaddressed_to :: ScopedName
siocaddressed_to :: ScopedName
siocaddressed_to = LName -> ScopedName
toS LName
"addressed_to"
siocadministrator_of :: ScopedName
siocadministrator_of :: ScopedName
siocadministrator_of = LName -> ScopedName
toS LName
"administrator_of"
siocattachment :: ScopedName
siocattachment :: ScopedName
siocattachment = LName -> ScopedName
toS LName
"attachment"
siocavatar :: ScopedName
siocavatar :: ScopedName
siocavatar = LName -> ScopedName
toS LName
"avatar"
sioccontainer_of :: ScopedName
sioccontainer_of :: ScopedName
sioccontainer_of = LName -> ScopedName
toS LName
"container_of"
sioccontent :: ScopedName
sioccontent :: ScopedName
sioccontent = LName -> ScopedName
toS LName
"content"
sioccreator_of :: ScopedName
sioccreator_of :: ScopedName
sioccreator_of = LName -> ScopedName
toS LName
"creator_of"
siocearlier_version :: ScopedName
siocearlier_version :: ScopedName
siocearlier_version = LName -> ScopedName
toS LName
"earlier_version"
siocemail :: ScopedName
siocemail :: ScopedName
siocemail = LName -> ScopedName
toS LName
"email"
siocemail_sha1 :: ScopedName
siocemail_sha1 :: ScopedName
siocemail_sha1 = LName -> ScopedName
toS LName
"email_sha1"
siocembeds_knowledge :: ScopedName
siocembeds_knowledge :: ScopedName
siocembeds_knowledge = LName -> ScopedName
toS LName
"embeds_knowledge"
siocfeed :: ScopedName
siocfeed :: ScopedName
siocfeed = LName -> ScopedName
toS LName
"feed"
siocfollows :: ScopedName
siocfollows :: ScopedName
siocfollows = LName -> ScopedName
toS LName
"follows"
siocfunction_of :: ScopedName
siocfunction_of :: ScopedName
siocfunction_of = LName -> ScopedName
toS LName
"function_of"
siochas_administrator :: ScopedName
siochas_administrator :: ScopedName
siochas_administrator = LName -> ScopedName
toS LName
"has_administrator"
siochas_container :: ScopedName
siochas_container :: ScopedName
siochas_container = LName -> ScopedName
toS LName
"has_container"
siochas_creator :: ScopedName
siochas_creator :: ScopedName
siochas_creator = LName -> ScopedName
toS LName
"has_creator"
siochas_discussion :: ScopedName
siochas_discussion :: ScopedName
siochas_discussion = LName -> ScopedName
toS LName
"has_discussion"
siochas_function :: ScopedName
siochas_function :: ScopedName
siochas_function = LName -> ScopedName
toS LName
"has_function"
siochas_host :: ScopedName
siochas_host :: ScopedName
siochas_host = LName -> ScopedName
toS LName
"has_host"
siochas_member :: ScopedName
siochas_member :: ScopedName
siochas_member = LName -> ScopedName
toS LName
"has_member"
siochas_moderator :: ScopedName
siochas_moderator :: ScopedName
siochas_moderator = LName -> ScopedName
toS LName
"has_moderator"
siochas_modifier :: ScopedName
siochas_modifier :: ScopedName
siochas_modifier = LName -> ScopedName
toS LName
"has_modifier"
siochas_owner :: ScopedName
siochas_owner :: ScopedName
siochas_owner = LName -> ScopedName
toS LName
"has_owner"
siochas_parent :: ScopedName
siochas_parent :: ScopedName
siochas_parent = LName -> ScopedName
toS LName
"has_parent"
siochas_reply :: ScopedName
siochas_reply :: ScopedName
siochas_reply = LName -> ScopedName
toS LName
"has_reply"
siochas_scope :: ScopedName
siochas_scope :: ScopedName
siochas_scope = LName -> ScopedName
toS LName
"has_scope"
siochas_space :: ScopedName
siochas_space :: ScopedName
siochas_space = LName -> ScopedName
toS LName
"has_space"
siochas_subscriber :: ScopedName
siochas_subscriber :: ScopedName
siochas_subscriber = LName -> ScopedName
toS LName
"has_subscriber"
siochas_usergroup :: ScopedName
siochas_usergroup :: ScopedName
siochas_usergroup = LName -> ScopedName
toS LName
"has_usergroup"
siochost_of :: ScopedName
siochost_of :: ScopedName
siochost_of = LName -> ScopedName
toS LName
"host_of"
siocid :: ScopedName
siocid :: ScopedName
siocid = LName -> ScopedName
toS LName
"id"
siocip_address :: ScopedName
siocip_address :: ScopedName
siocip_address = LName -> ScopedName
toS LName
"ip_address"
sioclast_activity_date :: ScopedName
sioclast_activity_date :: ScopedName
sioclast_activity_date = LName -> ScopedName
toS LName
"last_activity_date"
sioclast_item_date :: ScopedName
sioclast_item_date :: ScopedName
sioclast_item_date = LName -> ScopedName
toS LName
"last_item_date"
sioclast_reply_date :: ScopedName
sioclast_reply_date :: ScopedName
sioclast_reply_date = LName -> ScopedName
toS LName
"last_reply_date"
sioclater_version :: ScopedName
sioclater_version :: ScopedName
sioclater_version = LName -> ScopedName
toS LName
"later_version"
sioclatest_version :: ScopedName
sioclatest_version :: ScopedName
sioclatest_version = LName -> ScopedName
toS LName
"latest_version"
sioclink :: ScopedName
sioclink :: ScopedName
sioclink = LName -> ScopedName
toS LName
"link"
sioclinks_to :: ScopedName
sioclinks_to :: ScopedName
sioclinks_to = LName -> ScopedName
toS LName
"links_to"
siocmember_of :: ScopedName
siocmember_of :: ScopedName
siocmember_of = LName -> ScopedName
toS LName
"member_of"
siocmoderator_of :: ScopedName
siocmoderator_of :: ScopedName
siocmoderator_of = LName -> ScopedName
toS LName
"moderator_of"
siocmodifier_of :: ScopedName
siocmodifier_of :: ScopedName
siocmodifier_of = LName -> ScopedName
toS LName
"modifier_of"
siocname :: ScopedName
siocname :: ScopedName
siocname = LName -> ScopedName
toS LName
"name"
siocnext_by_date :: ScopedName
siocnext_by_date :: ScopedName
siocnext_by_date = LName -> ScopedName
toS LName
"next_by_date"
siocnext_version :: ScopedName
siocnext_version :: ScopedName
siocnext_version = LName -> ScopedName
toS LName
"next_version"
siocnote :: ScopedName
siocnote :: ScopedName
siocnote = LName -> ScopedName
toS LName
"note"
siocnum_authors :: ScopedName
siocnum_authors :: ScopedName
siocnum_authors = LName -> ScopedName
toS LName
"num_authors"
siocnum_items :: ScopedName
siocnum_items :: ScopedName
siocnum_items = LName -> ScopedName
toS LName
"num_items"
siocnum_replies :: ScopedName
siocnum_replies :: ScopedName
siocnum_replies = LName -> ScopedName
toS LName
"num_replies"
siocnum_threads :: ScopedName
siocnum_threads :: ScopedName
siocnum_threads = LName -> ScopedName
toS LName
"num_threads"
siocnum_views :: ScopedName
siocnum_views :: ScopedName
siocnum_views = LName -> ScopedName
toS LName
"num_views"
siocowner_of :: ScopedName
siocowner_of :: ScopedName
siocowner_of = LName -> ScopedName
toS LName
"owner_of"
siocparent_of :: ScopedName
siocparent_of :: ScopedName
siocparent_of = LName -> ScopedName
toS LName
"parent_of"
siocprevious_by_date :: ScopedName
siocprevious_by_date :: ScopedName
siocprevious_by_date = LName -> ScopedName
toS LName
"previous_by_date"
siocprevious_version :: ScopedName
siocprevious_version :: ScopedName
siocprevious_version = LName -> ScopedName
toS LName
"previous_version"
siocrelated_to :: ScopedName
siocrelated_to :: ScopedName
siocrelated_to = LName -> ScopedName
toS LName
"related_to"
siocreply_of :: ScopedName
siocreply_of :: ScopedName
siocreply_of = LName -> ScopedName
toS LName
"reply_of"
siocscope_of :: ScopedName
siocscope_of :: ScopedName
siocscope_of = LName -> ScopedName
toS LName
"scope_of"
siocsibling :: ScopedName
siocsibling :: ScopedName
siocsibling = LName -> ScopedName
toS LName
"sibling"
siocspace_of :: ScopedName
siocspace_of :: ScopedName
siocspace_of = LName -> ScopedName
toS LName
"space_of"
siocsubscriber_of :: ScopedName
siocsubscriber_of :: ScopedName
siocsubscriber_of = LName -> ScopedName
toS LName
"subscriber_of"
sioctopic :: ScopedName
sioctopic :: ScopedName
sioctopic = LName -> ScopedName
toS LName
"topic"
siocusergroup_of :: ScopedName
siocusergroup_of :: ScopedName
siocusergroup_of = LName -> ScopedName
toS LName
"usergroup_of"