Skip to content

Instantly share code, notes, and snippets.

View elf-pavlik's full-sized avatar

elf Pavlik elf-pavlik

View GitHub Profile
@prefix : <http://ns.whocontrolsit.com/#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
<http://ns.whocontrolsit.com> a owl:Ontology;
rdfs:comment "A vocabulary for representing beneficial ownership"@en .
:Entity a owl:Class;
@elf-pavlik
elf-pavlik / cfapi-jsonld-macro.json
Last active November 16, 2015 02:51
experimental CFAPI JSON-LD Macro (Code for All)
{
"http://codeforamerica.org/api/projects/*": {
"$": {
"@context": { "@vocab": "http://schema.org/" },
"@type": "Code",
"@id": {"f:valueof": "api_url"},
"@transform": {
"url": { "f:valueof": "code_url" },
"forksCount": [
{ "f:valueof": "github_details" },
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

CC0 4.0 by e-P + J R

Legend:

  • Greeting App runs in the Browser.
  • webserviced runs remotely on Server A.
  • webprofiled, webfingerd & Persona IdP run remotely on Server B.
participant Greeting App
@elf-pavlik
elf-pavlik / banana-wishlist.md
Created August 1, 2014 12:50
Banana Wishlist
  • Raspbery Pi extensions
  • new board with more USB ports
  • usb wlan (to make AP)
  • usb 3g (for uplink)
  • usb 4g (for uplink)
@elf-pavlik
elf-pavlik / code-for-all.jsonld
Last active August 29, 2015 14:03
Code for All
{
"@context": {
"@vocab": "http://schema.org/",
"name": { "@container": "@language" }
},
"@id": "http://codeforall.org",
"@type": "Organization",
"location": {
"@id": "http://sws.geonames.org/6295630/",
"@type": "Place",
{
"@id": "https://example.net/jane/assets/231231",
"@type": "IndividualProduct",
"model": {
"@id": "http://fairphone.com/v1",
"@type": "ProductModel",
"name": "Fairphone V1"
},
"potentialAction": [
{
@elf-pavlik
elf-pavlik / GiveAction
Created June 24, 2014 11:21
schema:GiveAction
{
"@id": "/actions/12345",
"@type": "GiveAction",
"recipient": {
"@id": "https://wwelves.org/perpetual-tripper",
"@type": "Person",
"name": "elf Pavlik"
},
"agent": {
"@id": "https://example.net/jane",
@elf-pavlik
elf-pavlik / matera-stops
Created June 19, 2014 14:46
mapping of bus stops in matera to line numbers
1 [ '1', '2', '4', '8', '9', '10', '11', '12' ]
2 [ '1', '2', '4', '8', '9', '10', '11', '12' ]
3 [ '1', '2', '4', '10', '11', '12' ]
4 [ '1', '2', '4', '10', '11', '12' ]
5 [ '1', '2', '4', '10', '11', '12' ]
6 [ '1', '2', '4', '11', '12', '14', '15' ]
7 [ '1', '2', '12' ]
8 [ '1', '2', '6A', '6B', '12' ]
9 [ '1', '2', '6A', '6B', '12' ]
10 [ '1', '2', '6A', '6B', '12' ]