Copyright | (c) 2003 Graham Klyne 2009 Vasili I Galchin 2011 Douglas Burke |
---|---|
License | GPL V2 |
Maintainer | Douglas Burke |
Stability | experimental |
Portability | OverloadedStrings |
Safe Haskell | None |
Language | Haskell98 |
This module defines some commonly used vocabulary terms from the RDF (http://www.w3.org/TR/rdf-syntax-grammar/) and RDF Schema (http://www.w3.org/TR/rdf-schema/) documents.
Synopsis
- namespaceRDF :: Namespace
- namespaceRDFS :: Namespace
- rdfRDF :: ScopedName
- rdfDescription :: ScopedName
- rdfID :: ScopedName
- rdfAbout :: ScopedName
- rdfParseType :: ScopedName
- rdfResource :: ScopedName
- rdfLi :: ScopedName
- rdfNodeID :: ScopedName
- rdfDatatype :: ScopedName
- rdf1 :: ScopedName
- rdf2 :: ScopedName
- rdfn :: Word32 -> ScopedName
- rdfsResource :: ScopedName
- rdfsClass :: ScopedName
- rdfsLiteral :: ScopedName
- rdfsDatatype :: ScopedName
- rdfXMLLiteral :: ScopedName
- rdfProperty :: ScopedName
- rdfsRange :: ScopedName
- rdfsDomain :: ScopedName
- rdfType :: ScopedName
- rdfsSubClassOf :: ScopedName
- rdfsSubPropertyOf :: ScopedName
- rdfsLabel :: ScopedName
- rdfsComment :: ScopedName
- rdfsContainer :: ScopedName
- rdfBag :: ScopedName
- rdfSeq :: ScopedName
- rdfAlt :: ScopedName
- rdfsContainerMembershipProperty :: ScopedName
- rdfsMember :: ScopedName
- rdfList :: ScopedName
- rdfFirst :: ScopedName
- rdfRest :: ScopedName
- rdfNil :: ScopedName
- rdfStatement :: ScopedName
- rdfSubject :: ScopedName
- rdfPredicate :: ScopedName
- rdfObject :: ScopedName
- rdfsSeeAlso :: ScopedName
- rdfsIsDefinedBy :: ScopedName
- rdfValue :: ScopedName
Namespaces
namespaceRDF :: Namespace Source #
Maps rdf
to http://www.w3.org/1999/02/22-rdf-syntax-ns#.
namespaceRDFS :: Namespace Source #
Maps rdfs
to http://www.w3.org/2000/01/rdf-schema#.
RDF terms
These terms are described in http://www.w3.org/TR/rdf-syntax-grammar/; the version used is "W3C Recommendation 10 February 2004", http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/.
Some terms are listed within the RDF Schema terms below since their definition is given within the RDF Schema document.
rdfRDF :: ScopedName Source #
rdf:RDF
.
rdfDescription :: ScopedName Source #
rdf:Description
.
rdfID :: ScopedName Source #
rdf:ID
.
rdfAbout :: ScopedName Source #
rdf:about
.
rdfParseType :: ScopedName Source #
rdf:parseType
.
rdfResource :: ScopedName Source #
rdf:resource
.
rdfLi :: ScopedName Source #
rdf:li
.
rdfNodeID :: ScopedName Source #
rdf:nodeID
.
rdfDatatype :: ScopedName Source #
rdf:datatype
.
rdf1 :: ScopedName Source #
rdf:_1
.
rdf2 :: ScopedName Source #
rdf:_2
.
rdfn :: Word32 -> ScopedName Source #
Create a rdf:_n
entity.
There is no check that the argument is not 0, so it is
possible to create the un-defined label rdf:_0
.
RDF Schema terms
These are defined by http://www.w3.org/TR/rdf-schema/; the version used is "W3C Recommendation 10 February 2004", http://www.w3.org/TR/2004/REC-rdf-schema-20040210/.
Classes
See the "Classes" section at http://www.w3.org/TR/rdf-schema/#ch_classes for more information.
rdfsResource :: ScopedName Source #
rdfs:Resource
from http://www.w3.org/TR/rdf-schema/#ch_resource.
rdfsClass :: ScopedName Source #
rdfs:Class
from http://www.w3.org/TR/rdf-schema/#ch_class.
rdfsLiteral :: ScopedName Source #
rdfs:Literal
from http://www.w3.org/TR/rdf-schema/#ch_literal.
rdfsDatatype :: ScopedName Source #
rdfs:Datatype
from http://www.w3.org/TR/rdf-schema/#ch_datatype.
rdfXMLLiteral :: ScopedName Source #
rdf:XMLLiteral
from http://www.w3.org/TR/rdf-schema/#ch_xmlliteral.
rdfProperty :: ScopedName Source #
rdf:Property
from http://www.w3.org/TR/rdf-schema/#ch_property.
Properties
See the "Properties" section at http://www.w3.org/TR/rdf-schema/#ch_classes for more information.
rdfsRange :: ScopedName Source #
rdfs:range
from http://www.w3.org/TR/rdf-schema/#ch_range.
rdfsDomain :: ScopedName Source #
rdfs:domain
from http://www.w3.org/TR/rdf-schema/#ch_domain.
rdfType :: ScopedName Source #
rdf:type
from http://www.w3.org/TR/rdf-schema/#ch_type.
rdfsSubClassOf :: ScopedName Source #
rdfs:subClassOf
from http://www.w3.org/TR/rdf-schema/#ch_subclassof.
rdfsSubPropertyOf :: ScopedName Source #
rdfs:subPropertyOf
from http://www.w3.org/TR/rdf-schema/#ch_subpropertyof.
rdfsLabel :: ScopedName Source #
rdfs:label
from http://www.w3.org/TR/rdf-schema/#ch_label.
rdfsComment :: ScopedName Source #
rdfs:comment
from http://www.w3.org/TR/rdf-schema/#ch_comment.
Containers
See the "Container Classes and Properties" section at http://www.w3.org/TR/rdf-schema/#ch_containervocab.
rdfsContainer :: ScopedName Source #
rdfs:Container
from http://www.w3.org/TR/rdf-schema/#ch_container.
rdfBag :: ScopedName Source #
rdf:Bag
from http://www.w3.org/TR/rdf-schema/#ch_bag.
rdfSeq :: ScopedName Source #
rdf:Seq
from http://www.w3.org/TR/rdf-schema/#ch_seq.
rdfAlt :: ScopedName Source #
rdf:Alt
from http://www.w3.org/TR/rdf-schema/#ch_alt.
rdfsContainerMembershipProperty :: ScopedName Source #
rdfs:ContainerMembershipProperty
from http://www.w3.org/TR/rdf-schema/#ch_containermembershipproperty.
rdfsMember :: ScopedName Source #
rdfs:member
from http://www.w3.org/TR/rdf-schema/#ch_member.
Collections
See the "Collections" section at http://www.w3.org/TR/rdf-schema/#ch_collectionvocab.
rdfList :: ScopedName Source #
rdf:List
from http://www.w3.org/TR/rdf-schema/#ch_list.
rdfFirst :: ScopedName Source #
rdf:first
from http://www.w3.org/TR/rdf-schema/#ch_first.
rdfRest :: ScopedName Source #
rdf:rest
from http://www.w3.org/TR/rdf-schema/#ch_rest.
rdfNil :: ScopedName Source #
rdf:nil
from http://www.w3.org/TR/rdf-schema/#ch_nil.
Reification Vocabulary
See the "Reification Vocabulary" section at http://www.w3.org/TR/rdf-schema/#ch_reificationvocab.
rdfStatement :: ScopedName Source #
rdf:Statement
from http://www.w3.org/TR/rdf-schema/#ch_statement.
rdfSubject :: ScopedName Source #
rdf:subject
from http://www.w3.org/TR/rdf-schema/#ch_subject.
rdfPredicate :: ScopedName Source #
rdf:predicate
from http://www.w3.org/TR/rdf-schema/#ch_predicate.
rdfObject :: ScopedName Source #
rdf:object
from http://www.w3.org/TR/rdf-schema/#ch_object.
Utility Properties
See the "Utility Properties" section at http://www.w3.org/TR/rdf-schema/#ch_utilvocab.
rdfsSeeAlso :: ScopedName Source #
rdfs:seeAlso
from http://www.w3.org/TR/rdf-schema/#ch_seealso.
rdfsIsDefinedBy :: ScopedName Source #
rdfs:isDefinedBy
from http://www.w3.org/TR/rdf-schema/#ch_isdefinedby.
rdfValue :: ScopedName Source #
rdf:value
from http://www.w3.org/TR/rdf-schema/#ch_value.