ncbo/umls2rdf

Wrong generation of literals

vemonet opened this issue · 1 comments

The script generates wrong literals for all ontologies. Instead of being surrounded by one quote, all literals are surrounded by 3 quotes.
And parsing the TTL with OWLAPI meet an error (but it worked with Jena) :

Parser: TurtleOntologyParser
uk.ac.manchester.cs.owl.owlapi.turtle.parser.ParseException: Encountered " """ ""^^xsd:string ;\n\thttp://purl.bioontology.org/ontology/MESH/AQL " "" at line 54034, column 141.
Was expecting:
"." ...

The line causing the error is the following:

http://purl.bioontology.org/ontology/MESH/AN """Jaffe-Lichtenstein usually goes here but check text for possible "polyostotic""""^^xsd:string ;

Relevant xkcd

Turtle format allows triple quotes for long literals that may contain linebreaks.