Skip to content

Instantly share code, notes, and snippets.

@stuehmer
Forked from chamerling/group.json
Last active December 14, 2015 12:59
Show Gist options
  • Save stuehmer/5090675 to your computer and use it in GitHub Desktop.
Save stuehmer/5090675 to your computer and use it in GitHub Desktop.
* I added the #type * changed the namespace to "/id/MyGroupName#group" ... looks nicer than the old "ids" in plural. * added an example account identified by my facebook ID * the account is #member_of the group (we can also specify #has_member on the group an I can derive both statements to be the same) * another user account which is "same as" …
{
"http://groups.event-processing.org/id/MyGroupName#group" :
{
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "My Group title" } ],
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "A group." } ],
"http://www.w3.org/2002/06/xhtml2/icon": [ { "type" : "uri", "value" : "http://s-static.ak.facebook.com/rsrc.php/yi/r/q9U99v3_saj.ico" } ],
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://rdfs.org/sioc/ns#Usergroup" } ]
},
"http://graph.facebook.com/roland.stuehmer#" :
{
"http://rdfs.org/sioc/ns#member_of": [ { "type" : "uri", "value" : "http://groups.event-processing.org/id/MyGroupName#group" } ],
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://rdfs.org/sioc/ns#UserAccount" } ]
},
"http://www.roland-stuehmer.de/foaf.rdf" :
{
"http://www.w3.org/2002/07/owl#sameAs": [ { "type" : "uri", "value" : "http://graph.facebook.com/roland.stuehmer#" } ],
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://rdfs.org/sioc/ns#UserAccount" } ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment