FOAFRealm/MeetsSIOC
From Corrib Clan Wiki
Contents |
FOAFRealm meets SIOC
Goal:
To allow interoperability between various social semantic information sources - Social Semantic Collaborative Filtering and Semantic Forums, Blogs in particular
21/09/2006 We have now support for SIOC data in FOAFRealm.
Aannotations (posts)
Reading / writing annotations
It is possible to annotate resources with SIOC ontology.
To test it one must fill in the form on http://localhost:8080/foafrealm/testPosts.jsp with URI of the resource to be annotated and mbox the of annotator. After submitting the form, the list of all annotations of the requested resource is displayed on the screen. These are only summaries of the root-posts, the main posts annotations. You can expand the view of any post, which display all rsponces of it (if it has any, of course). You can easily write a new root post or a reply for an existing one, thanks to AJAX-rendered functinality.
Besides reading / writing posts, one can export them to RDF as well (XML representation).
RDF represenatation of a post
| Property / class name | Description |
|---|---|
| sioc:Post | Annotation of a resource |
| sioc:title | Title of the post |
| sioc:related_to | Points to the annotated resource |
| dc:description | Content of the annotation (its body) |
| dcTerms:created | When annotation was created |
| sioc:has_creator | Author of the annoatation |
| sioc:has_reply | Represents a reply for that annotation |
Module files
JavaScript files (js/rating) - FOAFRealm_webapp module
- js/posts.js - manages the user interaction with AJAX
- js/prototype.js - used in posts.js
JSP/TAGs files - FOAFRealm_webapp module
- testPosts.jsp - it contains a form to get information on who is annotating and what resource is annotated
- WEB-INF/tags/posts.tag - displays root posts
- siocPost_xml.jsp - XML-based AJAX response containing information about posts
- siocPostNew_xml.jsp - XML-based AJAX response used in adding a post (TODO: join it and siocPost_xml.jsp)
- WEB-INF/tags/siocposts.tag - XML representation of a post
Java classes - both FOAFRealm_webapp and sscf module
- org.foafrealm.servlet.PostsServlet - generates content of the page which will be displayed
- org.foafrealm.manage.XfoafSscfResource - get/setEvaluation methods are invoked
- classess from org.foafrealm.manage.sioc package:
- SIOC - set of the SIOC classes' and properties' URIs
- SiocPostBean - represents a single post
- PostedResource - provides functionalities relevant to SIOC data handling
- org.foafrealm.tags.Posts - a few static methods that are used in
Managing annotations is in a phase of testing now, but it seems it works properly.
Using SIOC metadata in SSCF
This functionality is being developed at the moment.
To get more information about that see also SSCF Bookmarks Interface
There is supposed to be a SIOC directory in one's private bookshelf of bookmarks. In that directory bookmarked SIOC data (posts, forums and sites according to the SIOC concept) will be kept. That would allow the users to browse:
- browse their and others' posts withing SSCF
- bookmark posts
- get's recommendations (alpha feature: SSCF+Trust Engine)
25/07/2006 Meeting
- Jaroslaw Dobrzanski
- Uldis Bojars
Suggestions
- fully adapt SIOC ontology
<rdf:RDF
xmlns:sioc="http://rdfs.org/sioc/ns*"
xmlns:ex="http://to.be.changed/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sioc:Post>
<dc:description />
<sioc:created_at />
<sioc:has_creator />
<ex:annotated_resource/>
<sioc:has_reply />
</sioc:Post>
</rdf:RDF>
Ambiguities
- How to connect the resource being annotated with the very annotation? Possible two solutinos:
- someResource ---has_post---> anAnnotation - create new triples
- anAnnotation ---reffers---> someResource - realised by
<ex:annotated_resource />attribute (decide on the attribute - wheter one from SIOC or another ontology
30/05/2006 Meeting
- Sebastian Ryszard Kruk
- Uldis Bojars
- Sławomir Grzonkowski
- Tomasz Woroniecki
- Adam Gzella
- Alexandre Passant
Presentations
- Uldis presented:
- SIOC
- Architecture of the UI for SIOC browsing
- Adam presented:
- FOAFRealm as an authetication service
- SSCF browsing component
Possible scenarios of aligning FOAFRealm and SIOC
- Defining annotations in SSCF-FOAFRealm so that:
- they could be exported to SIOC
Tomasz: List of X-FOAF concepts related to annotations:
| Property or class name | Description |
|---|---|
| xfoaf:annotates | Defines which resources are being annotated by this one |
| xfoaf:follows | Defines the annotations that this annotations follows/responds to in the conversation |
| xfoaf:isEvaluatedWith | Defines the concepts :typeOf Evaluation that evaluates this Resource |
| xfoaf:isIssuedBy | Defines the :Person-s that issued this :Evaluation or :Annotation |
| xfoaf:value | Defines the value given to in this evaluation |
| xfoaf:issueDate | Defines when someone has statted this annotation |
| xfoaf:Evaluation | Represents an evaluation of the resource with given URI |
| xfoaf:Annotation | Represents an annotation of the resource with given URI |
- or using SIOC ontology for that part explicitely (TODO:@Uldis put the list of SIOC concepts related to annotations)
- Using SIOC metadata in SSCF
- We would like to be able to define dedicated catalogs in SSCF that would represent SIOC concepts:
- Site
- Forum
- Posts
- That would allow the users to browse:
- browse their and others' posts withing SSCF
- bookmark posts
- get's recommendations (alpha feature: SSCF+Trust Engine)
- We would like to be able to define dedicated catalogs in SSCF that would represent SIOC concepts:
- Tasks:
- Align SIOC and FOAFRealm-SSCF ontologies
- Think about other possible user brosing techniques - JeromeDL accessing FOAF information about the user, and browsing further towards other social semantic information source related to that user-author



