pronto icon indicating copy to clipboard operation
pronto copied to clipboard

Turtle format?

Open njoannin opened this issue 6 years ago • 6 comments

Hi, I was wondering if Pronto can handle the Turtle (ttl) format? Cheers

njoannin avatar Dec 12 '17 20:12 njoannin

@njoannin : Not yet, but this could be a nice addition ! If there is a good library to parse Turtle or RDF, then I could probably create a parser for pronto quite easily.

Besides, could you point me towards a Turtle formatted ontology I could use as a reference ?

althonos avatar Dec 22 '17 14:12 althonos

@althonos :

I haven't found any library for Turtle, and for RTF, there is RDFLib (https://github.com/RDFLib/rdflib0), but I do not know if it is "good"...

An example would be ICD10CM data, https://bioportal.bioontology.org/ontologies/ICD10CM

njoannin avatar Dec 30 '17 19:12 njoannin

rdflib works just fine for me. One can parse turtle files like this: result = g.parse(myfile, format='n3') If a test file is needed, one can download nowadays any ontology from BioPortal turtle-formatted.

vlmir avatar Jul 09 '18 09:07 vlmir

Can I work on this issue? Seems like this is still pending.

reeshabhranjan avatar Mar 09 '20 08:03 reeshabhranjan

Is this issue still pending? Can we work on it?

Priyansh19077 avatar May 13 '22 17:05 Priyansh19077

@althonos Here's the PR for the issue #168.

Pragya2804 avatar May 13 '22 17:05 Pragya2804