Re: Karma ontology syntax - was Re: RDF syntax converter

Thanks for the diagnosis. We’ll fix.

p

> On Jul 23, 2018, at 8:36 AM, Peter F. Patel-Schneider <pfpschneider@gmail.com> wrote:
> 
> I did a bit more investigation.
> 
> Even though the documentation appears to say that Karma only accepts
> ontologies in RDF/XML form it actually also accepts Turtle syntax (and thus
> N-triples).  However, it appears that the discrimination is by file extension,
> and everything except extension ttl is treated as RDF/XML.
> 
> peter
> 
> 
> 
> On 07/21/2018 10:50 PM, Pedro Szekely wrote:
>> Peter,
>> 
>> We will investigate and fix to enable loading more formats, at least TLL and N3. We didn’t notice because we always put the ontologies in preload-ontologies
>> 
>> p
>> 
>>> On Jul 21, 2018, at 7:01 PM, Peter F. Patel-Schneider <pfpschneider@gmail.com> wrote:
>>> 
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_usc-2Disi-2Di2_Web-2DKarma_wiki_Importing-2DData&d=DwIDaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=Ur3Ign8bb85FLdakojxg_8O1vpKvP5SXi8I86KBMh64&s=38jFTVx4c6_q_rMfwYIQIjqcuBFVwbANxcvmQd5F6J4&e= says "Karma can
>>> load ontologies stored in XML format, but does not currently support any of
>>> the other formats such as N3 or Manchester syntax."  That matches my
>>> experience.  When I tried to load an N-triples file it produced an error.
>>> 
>>> peter
>>> 
>>> 
>>> 
>>> 
>>> On 07/21/2018 10:01 AM, Pedro Szekely wrote:
>>>> Karma supports ontologies in turtle format. The easiest way to use them is to
>>>> include them in the “preloaded-ontologies” folder. They will be read every
>>>> time the Karma page is refreshed.
>>>> 
>>>> Pedro Szekely
>>>> USC/ISI
>>>> 
>>>>> On Jul 20, 2018, at 9:49 PM, Gustavo Publio <gpublio@gmail.com
>>>>> <mailto:gpublio@gmail.com>> wrote:
>>>>> 
>>>>> Hi Peter,
>>>>> 
>>>>>  librdf raptor
>>>>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__librdf.org_raptor_&d=DwMFaQ&c=clK7kQUTWtAVEOVIgvi0NU5BOUHhpN0H8p7CSfnc_gI&r=2vQ8FSZ8p1fQX868IsODUA&m=hEZkpm0VD0Au_G08YYTceSRHpGYG0AJv2Ej2_Ym-9zA&s=WLY14chBBghMwyyx3T7-2-Nf9LLZEvqm8gzLCqjoaqc&e=>
>>>>> 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:48:02 UTC