
    4Ysh*                     b   d Z dZdZdZg dZddlZddlZ ej                  e      Z		 ddl
Z
 ee
d      saej                  Uej                  j                         r;e	j                  ej                          e	j#                   ej$                                [
[d	Z	 d
Z	 ddlmZmZmZmZ ddlmZm Z m!Z! ddl"m#Z# ddl"m$Z$ ddl%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@ e#sJ e$sJ ddl"mAZA ddlB y# e$ r ddlZ ej*                  de       [Y w xY w)a(  A pure Python package providing the core RDF constructs.

The packages is intended to provide the core RDF types and interfaces
for working with RDF. The package defines a plugin interface for
parsers, stores, and serializers that other packages can use to
implement parsers, stores, and serializers that will plug into the
rdflib package.

The primary interface `rdflib` exposes to work with RDF is
`rdflib.graph.Graph`.

A tiny example:

    >>> from rdflib import Graph, URIRef, Literal

    >>> g = Graph()
    >>> result = g.parse("http://www.w3.org/2000/10/swap/test/meet/blue.rdf")

    >>> print("graph has %s statements." % len(g))
    graph has 4 statements.
    >>>
    >>> for s, p, o in g:
    ...     if (s, p, o) not in g:
    ...         raise Exception("It better be!")

    >>> s = g.serialize(format='nt')
    >>>
    >>> sorted(g) == [
    ...  (URIRef("http://meetings.example.com/cal#m1"),
    ...   URIRef("http://www.example.org/meeting_organization#homePage"),
    ...   URIRef("http://meetings.example.com/m1/hp")),
    ...  (URIRef("http://www.example.org/people#fred"),
    ...   URIRef("http://www.example.org/meeting_organization#attending"),
    ...   URIRef("http://meetings.example.com/cal#m1")),
    ...  (URIRef("http://www.example.org/people#fred"),
    ...   URIRef("http://www.example.org/personal_details#GivenName"),
    ...   Literal("Fred")),
    ...  (URIRef("http://www.example.org/people#fred"),
    ...   URIRef("http://www.example.org/personal_details#hasEmail"),
    ...   URIRef("mailto:fred@example.com"))
    ... ]
    True

zrestructuredtext enz6.1.1z
2021-12-20)"URIRefBNodeLiteralVariable	NamespaceDatasetGraphConjunctiveGraphBRICKCSVWDCDCATDCMITYPEDCTERMSDOAPFOAFODRL2ORGOWLPROFPROVQBRDFRDFSSDOSHSKOSSOSASSNTIMEVANNVOIDXSDutil    N__file__z__main__ already importedTF)r   r   r   r   )r   r   r	   )plugin)query)r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   XMLNSr"   r   )r#   )*)C__doc____docformat____version____date____all__syslogging	getLogger__name__logger__main__hasattrstdoutstderrisattysetLevelINFO
addHandlerStreamHandlerImportErrorwarningswarnImportWarningNORMALIZE_LITERALSDAWG_LITERAL_COLLATIONrdflib.termr   r   r   r   rdflib.graphr   r   r	   rdflibr&   r'   rdflib.namespacer
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r(   r"   r   r#   rdflib.container     o/var/www/sten-cake5-migrate2.hellocrow.space/lexinfo-master/env/lib/python3.12/site-packages/rdflib/__init__.py<module>rK      s7  +X & #J  			8	$ Hj)JJ"JJ 	%/'//12   *  ( 9 8 9 9         > vu  A  HMM-}=s   A/D D.-D.