You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Dalia Alghamdi <da...@gmail.com> on 2019/08/13 20:02:00 UTC

Fuseki failed uploading my protege data, keep giving me errors

Hi All,

I am trying to upload my ontology that I built using protege version 5.2.0
to Apache Jena Fuseki server

I save the file in .ttl format and when I tried uploading it I got

Result: failed with message "Parse error: [line: 1765, col: 3 ] Triples not
terminated by DOT"

what I have in line 1765 is

rdfs:label "Sequence accession", "sequence accession"@en .

Here is few lines in my .ttl file around line 1765

ns0:IAO_0000412 "EDAM" ; ns1:hasDefinition "A persistent, unique identifier
of a molecular sequence database entry." ;
ns1:hasExactSynonym "Sequence accession number" ; ns1:inSubset
ns0:edam#data, ns0:edam#edam, ns0:edam#identifiers ; rdfs:label "Sequence
accession", "sequence accession"@en .

ns0:BFO_0000001 a owl:Class ; rdfs:subClassOf owl:Thing ;

I then tried saving the file in OWL/XML format and I got

Result: failed with message "Parse error: [line: 20, col: 88] {E201}
Multiple children of property element"

So I keep getting syntax error with every format I tried to upload

any suggestions in how to fix that ??



Regards,

Dalia

Re: Fuseki failed uploading my protege data, keep giving me errors

Posted by Lorenz Buehmann <bu...@informatik.uni-leipzig.de>.
for reference, question was asked here:
https://stackoverflow.com/questions/57402030/fuseki-failed-uploading-my-protege-data-keep-giving-me-errors


We already told you there to use a different format like N-Triples or
RDF/XML. And no, OWL/XML is not RDF/XML which we also told you.

I'd also suggest to use latest Protege 5.5. - the underlying OWL API
might have fixed the Turtle writer issue.

The strings literals around the error line contain line breaks which is
not allowed without using """ """


So

step 1: use Protege 5.5 and try the Turtle parser again

step 2: use RDF/XML format


On 13.08.19 22:02, Dalia Alghamdi wrote:
> Hi All,
>
> I am trying to upload my ontology that I built using protege version 5.2.0
> to Apache Jena Fuseki server
>
> I save the file in .ttl format and when I tried uploading it I got
>
> Result: failed with message "Parse error: [line: 1765, col: 3 ] Triples not
> terminated by DOT"
>
> what I have in line 1765 is
>
> rdfs:label "Sequence accession", "sequence accession"@en .
>
> Here is few lines in my .ttl file around line 1765
>
> ns0:IAO_0000412 "EDAM" ; ns1:hasDefinition "A persistent, unique identifier
> of a molecular sequence database entry." ;
> ns1:hasExactSynonym "Sequence accession number" ; ns1:inSubset
> ns0:edam#data, ns0:edam#edam, ns0:edam#identifiers ; rdfs:label "Sequence
> accession", "sequence accession"@en .
>
> ns0:BFO_0000001 a owl:Class ; rdfs:subClassOf owl:Thing ;
>
> I then tried saving the file in OWL/XML format and I got
>
> Result: failed with message "Parse error: [line: 20, col: 88] {E201}
> Multiple children of property element"
>
> So I keep getting syntax error with every format I tried to upload
>
> any suggestions in how to fix that ??
>
>
>
> Regards,
>
> Dalia
>