Skip to content

Instantly share code, notes, and snippets.

@judell
Created September 1, 2017 16:11
Show Gist options
  • Save judell/a5d378cf78ff713263cc6af48aafa60f to your computer and use it in GitHub Desktop.
Save judell/a5d378cf78ff713263cc6af48aafa60f to your computer and use it in GitHub Desktop.
Pundit json-ld export of comment and reply
[{
"@id": "_:0be8406951cdfda82f00f79328cf4efc",
"@type": ["http:\/\/www.openannotation.org\/ns\/EmbeddedContent"],
"http:\/\/purl.org\/dc\/elements\/1.1\/format": [{
"@value": "text\/plain"
}],
"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#value": [{
"@value": "Comment"
}]
}, {
"@id": "http:\/\/purl.org\/pundit\/as\/annotation\/71353e80",
"@type": ["http:\/\/www.openannotation.org\/ns\/Annotation"],
"http:\/\/purl.org\/pundit\/ont\/ao#dislikes": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#int",
"@value": "0"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#endorses": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#int",
"@value": "0"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#hasPageContext": [{
"@id": "http:\/\/jonudell.net\/h\/t1.html"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#hasPageTitle": [{
"@value": "No title"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#id": [{
"@value": "71353e80"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#isIncludedIn": [{
"@id": "http:\/\/purl.org\/pundit\/as\/notebook\/53fe15df"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#likes": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#int",
"@value": "0"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#replies": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#int",
"@value": "1"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#reports": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#int",
"@value": "0"
}],
"http:\/\/www.openannotation.org\/ns\/annotatedAt": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#dateTime",
"@value": "2017-09-01T15:58:27Z"
}],
"http:\/\/www.openannotation.org\/ns\/annotatedBy": [{
"@id": "http:\/\/purl.org\/pundit\/as\/user\/58249c7680128"
}, {
"@value": "Jon Udell"
}],
"http:\/\/www.openannotation.org\/ns\/hasBody": [{
"@id": "_:0be8406951cdfda82f00f79328cf4efc"
}, {
"@id": "http:\/\/purl.org\/pundit\/as\/graph\/body-71353e80"
}],
"http:\/\/www.openannotation.org\/ns\/hasTarget": [{
"@id": "http:\/\/purl.org\/pundit\/as\/target\/2365c602ea092cd9917cbeb790902f02"
}],
"http:\/\/www.openannotation.org\/ns\/motivatedBy": [{
"@id": "http:\/\/www.openannotation.org\/ns\/commenting"
}],
"http:\/\/www.openannotation.org\/ns\/serializedAt": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#dateTime",
"@value": "2017-09-01T15:58:27Z"
}],
"http:\/\/www.openannotation.org\/ns\/serializedBy": [{
"@id": "http:\/\/thepund.it"
}],
"http:\/\/www.w3.org\/2000\/01\/rdf-schema#label": [{
"@value": "Annotation 2017-09-01T15:58:27Z"
}],
"http:\/\/xmlns.com\/foaf\/0.1\/thumbnail": [{
"@id": "https:\/\/lh3.googleusercontent.com\/-1SZJrMrJpVk\/AAAAAAAAAAI\/AAAAAAAAAGk\/P7cQC8AtqTg\/photo.jpg?sz=50"
}]
}, {
"@id": "http:\/\/purl.org\/pundit\/as\/notebook\/53fe15df",
"@type": ["http:\/\/purl.org\/pundit\/ont\/ao#Notebook"],
"http:\/\/purl.org\/dc\/elements\/1.1\/creator": [{
"@value": "Jon Udell"
}],
"http:\/\/purl.org\/dc\/terms\/created": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#dateTime",
"@value": "2016-12-12T17:11:22Z"
}],
"http:\/\/purl.org\/dc\/terms\/creator": [{
"@id": "http:\/\/purl.org\/pundit\/as\/user\/58249c7680128"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#id": [{
"@value": "53fe15df"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#includes": [{
"@id": "http:\/\/purl.org\/pundit\/as\/annotation\/71353e80"
}],
"http:\/\/purl.org\/pundit\/ont\/ao#isPublic": [{
"@type": "http:\/\/www.w3.org\/2001\/XMLSchema#boolean",
"@value": "true"
}],
"http:\/\/www.w3.org\/2000\/01\/rdf-schema#label": [{
"@value": "Notebook 2016-12-12 17:11:22"
}]
}, {
"@id": "http:\/\/purl.org\/pundit\/as\/selector\/2365c602ea092cd9917cbeb790902f02",
"@type": ["http:\/\/www.openannotation.org\/ns\/FragmentSelector"],
"http:\/\/purl.org\/dc\/terms\/conformsTo": [{
"@id": "http:\/\/tools.ietf.org\/rfc\/rfc3023"
}],
"http:\/\/www.w3.org\/1999\/02\/22-rdf-syntax-ns#value": [{
"@value": "http:\/\/jonudell.net\/h\/t1.html#xpointer(start-point(string-range(\/\/BODY\/BLOCKQUOTE[1]\/P[1]\/text()[1],\u0027\u0027,12))\/range-to(string-range(\/\/BODY\/BLOCKQUOTE[1]\/P[1]\/text()[1],\u0027\u0027,28)))"
}],
"http:\/\/www.w3.org\/2000\/01\/rdf-schema#label": [{
"@value": "examine the way "
}]
}, {
"@id": "http:\/\/purl.org\/pundit\/as\/target\/2365c602ea092cd9917cbeb790902f02",
"@type": ["http:\/\/purl.org\/pundit\/ont\/ao#fragment-text", "http:\/\/www.openannotation.org\/ns\/SpecificResource"],
"http:\/\/purl.org\/dc\/terms\/isPartOf": [{
"@id": "http:\/\/jonudell.net\/h\/t1.html"
}],
"http:\/\/www.openannotation.org\/ns\/hasScope": [{
"@id": "http:\/\/jonudell.net\/h\/t1.html"
}],
"http:\/\/www.openannotation.org\/ns\/hasSelector": [{
"@id": "http:\/\/purl.org\/pundit\/as\/selector\/2365c602ea092cd9917cbeb790902f02"
}],
"http:\/\/www.openannotation.org\/ns\/hasSource": [{
"@id": "http:\/\/jonudell.net\/h\/t1.html"
}]
}, {
"@id": "http:\/\/purl.org\/pundit\/as\/user\/58249c7680128",
"@type": ["http:\/\/xmlns.com\/foaf\/0.1\/Person"],
"http:\/\/purl.org\/pundit\/ont\/ao#current": [{
"@id": "http:\/\/purl.org\/pundit\/as\/notebook\/53fe15df"
}],
"http:\/\/xmlns.com\/foaf\/0.1\/familyName": [{
"@value": "Udell"
}],
"http:\/\/xmlns.com\/foaf\/0.1\/givenName": [{
"@value": "Jon"
}],
"http:\/\/xmlns.com\/foaf\/0.1\/mbox": [{
"@id": "mailto:judell@hypothes.is"
}],
"http:\/\/xmlns.com\/foaf\/0.1\/mbox_sha1sum": [{
"@value": "f11e0c8aa1e4a86b79b20e3a4d3fa4a76daa5a9c"
}],
"http:\/\/xmlns.com\/foaf\/0.1\/name": [{
"@value": "Jon Udell"
}],
"http:\/\/xmlns.com\/foaf\/0.1\/thumbnail": [{
"@id": "https:\/\/lh3.googleusercontent.com\/-1SZJrMrJpVk\/AAAAAAAAAAI\/AAAAAAAAAGk\/P7cQC8AtqTg\/photo.jpg?sz=50"
}]
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment