Package RDFClosure :: Module RDFS'
[hide private]
[frames] | no frames]

Source Code for Module RDFClosure.RDFS'

 1  """ 
 2  RDF(S) terms. Note that the set of terms is I{complete}, ie, it includes I{all} OWL 2 terms, regardless of whether the term is 
 3  used in OWL 2 RL or not. 
 4   
 5  @requires: U{RDFLib<https://github.com/RDFLib/rdflib>}, 4.0.0 and higher 
 6  @license: This software is available for use under the U{W3C Software License<http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231>} 
 7  @organization: U{World Wide Web Consortium<http://www.w3.org>} 
 8  @author: U{Ivan Herman<a href="http://www.w3.org/People/Ivan/">} 
 9  """ 
10   
11  import rdflib 
12  from rdflib                             import Namespace 
13   
14  RDFNS           = Namespace("http://www.w3.org/1999/02/22-rdf-syntax-ns#") 
15  RDFSNS          = Namespace("http://www.w3.org/2000/01/rdf-schema#") 
16   
17  # RDF Classes 
18  Seq             = RDFNS["Seq"] 
19  Bag             = RDFNS["Bag"] 
20  Alt             = RDFNS["Alt"] 
21  Statement       = RDFNS["Statement"] 
22  Property        = RDFNS["Property"] 
23  XMLLiteral      = RDFNS["XMLLiteral"] 
24  HTMLLiteral     = RDFNS["HTML"] 
25  LangString      = RDFNS["LangString"] 
26  List            = RDFNS["List"] 
27   
28  # RDF Properties 
29  subject         = RDFNS["subject"] 
30  predicate       = RDFNS["predicate"] 
31  object          = RDFNS["object"] 
32  type            = RDFNS["type"] 
33  value           = RDFNS["value"] 
34  first           = RDFNS["first"] 
35  rest            = RDFNS["rest"] 
36  # and _n where n is a non-negative integer 
37   
38  # RDF Resources 
39  nil             = RDFNS["nil"] 
40   
41  Resource                                        = RDFSNS["Resource"] 
42  Class                                           = RDFSNS["Class"] 
43  subClassOf                                      = RDFSNS["subClassOf"] 
44  subPropertyOf                           = RDFSNS["subPropertyOf"] 
45  comment                                         = RDFSNS["comment"] 
46  label                                           = RDFSNS["label"] 
47  domain                                          = RDFSNS["domain"] 
48  range                                           = RDFSNS["range"] 
49  seeAlso                                         = RDFSNS["seeAlso"] 
50  isDefinedBy                                     = RDFSNS["isDefinedBy"] 
51  Literal                                         = RDFSNS["Literal"] 
52  Container                                       = RDFSNS["Container"] 
53  ContainerMembershipProperty     = RDFSNS["ContainerMembershipProperty"] 
54  member                                          = RDFSNS["member"] 
55  Datatype                                        = RDFSNS["Datatype"] 
56