Posted on 06/09/2009, 01:16, by
Tomás Vírseda, under
News.
Hi everybody,
a new version of vazaar have been released for testing purposes. Although it’s stable you can consider it as proof of concept.
This version is a redesign of the previous one. While the old one was developed in C, the new one is being developed with Python. Also, I’ve been studying a new approach. Instead [...]
Tags:
0.4,
beautifulsoup,
collection,
feedparser,
filter,
lxml,
PIM,
pygtk,
pynotify,
python,
rdflib,
release,
resources,
tag widget,
vazaar No Comments |
Read the rest of this entry »
Posted on 26/08/2009, 10:24, by
Tomás Vírseda, under
Workshop.
After some headaches I’ve found how to write dynamic SPARQL queries by passing parameters. For example, to query graph about resources collected last hour this code could be a first approach:
#!/usr/bin/env python
# Dynamic query (example code)
from datetime import datetime
import rdflib
from namespaces import XSD
def last_day():
“”" get date “”"
now [...]