Hello,

I am working on a large ttl file of 20 GB, I try to read in using rdflib 
but the I am getting a error
killed 

I am trying to create a smaller file from this file using grep command.

The sample data is yagoTransitiveType.ttl 
<https://resources.mpi-inf.mpg.de/yago-naga/yago3.1/yagoTransitiveType.txt>
grep "wordnet_" yagoTransitiveType.ttl >wordnet_yagoTransitiveType.ttl 

The problem is that the file don't read the initial prefix like yago: and 
other, due to which rdflib is not able to parse the ttl file.
import rdflib 
g = rdflib.Graph() 
g.parse('yagoTransitiveType.ttl', format='ttl') 

How can I fix the issue either by adding 10 lines after running grep 
command or any other way?

-- 
http://github.com/RDFLib
--- 
You received this message because you are subscribed to the Google Groups 
"rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rdflib-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rdflib-dev/43db0536-07ae-4e22-b073-9442ed08a5b0n%40googlegroups.com.

Reply via email to