NOTICE: This package has been removed from pkgsrc

./wip/py-rdflib, Python library for working with RDF

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 4.1.0, Package name: py27-rdflib-4.1.0, Maintainer: kamelderouiche

RDFLib is a Python library for working with RDF, a simple yet powerful
language for representing information.

The library contains parsers and serializers for RDF/XML, N3, NTriples,
Turtle, TriX and RDFa . The library presents a Graph interface which can
be backed by any one of a number of Store implementations, including, Memory,
MySQL, Redland, SQLite, Sleepycat, ZODB and SQLObject.


Required to run:
[devel/py-setuptools] [textproc/py-html5lib] [lang/python27] [wip/py-isodate] [devel/py-pyparsing]

Master sites:

SHA1: 9d3f69b43e31ce83e72c5ca556866c029d83e7f5
RMD160: 212698d10cc913ba92765217f6af76ee3cd752ee
Filesize: 845.322 KB

Version history: (Expand)


CVS history: (Expand)


   2015-04-20 00:45:40 by othyro | Files touched by this commit (14) | Package removed
Log message:
Remove py-{sparqlwrapper,rdflib,isodate}. Imported into their respective
${CATEGORIES} in HEAD.
   2014-06-01 14:49:35 by Thomas Klausner | Files touched by this commit (208)
Log message:
Remove FETCH_USING.
It is a user-defined variable and should NOT be set in Makefiles.
   2014-02-15 00:08:16 by Kamel Derouiche | Files touched by this commit (3) | Package updated
Log message:

	Update package
	2013/12/31 RELEASE 4.1
======================

This is a new minor version RDFLib, which includes a handful of new features:

* A TriG parser was added (we already had a serializer) - it is
  up-to-date wrt. to the newest spec from: http://www.w3.org/TR/trig/

* The Turtle parser was made up to date wrt. to the latest Turtle spec.

* Many more tests have been added - RDFLib now has over 2000
  (passing!) tests. This is mainly thanks to the NT, Turtle, TriG,
  NQuads and SPARQL test-suites from W3C. This also included many
  fixes to the nt and nquad parsers.

* ```ConjunctiveGraph``` and ```Dataset``` now support directly adding/removing
  quads with ```add/addN/remove``` methods.

* ```rdfpipe``` command now supports datasets, and reading/writing context
  sensitive formats.

* Optional graph-tracking was added to the Store interface, allowing
  empty graphs to be tracked for Datasets. The DataSet class also saw
  a general clean-up, see: https://github.com/RDFLib/rdflib/pull/309

* After long deprecation, ```BackwardCompatibleGraph``` was removed.

Minor enhancements/bugs fixed:
------------------------------

* Many code samples in the documentation were fixed thanks to @PuckCh

* The new ```IOMemory``` store was optimised a bit

* ```SPARQL(Update)Store``` has been made more generic.

* MD5 sums were never reinitialized in ```rdflib.compare```

