Created
December 10, 2008 14:16
-
-
Save edsu/34334 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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