W3C home > Mailing lists > Public > semantic-web@w3.org > July 2018

Re: RDF syntax converter

From: Peter F. Patel-Schneider <pfpschneider@gmail.com>
Date: Mon, 23 Jul 2018 08:32:13 -0700
To: Gustavo Publio <gpublio@gmail.com>
Cc: semantic-web@w3.org
Message-ID: <0d20ed6e-4408-eff4-2072-b1976382c799@gmail.com>
Yes, rapper works fine.

Well, except that compiling from source has some glitches in Fedora.
Configure complains about missing libraries for loading from remote URLs and
libxml2 even though both are installed.

idefix raptor2-2.0.15> ./configure
[...]
checking WWW libraries available...
checking WWW library to use... none
configure: WARNING: No WWW library in use - only file: URLs will work
configure: WARNING: Install libcurl, libxml2 or BSD libfetch for WWW access
checking NFC library to use... none
checking libinn.h usability... no
checking libinn.h presence... no
checking for libinn.h... no
checking date parsing source... raptor parsedate
configure: error: libxml2 is not available - please get it from
http://xmlsoft.org/
idefix raptor2-2.0.15> sudo dnf install libxml2
Last metadata expiration check: 2:17:40 ago on Mon 23 Jul 2018 06:12:00 AM PDT.
Package libxml2-2.9.7-4.fc28.x86_64 is already installed, skipping.
Package libxml2-2.9.7-4.fc28.i686 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
idefix raptor2-2.0.15> sudo dnf install libcurl
Last metadata expiration check: 2:18:26 ago on Mon 23 Jul 2018 06:12:00 AM PDT.
Package libcurl-7.59.0-5.fc28.x86_64 is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

Fortunately an older version of raptor is packaged for Fedora.

peter



On 07/20/2018 09:49 PM, Gustavo Publio wrote:
> Hi Peter,
> 
>   librdf raptor <http://librdf.org/raptor/> is a good way to go through the
> command line. As easy as:
> 
>     rapper -i turtle -o rdfxml <input_file>
> 
> 
> Best regards,
> Gustavo Publio
> 
> 
> On Sat, Jul 21, 2018 at 3:18 AM ajs6f <ajs6f@apache.org
> <mailto:ajs6f@apache.org>> wrote:
> 
>     Apache Jena's `riot` command can certainly do this.
> 
>     ---
>     A. Soroka
>     Research Computing : Office of the CIO : the Smithsonian Institution
> 
>     > On Jul 20, 2018, at 8:54 PM, Peter F. Patel-Schneider
>     <pfpschneider@gmail.com <mailto:pfpschneider@gmail.com>> wrote:
>     >
>     > I'm having trouble finding a working converter from Turtle or N-triples to
>     > RDF/XML.  Does anyone know of a system that can do this?  (No web-based
>     > systems, please.)
>     >
>     > The reason I need a converter is that Karma only accepts its ontologies in
>     > RDF/XML form.  :-(
>     >
>     > peter
>     >
> 
> 
Received on Monday, 23 July 2018 15:32:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 July 2018 15:32:41 UTC