Skip to content

Instantly share code, notes, and snippets.

View yolpsoftware's full-sized avatar

Yolp yolpsoftware

  • Yolp Softwaredesign GmbH
  • Zürich, Switzerland
View GitHub Profile
@yolpsoftware
yolpsoftware / gist:e88e3389d3811b733831cf972a39ceff
Created February 12, 2022 13:27 — forked from sartak/a.md
Anki 2 annotated schema
-- see https://github.com/ankidroid/Anki-Android/wiki/Database-Structure for a more maintained version of this
-- cards are what you review. easy!
CREATE TABLE cards (
id integer primary key,
-- the epoch milliseconds of when the card was created
nid integer not null,
-- notes.id
did integer not null,
-- deck id (available in col table)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Exception in thread "main" java.lang.IllegalArgumentException: Bad index char : 112
at org.apache.jena.atlas.lib.Hex.hexByteToInt(Hex.java:76)
at org.apache.jena.atlas.lib.Hex.getLong(Hex.java:61)
at org.apache.jena.tdb.store.bulkloader2.RecordsFromInput.hasNext(RecordsFromInput.java:85)
at org.apache.jena.tdb.index.bplustree.RecordBufferPagePacker.hasNext(RecordBufferPagePacker.java:69)
at org.apache.jena.atlas.iterator.PeekIterator.fill(PeekIterator.java:50)
at org.apache.jena.atlas.iterator.PeekIterator.next(PeekIterator.java:92)
at org.apache.jena.tdb.index.bplustree.RecordBufferPageLinker.hasNext(RecordBufferPageLinker.java:64)
at org.apache.jena.atlas.iterator.Iter$2.hasNext(Iter.java:347)
at org.apache.jena.atlas.iterator.IteratorWithBuffer.next(IteratorWithBuffer.java:69)
ERROR: uri=[file://J:/Wikidata/latest-all.ttl], context-uri=[]
java.util.concurrent.ExecutionException: java.net.UnknownHostException: J
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.bigdata.rdf.sail.webapp.BigdataServlet.submitApiTask(BigdataServlet.java:281)
at com.bigdata.rdf.sail.webapp.InsertServlet.doPostWithURIs(InsertServlet.java:400)
at com.bigdata.rdf.sail.webapp.InsertServlet.doPost(InsertServlet.java:119)
at com.bigdata.rdf.sail.webapp.RESTServlet.doPost(RESTServlet.java:303)
at com.bigdata.rdf.sail.webapp.MultiTenancyServlet.doPost(MultiTenancyServlet.java:192)