Skip to content

Tag: java

Sound distortion when extracting from Jar

I have sounds in my jar file directory. I need to use these sounds and I am trying to extract them using this method: But when I extract the sounds they get distorted and I don’t know what the problem is, because it basically just copies the file. Sounds: Original, Extracted I would be very grateful if …

Keep prefixes in loading and writing TTL file with RDF4J

I need to load a Turtle TTL file, add some triples, then save it again. The original TTL file has a big header containing the prefixes for some namespaces. After I load the file and add the triples, the saved TTL won’t contain the prefixes, unless I specify them manually, one by one. Is there a way to k…