public
Description: Small RDF python scraper for gumtree ads (include geocoding)
Clone URL: git://github.com/moustaki/flatscrap.git
Search Repo:
Oops... fixed links to depictions of flats
moustaki (author)
Thu Mar 06 11:15:22 -0800 2008
commit  a03198961c33ad96212630d7517858c91cca4eef
tree    5e14418c3c3fd71a81ee6f6d568f693e145eba80
parent  419a804d446669005734e621d0990d3078bf34b4
...
56
57
58
 
59
60
61
62
63
64
 
65
66
67
...
56
57
58
59
60
61
62
63
64
 
65
66
67
68
0
@@ -56,12 +56,13 @@
0
 flat = BNode()
0
 p = BNode()
0
 e = URIRef(email)
0
+i = URIRef(image)
0
 
0
 graph.add((flat,RDF.type,GT['Flat']))
0
 graph.add((flat,FOAF['based_near'],p))
0
 graph.add((p,RDFS.label,Literal(location)))
0
 graph.add((flat,FOAF['mbox'],e))
0
-graph.add((flat,FOAF['depiction'],image))
0
+graph.add((flat,FOAF['depiction'],i))
0
 graph.add((flat,DC['title'],Literal(title)))
0
 graph.add((flat,DC['description'],Literal(description)))
0
 

Comments

    No one has commented yet.