Skip to content

Instantly share code, notes, and snippets.

@white-gecko
Created September 19, 2012 13:05
Show Gist options
  • Save white-gecko/3749548 to your computer and use it in GitHub Desktop.
Save white-gecko/3749548 to your computer and use it in GitHub Desktop.
An example model for comment Activities and replies
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix sioc: <http://rdfs.org/sioc/ns#>.
@prefix aair: <http://xmlns.notu.be/aair#> .
@prefix atom: <http://www.w3.org/2005/Atom/> .
<http://flickr.com/bild1> a foaf:Image.
<http://comiles.eu/natanael.rdf#commentActivity1> a aair:Activity ;
aair:activityActor <http://comiles.eu/natanael.rdf#me> ;
atom:published "2012-09-19T13:40" ;
aair:activityVerb aair:Post ;
aair:activityObject <http://comiles.eu/natanael.rdf#comment1> ;
aair:activityContext <http://flickr.com/bild1>.
<http://comiles.eu/natanael.rdf#comment1> a sioc:Post;
sioc:content "Das Bild finde ich übrigens Super".
<http://comiles.eu/splatte.rdf#commentActivity1> a aair:Activity ;
aair:activityActor <http://comiles.eu/splatte.rdf#me> ;
atom:published "2012-09-19T13:45" ;
aair:activityVerb aair:Post ;
aair:activityObject <http://comiles.eu/splatte.rdf#comment1> ;
aair:activityContext <http://flickr.com/bild1>.
<http://comiles.eu/splatte.rdf#comment1> a sioc:Post;
sioc:content "Zu wenig Tiefenschärfe!".
<http://comiles.eu/natanael.rdf#commentActivity2> a aair:Activity ;
aair:activityActor <http://comiles.eu/natanael.rdf#me> ;
atom:published "2012-09-19T13:46" ;
aair:activityVerb aair:Post ;
aair:activityObject <http://comiles.eu/natanael.rdf#comment2> ;
aair:activityContext <http://comiles.eu/splatte.rdf#comment1>.
<http://comiles.eu/natanael.rdf#comment2> a sioc:Post;
sioc:content "Findest du wirklich?".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment