Skip to content

Instantly share code, notes, and snippets.

@edsu
Created December 10, 2008 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edsu/34332 to your computer and use it in GitHub Desktop.
Save edsu/34332 to your computer and use it in GitHub Desktop.
import rdflib
FOAF = rdflib.Namespace('http://xmlns.com/foaf/0.1/')
g = rdflib.ConjunctiveGraph()
g.parse('http://inkdroid.org/ehs')
for t in g.triples((None, FOAF['jabberID'], None)):
print t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment