Commits

Anonymous committed 3e1a174

documentation tweaks

  • Participants
  • Parent commits bbb0f39

Comments (0)

Files changed (1)

     class CountryClass(Class):
         def __init__(self, **kw):
 	    super(CountryClass, self).__init__(EX.Country, **kw)
-	    self.subClassOf = PlaceClass(graph=self.graph, factoryGraph=self.factoryGraph)
+	    self.subClassOf = PlaceClass(graph=self.graph)
 	    self.factoryClass = Country
 	    self.label = "Country"
 
     class CityClass(Class):
         def __init__(self, **kw):
 	    super(CityClass, self).__init__(EX.City, **kw)
-	    self.subClassOf = PlaceClass(graph=self.graph, factoryGraph=self.factoryGraph)
+	    self.subClassOf = PlaceClass(graph=self.graph)
 	    self.factoryClass = City
 	    self.label = "City"
 
             ex:Place;
         rdfs:label "Scotland". 
 
+    ex:russia a ex:Country,
+            ex:Place;
+        rdfs:label "Russia".
+
 The second strategy is backward chaining and is a little more complex to
 set up. The advantage is that any required facts that are not explicitly
 in the data graph are computed on the fly so don't take up extra disk