* Correct default value for empty prefix in N3
  [#312]https://github.com/RDFLib/rdflib/issues/312

* Fixed tests when running in a non UTF-8 locale
  [#344]https://github.com/RDFLib/rdflib/issues/344

* Prefix in the original turtle have an impact on SPARQL query
  resolution
  [#313]https://github.com/RDFLib/rdflib/issues/313

* Duplicate BNode IDs from N3 Parser
  [#305]https://github.com/RDFLib/rdflib/issues/305

* Use QNames for TriG graph names
  [#330]https://github.com/RDFLib/rdflib/issues/330

* \uXXXX escapes in Turtle/N3 were fixed
  [#335]https://github.com/RDFLib/rdflib/issues/335

* A way to limit the number of triples retrieved from the
  ```SPARQLStore``` was added
  [#346]https://github.com/RDFLib/rdflib/pull/346

* Dots in localnames in Turtle
  [#345]https://github.com/RDFLib/rdflib/issues/345
  [#336]https://github.com/RDFLib/rdflib/issues/336

* ```BNode``` as Graph's public ID
  [#300]https://github.com/RDFLib/rdflib/issues/300

* Introduced ordering of ```QuotedGraphs```
  [#291]https://github.com/RDFLib/rdflib/issues/291

2013/05/22 RELEASE 4.0.1
========================

Following RDFLib tradition, some bugs snuck into the 4.0 release.
This is a bug-fixing release:

* the new URI validation caused lots of problems, but is
  nescessary to avoid ''RDF injection'' vulnerabilities. In the
  spirit of ''be liberal in what you accept, but conservative in
  what you produce", we moved validation to serialisation time.

* the   ```rdflib.tools```   package    was   missing   from   the
  ```setup.py```  script, and  was therefore  not included  in the
  PYPI tarballs.

* RDF parser choked on empty namespace URI
  [#288](https://github.com/RDFLib/rdflib/issues/288)

* Parsing from ```sys.stdin``` was broken
  [#285](https://github.com/RDFLib/rdflib/issues/285)

* The new IO store had problems with concurrent modifications if
  several graphs used the same store
  [#286](https://github.com/RDFLib/rdflib/issues/286)

* Moved HTML5Lib dependency to the recently released 1.0b1 which
  support python3

2013/05/16 RELEASE 4.0
======================

This release includes several major changes:

* The new SPARQL 1.1 engine (rdflib-sparql) has been included in
  the core distribution. SPARQL 1.1 queries and updates should
  work out of the box.

  * SPARQL paths are exposed as operators on ```URIRefs```, these can
    then be be used with graph.triples and friends:

    ```py
    # List names of friends of Bob:
    g.triples(( bob, FOAF.knows/FOAF.name , None ))

    # All super-classes:
    g.triples(( cls, RDFS.subClassOf * '+', None ))
    ```

      * a new ```graph.update``` method will apply SPARQL update statements

* Several RDF 1.1 features are available:
  * A new ```DataSet``` class
  * ```XMLLiteral``` and ```HTMLLiterals```
  * ```BNode``` (de)skolemization is supported through ```BNode.skolemize```,
    ```URIRef.de_skolemize```, ```Graph.skolemize``` and ```Graph.de_skolemize```

* Handled of Literal equality was split into lexical comparison
  (for normal ```==``` operator) and value space (using new ```Node.eq```
  methods). This introduces some slight backwards incomaptible
  changes, but was necessary, as the old version had
  inconsisten hash and equality methods that could lead the
  literals not working correctly in dicts/sets.
  The new way is more in line with how SPARQL 1.1 works.
  For the full details, see:

  https://github.com/RDFLib/rdflib/wiki/Literal-reworking

* Iterating over ```QueryResults``` will generate ```ResultRow``` objects,
  these allow access to variable bindings as attributes or as a
  dict. I.e.

  ```py
  for row in graph.query('select ... ') :
     print row.age, row["name"]
  ```

* "Slicing" of Graphs and Resources as syntactic sugar:
  ([#271](https://github.com/RDFLib/rdflib/issues/271))

  ```py
  graph[bob : FOAF.knows/FOAF.name]
            -> generator over the names of Bobs friends
  ```

* The ```SPARQLStore``` and ```SPARQLUpdateStore``` are now included
  in the RDFLib core

* The documentation has been given a major overhaul, and examples
  for most features have been added.
   2013-12-30 18:16:36 by ndb | Files touched by this commit (1)
Log message:
fetch using curl.
   2013-04-10 10:59:02 by Thomas Klausner | Files touched by this commit (3)
Log message:
Fix PLIST. Add TODO.
   2013-04-10 10:28:27 by ndb | Files touched by this commit (1) | Package updated
Log message:
updated distinfo.
   2013-02-16 13:07:35 by Thomas Klausner | Files touched by this commit (1)
Log message:
Fix incorrect expansion (use PYPKGPREFIX instead of hardcoded py27)
   2012-10-07 01:07:02 by Kamel Derouiche | Files touched by this commit (1)
Log message:
added: py-isodate