Module Expr Str ImportFrom alias alias alias ImportFrom alias alias If CompareEq NameLoad Str body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call NameLoad Num ImportFrom alias Expr Call NameLoad Call NameLoad NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr ListComp TupleLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameStore NameLoad Print Call AttributeLoad NameLoad attr keyword Str Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr
N/A N/A 

This is a simple primer using some of the 
example stuff in the Primer on N3:

http://www.w3.org/2000/10/swap/Primer

 rdflib ConjunctiveGraph Namespace Literal rdflib.namespace OWL DC N/A N/A __name__ __main__ N/A N/A primer N/A ConjunctiveGraph N/A myNS N/A Namespace # N/A N/A N/A primer add N/A N/A myNS pat N/A myNS knows N/A myNS jo N/A N/A N/A primer add N/A N/A myNS N/A pat N/A myNS N/A age N/A Literal 24 pprint pprint N/A N/A pprint N/A list primer N/A N/A pprint N/A list N/A N/A primer subjects N/A N/A pprint N/A list N/A N/A primer predicates N/A N/A pprint N/A list N/A N/A primer objects N/A N/A pprint N/A list N/A N/A primer predicate_objects N/A myNS pat N/A N/A pprint N/A list N/A N/A primer subject_objects N/A myNS age N/A primer N/A ConjunctiveGraph N/A mySource 


    @prefix : <http://www.w3.org/2000/10/swap/Primer#>.
    @prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix owl:  <http://www.w3.org/2002/07/owl#> .
    @prefix dc:  <http://purl.org/dc/elements/1.1/> .
    @prefix foo: <http://www.w3.org/2000/10/swap/Primer#>.
    @prefix swap: <http://www.w3.org/2000/10/swap/>.

    <> dc:title
      "Primer - Getting into the Semantic Web and RDF using N3".

    <#pat> <#knows> <#jo> .
    <#pat> <#age> 24 .
    <#al> is <#child> of <#pat> .

    <#pat> <#child>  <#al>, <#chaz>, <#mo> ;
           <#age>    24 ;
           <#eyecolor> "blue" .


    :Person a rdfs:Class.

    :Pat a :Person.

    :Woman a rdfs:Class; rdfs:subClassOf :Person .

    :sister a rdf:Property.

    :sister rdfs:domain :Person; 
            rdfs:range :Woman.

    :Woman = foo:FemaleAdult .
    :Title a rdf:Property; = dc:title .



     N/A myNS N/A Namespace http://www.w3.org/2000/10/swap/Primer# N/A N/A N/A primer bind myNS N/A N/A N/A primer bind owl OWL N/A N/A N/A primer bind dc DC N/A N/A N/A primer bind swap http://www.w3.org/2000/10/swap/ N/A N/A N/A primer parse data mySource format n3 N/A N/A N/A x y z N/A N/A x y z primer N/A N/A N/A primer serialize format n3 N/A N/A list N/A N/A primer namespaces N/A N/A list N/A N/A primer objects N/A myNS pat N/A myNS child