Skip to content

Instantly share code, notes, and snippets.

@chamerling
Created March 7, 2013 11:41
Show Gist options
  • Save chamerling/5107467 to your computer and use it in GitHub Desktop.
Save chamerling/5107467 to your computer and use it in GitHub Desktop.
Stream & Groups
{
"http://groups.event-processing.org/id/MyGroupA#group" :
{
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "MyGroupA group" } ],
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "The Play MyGroupA 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://groups.event-processing.org/id/MyGroupB#group" :
{
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "MyGroupB group" } ],
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "The Play MyGroupB 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://streams.event-processing.org/ids/MyPersonalStream#stream" :
{
"http://purl.org/dc/elements/1.1/title": [ { "type" : "literal", "value" : "Facebook Status Feed" } ],
"http://purl.org/dc/elements/1.1/description": [ { "type" : "literal", "value" : "A stream of Facebook Wall updates." } ],
"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.play-project.eu/xml/ns/topic": [ { "type" : "uri" , "value" : "http://streams.event-processing.org/ids/FacebookStatusFeed" } ],
"http://www.play-project.eu/xml/ns/topic/prefix": [ { "type" : "literal" , "value" : "s" } ],
"http://www.play-project.eu/xml/ns/topic/name": [ { "type" : "literal" , "value" : "FacebookStatusFeed" } ],
"http://www.play-project.eu/xml/ns/topic/ns": [ { "type" : "uri" , "value" : "http://streams.event-processing.org/ids/" } ],
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ { "type" : "uri", "value" : "http://events.event-processing.org/types/Stream" } ],
"http://rdfs.org/sioc/ns#has_usergroup": [ { "type" : "uri", "value" : "http://groups.event-processing.org/id/MyGroupA#group" }, { "type" : "uri", "value" : "http://groups.event-processing.org/id/MyGroupB#group" } ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment