Skip to content

Instantly share code, notes, and snippets.

@aindlq
aindlq / footer.hbs
Created November 25, 2020 10:04
footer.hbs from latehokusai
@aindlq
aindlq / search-clipboard.gif
Last active February 26, 2020 12:40
Search + forms
search-clipboard.gif
@aindlq
aindlq / _all.ts
Created January 21, 2014 22:55
Typescript amd module compilation. tsc v. 0.9.5.0
/// <reference path="a.ts" />
/// <reference path="b.ts" />
@aindlq
aindlq / property classification bug
Last active December 21, 2015 12:19
How property can be owl:DatatypeProperty and owl:ObjectProperty at the same time.
@prefix : <http://example.com/test/> .
@prefix test: <http://example.com/test/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix qudt: <http://qudt.org/schema/qudt#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://example.com/test/>
rdf:type owl:Ontology .
@prefix : <http://example.com/myFoaf/> .
@prefix myFoaf: <http://example.com/myFoaf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://example.com/myFoaf/>
rdf:type owl:Ontology .
@prefix : <http://example.com/myFoaf/> .
@prefix myFoaf: <http://example.com/myFoaf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://example.com/myFoaf/>
rdf:type owl:Ontology .
# As you can see, bigdata is nearly in full-feature mode by default.
# All we do here is turn on the provenance mode.
# The name of the backing file. CHANGE ME
com.bigdata.journal.AbstractJournal.file=/home/artem/bigdata/bigdata.jnl
com.bigdata.rdf.store.AbstractTripleStore.axiomsClass=com.bigdata.rdf.axioms.NoAxioms
com.bigdata.rdf.store.AbstractTripleStore.statementIdentifiers=false
com.bigdata.rdf.store.AbstractTripleStore.textIndex=false
java.util.concurrent.ExecutionException: java.lang.Exception: org.openrdf.query.QueryEvaluationException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.Exception: task=ChunkTask{query=adb2c5e3-284c-4fc2-a5f4-d345cf1d831c,bopId=56,partitionId=-1,sinkId=59,altSinkId=null}, cause=java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Halting join: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.OutOfMemoryError: unable to create new native thread
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at com.bigdata.rdf.sail.webapp.QueryServlet.doQuery(QueryServlet.java:690)
at com.bigdata.rdf.sail.webapp.QueryServlet.doPost(QueryServlet.java:156)
at com.bigdata.rdf.sail.webapp.RESTServlet.doPost(RESTServlet.java:197)
at javax.servlet.http.HttpServlet.service(HttpServlet.jav