You are here:
/ Dashboard / Main / SIOCRefWiki

Wiki Data Space

Key ODS-Wiki to SIOC Mappings

ODS SIOC Sample Value
Application Instance rdf:type sioc:Container
Application Type rdf:type sioct:Wiki
Application Instance Name sioc:id "http://demo.openlinksw.com/dataspace/demo/wiki/mywiki"

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)

   * attachment
   * content
   * has_container
   * has_creator
   * id
   * link
   * links_to
   * reply_of
   * topic (tags)
   * has_reply 


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 sioct:Wiki  .
        ?forum sioc:container_of ?post .
        ?post ?attribute ?o  
      }
ORDER BY ?attribute

Dump of all Wikiwords for a given Wiki

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#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
PREFIX dct: <http://purl.org/dc/elements/1.1/>
PREFIX dcc: <http://purl.org/dc/terms/> 
SELECT distinct ?forum_name, ?post, ?title, ?link, ?links_to, ?cr
WHERE {
        ?forum rdf:type sioct:Wiki .
        ?forum sioc:id ?forum_name.
        ?forum sioc:container_of ?post .
        ?post  dct:title ?title.
        OPTIONAL {?post dcc:created ?cr}.
        OPTIONAL {?post sioc:link ?link} .
        OPTIONAL {?post sioc:links_to ?links_to} .   
      }
ORDER BY ?title

Dump of all Wikiwords for a given Wiki including content

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#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
PREFIX dct: <http://purl.org/dc/elements/1.1/>
PREFIX dcc: <http://purl.org/dc/terms/> 
SELECT ?forum_name, ?post, ?title, ?link, ?cr, ?content
WHERE {
        ?forum rdf:type sioct:Wiki .
        ?forum sioc:id ?forum_name.
        ?forum sioc:container_of ?post .
        ?post  dct:title ?title.
        OPTIONAL {?post dcc:created ?cr}.
        OPTIONAL {?post sioc:link ?link} .
        OPTIONAL {?post sioc:content ?content}. 
      }

Dump of all Wikiwords for a given Wiki including content plus out-bound links

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#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
PREFIX dct: <http://purl.org/dc/elements/1.1/>
PREFIX dcc: <http://purl.org/dc/terms/> 
SELECT ?forum_name, ?post, ?title, ?link, ?links_to, ?cr, ?content
WHERE {
        ?forum rdf:type sioct:Wiki .
        ?forum sioc:id ?forum_name.
        ?forum sioc:container_of ?post .
        ?post  dct:title ?title.
        OPTIONAL {?post dcc:created ?cr}.
        OPTIONAL {?post sioc:link ?link} .
        OPTIONAL {?post sioc:links_to ?links_to} .  
        OPTIONAL {?post sioc:content ?content}. 
      }

Sample Data (Live Query Results)
  • Click *Here* for an Interactive-Web View of this Data Space
  • Click *Here* for a live SPARQL Query (via SPARQL Protocol) against a Collection of Wikis.

List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with Wiki Data Space Instances


prefix sioc: <http://rdfs.org/sioc/ns#>
prefix  sioct: <http://rdfs.org/sioc/types#>
select ?endp , ?proto 
where
  {
    ?forum a sioct:Wiki.
    ?forum sioc:has_service ?svc .
    ?svc sioc:service_endpoint ?endp .
    ?svc sioc:service_protocol ?proto .
   }
order by ?proto

Sample Data (Live Query Results)
  • Click *Here* for an Interactive-Web View of this Data Space
  • Click *Here* for a live SPARQL Query (via SPARQL Protocol) against a collection of Wiki Services.

References

Specifications

FAQs

Presentations

Tutorials

Virtuoso and the Virtuoso Website are Copyright (C) OpenLink Software 2006-
SourceForge.net Logo