Community (Group Mode) Applications Data Space
Key ODS-Community to SIOC Mappings
| ODS | SIOC | Sample Value |
| Application Instance | rdf:type | sioc:Community |
| Application Type | rdf:type | sioc:Community |
| Application Instance Name | sioc:id | "http://demo.openlinksw.com/dataspace/demo/community/demoCommunity" |
Note: Default Graph URI value used in the queries below is: http://demo.openlinksw.com/dataspace
Data Space Post/Entry/Item Properties (sioc:Post predicates)
* content * has_container * has_creator * id * link * links_to * topic (tags) * has_reply (TBD) * reply_of (TBD)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX sioc: <http://rdfs.org/sioc/ns#>
PREFIX sioct: <http://rdfs.org/sioc/types#>
SELECT distinct ?attribute
WHERE
{
?forum rdf:type sioc:Community .
?forum sioc:has_part ?parentf .
?parentf sioc:container_of ?post .
?post ?attribute ?o
}
ORDER BY ?attribute
Dump of all Data Space entries for a given ODS Community
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX sioc: <http://rdfs.org/sioc/ns#>
PREFIX dct: <http://purl.org/dc/elements/1.1/>
SELECT ?post ?title
WHERE
{
?forum rdf:type sioc:Community .
?forum sioc:has_part ?parentf .
?parentf sioc:container_of ?post .
optional{?post dct:title ?title} .
}
Sample Data (Live Query Results)
- Click *Here* for an Interactive-Web View of an ODS Community Data Space
- Click Here for a live SPARQL Query (via SPARQL Protocol) against a collection of Community Posts.
References
Specs
FAQs
Presentations
- SPARQL Introduction - Dave Beckett, XTech 2004
- SPARQL Introduction - Dave Beckett, Standford University Presentation
- SPARQL Query Protocol presentation at XTech 2006 by Leigh Dodds
- SPASQL - Initiative to add SPARQL to MySQL?
Tutorials
- SPARQL Tutorial - Clark+Prasia & University of Manchester Tutorial
- Jena SPARQL Tutorial