Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@BigBlueHat
Forked from anonymous/README.md
Last active August 29, 2015 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BigBlueHat/cd7cfcddecd1dce5f32f to your computer and use it in GitHub Desktop.
Save BigBlueHat/cd7cfcddecd1dce5f32f to your computer and use it in GitHub Desktop.
JSON-LD Playground: Web Annotation Context for Hypothesis

Web Annotation Context for Hypothesis

This gist was automatically created by the JSON-LD Playground. You can see it loaded there by visiting:

http://json-ld.org/playground#/gist/<gist id>
{
"@context": {
"oa": "http://www.w3.org/ns/oa#",
"dc": "http://purl.org/dc/elements/1.1/",
"dcterms": "http://purl.org/dc/terms/",
"dctypes": "http://purl.org/dc/dcmitype/",
"foaf": "http://xmlns.com/foaf/0.1/",
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"text": {
"@id": "oa:hasBody"
},
"target": {
"@type": "@id",
"@id": "oa:hasTarget"
},
"source": {
"@type": "@id",
"@id": "oa:hasSource"
},
"selector": {
"@type": "@id",
"@id": "oa:hasSelector"
},
"state": {
"@type": "@id",
"@id": "oa:hasState"
},
"scope": {
"@type": "@id",
"@id": "oa:hasScope"
},
"user": {
"@type": "@id",
"@id": "oa:annotatedBy"
},
"serializedBy": {
"@type": "@id",
"@id": "oa:serializedBy"
},
"motivation": {
"@type": "@id",
"@id": "oa:motivatedBy"
},
"stylesheet": {
"@type": "@id",
"@id": "oa:styledBy"
},
"cached": {
"@type": "@id",
"@id": "oa:cachedSource"
},
"conformsTo": {
"@type": "@id",
"@id": "dcterms:conformsTo"
},
"members": {
"@type": "@id",
"@id": "oa:membershipList",
"@container": "@list"
},
"item": {
"@type": "@id",
"@id": "oa:item"
},
"related": {
"@type": "@id",
"@id": "skos:related"
},
"format": "dc:format",
"language": "dc:language",
"created": "oa:annotatedAt",
"updated": "oa:serializedAt",
"when": "oa:when",
"value": "rdf:value",
"start": "oa:start",
"end": "oa:end",
"exact": "oa:exact",
"prefix": "oa:prefix",
"suffix": "oa:suffix",
"label": "rdfs:label",
"name": "foaf:name",
"mbox": "foaf:mbox",
"nick": "foaf:nick",
"styleClass": "oa:styleClass",
"@base": "http://hypothes.is/api/annotations/",
"id": "@id",
"tags": "oa:Tag"
},
"updated": "2014-09-18T21:43:16.353744+00:00",
"target": [
{
"source": "http://faculty.georgetown.edu/irvinem/theory/Berners-Lee-HTTP-proposal.pdf",
"pos": {
"top": 549.5,
"height": 17
},
"selector": [
{
"type": "RangeSelector",
"startContainer": "/div[1]/div[2]/div[4]/div[1]/div[1]/div[2]/div[16]",
"endContainer": "/div[1]/div[2]/div[4]/div[1]/div[1]/div[2]/div[16]",
"startOffset": 0,
"endOffset": 7
},
{
"start": 397,
"end": 404,
"type": "TextPositionSelector"
},
{
"type": "TextQuoteSelector",
"prefix": "information Hypermedia CERNDOC",
"exact": "ENQUIRE",
"suffix": "Tim Berners-Lee section group C"
}
]
}
],
"created": "2014-09-18T21:32:13.492351+00:00",
"text": "As featured in \"Weaving the Web\" by Tim Berners-Lee",
"tags": [
"web",
"history"
],
"uri": "http://faculty.georgetown.edu/irvinem/theory/Berners-Lee-HTTP-proposal.pdf",
"user": "acct:BigBlueHat@hypothes.is",
"document": {
"eprints": {},
"title": "Berners-Lee-HTTP-proposal.pdf",
"twitter": {},
"dc": {},
"prism": {},
"highwire": {},
"facebook": {},
"reply_to": [],
"link": [
{
"href": "http://faculty.georgetown.edu/irvinem/theory/Berners-Lee-HTTP-proposal.pdf"
}
]
},
"consumer": "00000000-0000-0000-0000-000000000000",
"id": "Gk_TW9d_SyCG5cFH4UCy9A",
"permissions": {
"admin": [
"acct:BigBlueHat@hypothes.is"
],
"read": [
"acct:BigBlueHat@hypothes.is",
"group:__world__"
],
"update": [
"acct:BigBlueHat@hypothes.is"
],
"delete": [
"acct:BigBlueHat@hypothes.is"
]
}
}
{
"@context": {
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"playground": "http://json-ld.org/playground#",
"description": "rdfs:label",
"startTab": "playground:startTab",
"copyContext": "playground:copyContext",
"markup": {
"@id": "playground:markup",
"@type": "@id"
},
"context": {
"@id": "playground:context",
"@type": "@id"
},
"frame": {
"@id": "playground:frame",
"@type": "@id"
}
},
"description": "Web Annotation Context for Hypothesis",
"startTab": "tab-nquads",
"copyContext": false,
"markup": "./markup.jsonld",
"frame": "./frame.jsonld",
"context": "./context.jsonld"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment