Skip to content

Instantly share code, notes, and snippets.

@edsu

edsu/gist:34334

Created Dec 10, 2008
Embed
What would you like to do?
import rdflib
FOAF = rdflib.Namespace('http://xmlns.com/foaf/0.1/')
g = rdflib.ConjunctiveGraph()
g.parse('http://inkdroid.org/ehs')
for person, jabber_id in g.subject_objects(FOAF['jabberID']):
print "%s has jabber ID %s" % (person, jabber_id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment