Skip to content

Instantly share code, notes, and snippets.

View blankdots's full-sized avatar
:octocat:
keyboard bashing ⌨️ 🔨

Stefan Negru blankdots

:octocat:
keyboard bashing ⌨️ 🔨
View GitHub Profile
@blankdots
blankdots / sparql queries
Created August 13, 2014 18:29
sparql queries
http://sparqles.okfn.org/availability
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX uni: <http://www.Department0.University0.edu/>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT *
WHERE { ?subject ?predicate ?object }
@blankdots
blankdots / x
Created January 18, 2009 21:00
blankdots.com
/*
=skin=
@name izu
@author blankdots
@homepage http://www.blankdots.com
@email blankdots@gmail.com
@license MPL/LGPL/GPL
=/skin=
*/
@blankdots
blankdots / script.py
Created October 16, 2009 20:11
Feeltagged - Arduino project for HCI class
#Distributed under the MIT License :
#Copyright (c) 2009 <http://blankdots.com>
#Permission is hereby granted, free of charge, to any person
#obtaining a copy of this software and associated documentation
#files (the "Software"), to deal in the Software without
#restriction, including without limitation the rights to use,
#copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the
@blankdots
blankdots / sketch.pde
Created October 16, 2009 20:13
Feeltagged - Arduino project for HCI class
/**
Feeltagged - Arduino research project
Distributed under the MIT License :
Copyright (c) 2009 <http://blankdots.com>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
@blankdots
blankdots / test.php
Created October 16, 2009 20:09
CodeIgniter Demo
/**
Distributed under the MIT License :
Copyright (c) 2009 <http://blankdots.com>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
@blankdots
blankdots / inde_view.php
Created October 16, 2009 20:10
CodeIgniter Demo
<!--
Distributed under the MIT License :
Copyright (c) 2009 <http://blankdots.com>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
@blankdots
blankdots / genetic data.ipynb
Last active October 18, 2015 12:55
Software for Scientists - October 2015
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@blankdots
blankdots / sparqlwrapper.py
Last active January 30, 2017 18:04
template for construct and select to rdflib
from rdflib import ConjunctiveGraph, URIRef, Literal
from SPARQLWrapper import SPARQLWrapper, JSON
# import json
#http://rdfextras.readthedocs.io/en/latest/working_with.html
graph = ConjunctiveGraph()
sparql = SPARQLWrapper("http://localhost:3030/ds/query")
# add a default graph, though that can also be in the query string
We can take inspiration in the visualisation from such a platform: https://github.com/refinery-platform/refinery-platform
short poster: Interactive Visualization of Provenance Graphs for Reproducible Biomedical Research http://gehlenborg.com/wp-content/uploads/refinery_poster_biovis-2015.pdf
or: SATORI: A System for Ontology-Guided Visual Exploration of Biomedical Data Repositories http://www.biorxiv.org/content/biorxiv/early/2016/04/05/046755.full.pdf
or more visualisation examples:
https://flekschas.github.io/d3-list-graph/
https://github.com/Data2Semantics/provoviz
http://www.caleydo.org/publications/2016_eurovis_avocado/ with: http://demo.caleydo.org/pathfinder/
# this script works in both MacOS and Linux
.PHONY: upload submit user
SHELL := /bin/bash
DOCKER_PATH=$(shell pwd)
#GPG_EXEC=/usr/local/gnupg-2.2/bin/gpg2
GPG_EXEC=/usr/bin/gpg2
SSH_KEY_PUB=~/.ssh/dummy.key.pub
SSH_KEY_PRIV=~/.ssh/dummy.key