On Sat, Feb 15, 2014 at 6:51 PM, Julien Plu
<[email protected]> wrote:
>
> ./rdfcopy.bat ./test.nt N-TRIPLE TURTLE
> Unhandled exception:
>     org.apache.jena.iri.impl.IRIImplException: <./test.nt> Code:
> 57/REQUIRED_COMPONENT_MISSING in SCHEME: A component that is required by
> the scheme is missing.
>
> And doesn't matter the "inlang" format if I want to translate it in Turtle
> I have this exception even with a really simple triple like :
>
> <http://dbpedia.org/ontology/Actor> <
> http://www.w3.org/2000/01/rdf-schema#subClassOf> <
> http://dbpedia.org/ontology/Person> .
>
> Is-it really a bug or did I used the tool wrongly ?

Just to make this a little bit easier to debug, there's a reproducible
example at

http://pastebin.com/abibrmUu

I wonder if the translation into Turtle is trying to write a @base
<...> line where an absolute IRI is needed.  The usage says

usage:
    java jena.rdfcopy in {inprop=inval}* [ inlang  {outprop=outval}* outlang]]

    …
    inlang defaults to RDF/XML, outlang to N-TRIPLE
    The legal values for inprop and outprop depend on inlang and outlang.
    The legal values for inval and outval depend on inprop and outprop.

I wonder if the base can be specified as an inprop or outprop?

-- 
Joshua Taylor, http://www.cs.rpi.edu/~tayloj/

Reply via email to