Skip to content

Instantly share code, notes, and snippets.

View kendall's full-sized avatar

Kendall Clark kendall

View GitHub Profile
@kendall
kendall / matrix.ttl
Created September 9, 2014 15:16
Matrix graph in RDF Turtle
:m1 a :Movie; :title "The Matrix"; :year "1999-03-31".
:m2 a :Movie; :title "The Matrix Reloaded"; :year "2003-05-07".
:m3 a :Movie; :title "The Matrix Revolutions"; :year "2003-10-27".
:neo a :Actor; :name "Keanu Reeves".
:morpheus a :Actor; :name "Larry F".
:trinity a :Actor; :name "CAM".
:neo :hasRole [:as "Neo"; :in :m1].
:neo :hasRole [:as "Neo"; :in :m2].
@kendall
kendall / roadmap.md
Created October 27, 2014 19:30
Stardog Roadmap for Blossom

Roadmap

This is a test.

Another Awesome Thing

@kendall
kendall / geo.sparql
Last active August 29, 2015 14:24
Geospatial query answering in Stardog
prefix geof: <http://www.opengis.net/def/function/geosparql/>
prefix geo: <http://www.opengis.net/ont/geosparql#>
//get locations within 2km of Complexible HQ
select ?name where {
?loc rdfs:label ?name .
?loc geo:hasGeometry ?feature .
?hq geo:hasGeometry ?hqGeo ; rdfs:label "Complexible Headquarters" .
?feature geof:nearby (?hqGeo 2 <http://www.qudt.org/qudt/owl/1.0.0/unit/Instances.html#Kilometer>).
;; -*- mode: dotspacemacs -*-
(defun dotspacemacs/layers ()
(setq-default
dotspacemacs-configuration-layers `(
spacemacs
my-web-dev
(colors :variables
colors-enable-rainbow-identifiers t
colors-enable-nyan-cat-progress-bar t)