Beispiel #1
0
 def loadWeather(self):
     weather = Weather()
     weather.loadData()
     for elem in weather.weatherTab:
         city = URIRef("http://example.org/station/" + elem[0])
         weather = URIRef("http://example.org/weather/")
         self.g.add((city, weather, Literal(elem[1])))