[redland-dev] N-quads problem with rapper?

Steve Harris steve.harris at garlik.com
Fri Mar 18 18:32:56 CET 2011


That's a known bug, there's a fix in Git HEAD I believe.

- STeve

On 2011-03-18, at 17:31, Tony Hammond wrote:

> Hi:
> 
> Am I doing something wrong? I don't seem to be able to generate
> n-quads successfully using rapper 2.0.0. For some reason the output
> always repeats the object value (whether literal or resource) in place
> of the graph context.
> 
> See below a simple attempt to roundtrip n-quads. (I get similar
> results when using trig as an input.)
> 
> This was run on Mac OSX (10.6.6) and I also tried with similar results
> on Ubuntu 10.04.
> 
> Cheers,
> 
> Tony
> 
> % cat test.nq
> <http://example/s1> <http://example/p1> "o1" <http://example/c1>  .
> <http://example/s2> <http://example/p2> <http://example/o2>
> <http://example/c2>  .
> 
> % rapper -i nquads -o nquads test.nq
> rapper: Parsing URI file:///Users/tony/Developer/data-new/test.nq with
> parser nquads
> rapper: Serializing with serializer nquads
> <http://example/s1> <http://example/p1> "o1" "o1" .
> <http://example/s2> <http://example/p2> <http://example/o2>
> <http://example/o2> .
> rapper: Parsing returned 2 triples
> 
> % rapper -v
> 2.0.0
> 
> % rapper -h
> Raptor RDF syntax parsing and serializing utility 2.0.0
> Parse RDF syntax from a source into serialized RDF triples.
> Usage: rapper [OPTIONS] INPUT-URI [INPUT-BASE-URI]
> 
> Copyright (C) 2000-2010 David Beckett - http://www.dajobe.org/
> Copyright (C) 2000-2005 University of Bristol - http://www.bristol.ac.uk/
> License: LGPL 2.1 or newer, GPL 2 or newer, Apache 2.0 or newer.
> See http://librdf.org/raptor/LICENSE.html for full terms.
> Raptor home page: http://librdf.org/raptor/
> 
> ...
> _______________________________________________
> redland-dev mailing list
> redland-dev at lists.librdf.org
> http://lists.librdf.org/mailman/listinfo/redland-dev

-- 
Steve Harris, CTO, Garlik Limited
1-3 Halford Road, Richmond, TW10 6AW, UK
+44 20 8439 8203  http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10 9AD



More information about the redland-dev mailing list