From 22990a9920fe3fe5870f59565f7abba58349d623 Mon Sep 17 00:00:00 2001 From: markd Date: Thu, 23 Jul 2009 09:46:37 +0000 Subject: Update soprano to 2.3 * New class LanguageTag replacing the old simple string language handling with a sophisticated one implementing RFC 4647. At the same time Soprano now directly supports plain literals in addition to typed string literals (compare LiteralValue::createPlainLiteral). CAUTION: This patch changes behaviour: parsers and storage backends will now return plain literals instead of typed string literals! * New static methods Node::resourceToN3, Node::literalToN3, and Node::blankToN3 for easy N3 formatting without the creation of a Node instance. * Fixed both Node::matches and Statement::matches - now only the paramter is treated as a wildcard * sopranocmd: - new paramter --file which allows to execute commands on files directly without creating a database on disk. - standard namespace prefixes rdf, rdfs, xsd, nrl, and nao are now added to sparql queries automatically if used. - construct and describe query results can now be serialized in all supported formats. - New parameter --index which allows to wrap an IndexFilterModel around the actual Model. - New command 'monitor' which allows to monitor a remote repository for statementAdded and statementRemoved signals. * New class Graph which is a simple QSet based container for statements as a quick replacement for Model in case one wants to handle a small number of statements without query support. * Fixed plugin loading on windows. * Fixed a deadlock in the IndexFilterModel in case a query could not be parsed. * Prevent Model::removeContext to remove empty contexts, i.e. the whole database. * Statement::operator<<(QTextStream) now uses a simpler format (only spaces between nodes and no brackets) * Updated Sesame2 to 2.2.4 * Added prefix handling to the Serializer API. For a future Soprano version the Serializer API has to be replaced with something more powerful. * Improved inference rule handling in the rule parser --- textproc/soprano/Makefile | 5 +++-- textproc/soprano/PLIST | 16 ++++++++++++---- textproc/soprano/distinfo | 9 ++++----- 3 files changed, 19 insertions(+), 11 deletions(-) (limited to 'textproc') diff --git a/textproc/soprano/Makefile b/textproc/soprano/Makefile index 8287940501e..4c7f5b884eb 100644 --- a/textproc/soprano/Makefile +++ b/textproc/soprano/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2009/01/27 11:35:10 markd Exp $ +# $NetBSD: Makefile,v 1.5 2009/07/23 09:46:37 markd Exp $ -DISTNAME= soprano-2.2 +DISTNAME= soprano-2.3.0 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=soprano/} EXTRACT_SUFX= .tar.bz2 @@ -8,6 +8,7 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= markd@NetBSD.org HOMEPAGE= http://soprano.sourceforge.net/ COMMENT= QT based RDF framework +LICENSE= gnu-lgpl-v2 PKG_DESTDIR_SUPPORT= user-destdir diff --git a/textproc/soprano/PLIST b/textproc/soprano/PLIST index 7290be75bd0..9109dafc789 100644 --- a/textproc/soprano/PLIST +++ b/textproc/soprano/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:17:31 joerg Exp $ +@comment $NetBSD: PLIST,v 1.5 2009/07/23 09:46:37 markd Exp $ bin/onto2vocabularyclass bin/sopranocmd bin/sopranod @@ -23,6 +23,7 @@ include/Soprano/Error/Locator include/Soprano/Error/ParserError include/Soprano/FilterModel include/Soprano/Global +include/Soprano/Graph include/Soprano/Index/CLuceneIndex include/Soprano/Index/IndexFilterModel include/Soprano/Index/QueryHit @@ -35,8 +36,10 @@ include/Soprano/Inference/StandardRuleSet include/Soprano/Inference/StatementPattern include/Soprano/Iterator include/Soprano/IteratorBackend +include/Soprano/LanguageTag include/Soprano/LiteralValue include/Soprano/Model +include/Soprano/NRLModel include/Soprano/Node include/Soprano/NodeIterator include/Soprano/Parser @@ -88,6 +91,7 @@ include/soprano/dummymodel.h include/soprano/error.h include/soprano/filtermodel.h include/soprano/global.h +include/soprano/graph.h include/soprano/indexfiltermodel.h include/soprano/indexqueryhit.h include/soprano/inferencemodel.h @@ -96,6 +100,7 @@ include/soprano/inferenceruleparser.h include/soprano/inferenceruleset.h include/soprano/iterator.h include/soprano/iteratorbackend.h +include/soprano/languagetag.h include/soprano/literalvalue.h include/soprano/localsocketclient.h include/soprano/locator.h @@ -106,6 +111,7 @@ include/soprano/node.h include/soprano/nodeiterator.h include/soprano/nodepattern.h include/soprano/nrl.h +include/soprano/nrlmodel.h include/soprano/owl.h include/soprano/parser.h include/soprano/plugin.h @@ -124,6 +130,7 @@ include/soprano/simplenodeiterator.h include/soprano/simplestatementiterator.h include/soprano/soprano.h include/soprano/soprano_export.h +include/soprano/sopranomacros.h include/soprano/sopranotypes.h include/soprano/sparqlmodel.h include/soprano/statement.h @@ -137,13 +144,13 @@ include/soprano/xesam.h include/soprano/xsd.h lib/libsoprano.so lib/libsoprano.so.4 -lib/libsoprano.so.4.1.0 +lib/libsoprano.so.4.2.0 lib/libsopranoclient.so lib/libsopranoclient.so.1 -lib/libsopranoclient.so.1.0.0 +lib/libsopranoclient.so.1.1.0 lib/libsopranoindex.so lib/libsopranoindex.so.1 -lib/libsopranoindex.so.1.0.0 +lib/libsopranoindex.so.1.1.0 lib/libsopranoserver.so lib/libsopranoserver.so.1 lib/libsopranoserver.so.1.0.0 @@ -153,6 +160,7 @@ lib/soprano/libsoprano_nquadserializer.so lib/soprano/libsoprano_raptorparser.so lib/soprano/libsoprano_raptorserializer.so lib/soprano/libsoprano_redlandbackend.so +share/apps/cmake/modules/SopranoAddOntology.cmake share/dbus-1/interfaces/org.soprano.Model.xml share/dbus-1/interfaces/org.soprano.NodeIterator.xml share/dbus-1/interfaces/org.soprano.QueryResultIterator.xml diff --git a/textproc/soprano/distinfo b/textproc/soprano/distinfo index b89d31f5452..aeb1807aa19 100644 --- a/textproc/soprano/distinfo +++ b/textproc/soprano/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.4 2009/01/27 11:35:10 markd Exp $ +$NetBSD: distinfo,v 1.5 2009/07/23 09:46:37 markd Exp $ -SHA1 (soprano-2.2.tar.bz2) = c71cefa3bfdd72712d52985a3144d0c35e3a5a32 -RMD160 (soprano-2.2.tar.bz2) = fb111b143b40d14e8bc07e7802eade494959168a -Size (soprano-2.2.tar.bz2) = 1847479 bytes -SHA1 (patch-aa) = 6329b5787e2abb402e0c4f723b98dba925578bce +SHA1 (soprano-2.3.0.tar.bz2) = 7452957588be84e212c46b54034e907e61c277c9 +RMD160 (soprano-2.3.0.tar.bz2) = 7d42e97e04de5f0ebdfd4fb58d1a159a9223a51b +Size (soprano-2.3.0.tar.bz2) = 1910821 bytes -- cgit v1.2.3