obophenotype / provisional_cell_ontology

Draft cell type definitions from data - candidates for inclusion in CL
Creative Commons Attribution 4.0 International
11 stars 1 forks source link

Error loading PCL after converting it to Turtle format #53

Open johardi opened 8 months ago

johardi commented 8 months ago

Below are the error messages from Protege:

  1. From Turtle parser:
    org.openrdf.rio.RDFParseException: Expected an RDF value here, found ';' [line 999912]
  2. From Turtle Syntax parser:
    org.semanticweb.owlapi.rdf.turtle.parser.ParseException: Encountered " ";" "; "" at line 1100522, column 130.
    Was expecting:
    ")" ...

Steps to reproduce:

  1. Download pcl.owl file.
  2. Run the following ROBOT command to covert it to Turtle format:
    $ robot convert -i pcl.owl --format ttl -o pcl.ttl
  3. Open the output file in Protege.
balhoff commented 8 months ago

@johardi if you are using a version of ROBOT older than 1.9.5, then you may be running into this issue: https://github.com/ontodev/robot/issues/1129

It's been fixed in the latest ROBOT.

hkir-dev commented 8 months ago

I successfully generated and opened the Turtle file via following the given steps. This was tested on macOS 14.3.1, ROBOT v1.9.5 and Protégé 5.6.3.