Skip to content

Instantly share code, notes, and snippets.

Markus Lanthaler lanthaler

Block or report user

Report or block lanthaler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Onename verification
Verifying that +lanthaler is my blockchain ID.
View gist:f7777baf1054106d3b61
<script type="application/ld+json">
"@context": [
{ "@language": "en-ca" }
"@type": "Library",
"address": {
"@id": "_:address",
"@type": "PostalAddress",
lanthaler / apibunny-middleware
Last active Aug 29, 2015
APItools middleware to convert responses to JSON-LD
View apibunny-middleware
return function(request, next_middleware)
local response = next_middleware()
if (response.headers['content-type'] == 'application/json') then
local data = json.decode(response.body)
if (data.mazes) then
data['@context'] = ''
data['id'] = data.mazes[1].id
data['@type'] = 'Maze'
View On choosing a hypermedia type
A comparison of Collection+JSON, HAL, JSON-LD and SIREN media types.
lanthaler / rdfa11.jsonld
Created Feb 28, 2013
A JSON-LD context defining the same IRI mappings as RDFa's initial context
View rdfa11.jsonld
"@context": {
"grddl": "",
"ma": "",
"owl": "",
"rdf": "",
"rdfa": "",
"rdfs": "",
"rif": "",
"rr": "",
You can’t perform that action at this time.