Skip to content

Instantly share code, notes, and snippets.

View elf-pavlik's full-sized avatar

elf Pavlik elf-pavlik

View GitHub Profile
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix ns0: <http://purl.org/vocab/vann/> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ns1: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
<rdf:RDF xmlns="http://www.w3.org/2000/01/rdf-schema#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dct="http://purl.org/dc/terms/"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:s="http://www.w3.org/2000/01/rdf-schema#">
<rdf:Description rdf:about="">
<dc:title>Issue Tracking Ontology</dc:title>
<dct:creator rdf:resource="http://www.w3.org/People/Berners-Lee/card#i"/>
var Promise = require('promise');
var concat = require('concat-stream');
module.exports = function(fdb) {
this.read = function(key){
return new Promise(function(resolve, reject){
var headsCS = concat(function(hashes) {
var readCS = concat(function(buffer){
resolve(JSON.parse(buffer.toString()));
{
"@context": "https://w3id.org/kosmos/v1",
"@graph": [
{
"@id": "irc://irc.freenode.net/#kosmos",
"@type": "ChatChannel",
"name": "Kosmos dev chat",
"title": "code now Open Source!",
"parent_of": [
"https://kosmos.org/irc/freenode/kosmos/2015/06/01",
{
"@id": "https://graph.wwelves.org/6cc66661-9e7a-4ffa-b24d-7443d5bb1716",
"@type": ["verb:Read", "as:IntendedActivity"],
"rdfs:comment": "read about XMLNS",
"as:actor": {
"@id": "https://wwelves.org/perpetual-tripper",
"@type": ["Elf", "foaf:Person"],
"name": "elf Pavlik",
"foaf:account": "mailto:perpetual-tripper@wwelves.org"
},
{
"@context": "https://w3id.org/credentials/v1",
"id": "https://example.com/identities/bob",
"type": ["Identity", "Person"],
"name": "Bob Bobman",
"birthdate": "1985-12-14",
"email": "bbob@example.com",
"emailSha512": "ph9dC0z3uy3pfHe2QADhuoFc6Zm9N0wIDmwH0lSs06ZXdsgvueIWK3ZXyZXawxGtkfayU+tFVZDc42J1+w+3FQ==",
"achievement": ["https://bigunivertsity.edu/degrees/BA"],
"credential": [{
@elf-pavlik
elf-pavlik / sameAs+me.html
Last active August 29, 2015 14:16
using rel="me" with rel="sameAs"
<div vocab="http://schema.org/">
<div about="https://wwelves.org/perpetual-tripper" typeof="Person">
<span property="name">elf Pavlik</span>
<ul>
<li>
<a rel="me" property="sameAs" href="https://twitter.com/elfpavlik">Twitter</a>.
</li>
</ul>
</div>
</div>
{
"@context": {
"@vocab": "http://schema.org/",
"cco": "http://purl.org/ontology/cco/core#",
"id":"@id",
"type": "@type",
"interest": "cco:interest"
}
}
{
"@context": {
"@vocab": "http://schema.org/",
"mm": "http://ns.metamaps.cc/#",
"mmc": "http://metamaps.cc/metacodes/",
"permission": {
"@type": "@id",
"@id": "mm:permission"
},
"featured": "mm:featured",
{
"@context": {
"@vocab": "http://schema.org/",
"mm": "http://ns.metamaps.cc/#",
"mmc": "http://metamaps.cc/metacodes/",
"permission": { "@type": "@id", "@id": "mm:permission"},
"featured": "mm:featured",
"arranged": "mm:arranged"
},
"@id": "http://metamaps.cc/maps/1207",