112 (147)

Retrieving RDF Data

   # do something with (p,o) pairs
   for (p,o) in triples.predicate_objects(subject) :
 	    do_something(p,o) 
A slide showing the simple RDFLib pattern as graph pattern

SPARQL