You are here:
/ Dashboard / Main / ODSSIOCRef

ODS SIOC Reference

This article outlines the mapping of ODS data to the SIOC ontology for the purpose of constructing SPARQL? Queries against OpenLink Data Spaces ODS? Data.

Note:

Weblog Data Space

Key ODS-Weblog to SIOC Mappings

ODS SIOC Sample Value
Application Instance rdf:type sioc:Forum
Application Type rdf:type sioct:Weblog
Application Instance Name sioc:id "http://demo.openlinksw.com/dataspace/demo/weblog/myblog"

Data Space Post/Entry/Item Properties (sioc:Post predicates)

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


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
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum a sioct:Weblog .
    ?forum sioc:container_of ?post .
    ?post ?attribute ?o  
  }
order by ?attribute
Dump of all Weblog Posts for a given ODS Member

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 ?cr ?url 
from <http://demo.openlinksw.com/dataspace> 
where    
  { 
    ?forum a sioct:Weblog .
    ?forum sioc:id ?forum_name.
    ?forum sioc:scope_of ?role. 
    ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo#this> .
    ?forum sioc:container_of ?post. 
    optional{?post dct:title ?title}.
    optional{?post dcc:created ?cr}.
    optional{?post sioc:link ?url}.
  }
order by DESC (?cr)

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 blog posts for user demo.
List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with Weblog Data Space Instances

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 ?endp, ?proto 
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum a sioct:Weblog .
    ?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 blog posts.
Dump of all Weblog Posts for a given ODS Member that includes content of blog post.

prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>  
prefix sioc: <http://rdfs.org/sioc/ns#> 
prefix xsd: <http://www.w3.org/2001/XMLSchema#> 
prefix dct: <http://purl.org/dc/elements/1.1/>
prefix dcc: <http://purl.org/dc/terms/> 
prefix sioct: <http://rdfs.org/sioc/types#>
select ?forum_name, ?post, ?title, ?cr, ?content, ?url
from <http://demo.openlinksw.com/dataspace> 
where    
  { 
    ?forum a sioct:Weblog .
    ?forum sioc:id ?forum_name.
    ?forum sioc:scope_of ?role. 
    ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo#this> .
    ?forum sioc:container_of ?post. 
    optional{?post dct:title ?title }.
    optional{?post dcc:created ?cr }.
    optional{?post sioc:link ?url }.
    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 blog posts.
Dump of all Weblog Posts for a given ODS Member that includes content of blog post 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, ?cr, ?content, ?url, ?links_to
from <http://demo.openlinksw.com/dataspace> 
where    
   { 
     ?forum a sioct:Weblog . 
     ?forum sioc:id ?forum_name.
     ?forum sioc:scope_of ?role. 
     ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo#this> .
     ?forum sioc:container_of ?post. 
     optional{ ?post dct:title ?title }.
     optional{ ?post dcc:created ?cr }.
     optional{ ?post sioc:link ?url }.
     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 blog posts.

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"

Data Space Post/Entry/Item Properties (sioc:Post predicates)

   * attachment
   * content
   * has_container
   * has_creator
   * id
   * link
   * links_to
   * reply_of (TBD - for older db is not supported)
   * 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
from <http://demo.openlinksw.com/dataspace>
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
from <http://demo.openlinksw.com/dataspace>
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
from <http://demo.openlinksw.com/dataspace>
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
from <http://demo.openlinksw.com/dataspace>
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 
from <http://demo.openlinksw.com/dataspace>
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.

Calendar Data Space

Key ODS-Calendar to SIOC Mappings

ODS SIOC Sample Value
Application Instance rdf:type sioc:Container
Application Type rdf:type sioct:Calendar
Application Instance Name sioc:id "http://demo.openlinksw.com/dataspace/demo/calendar/mycalendar"
Data Space Post/Entry/Item Properties (sioc:Post predicates)

   * content
   * has_container
   * has_creator
   * id
   * link
   * topic (tags)

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
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum rdf:type sioct:Calendar .
    ?forum sioc:container_of ?post .
    ?post ?attribute ?o  
  }
order by ?attribute
Dump of all Events for a given Calendar

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 dct: <http://purl.org/dc/elements/1.1/>
prefix dcc: <http://purl.org/dc/terms/>
prefix calr: <http://www.w3.org/2002/12/cal#> 
select distinct ?forum_name, ?post, ?title, ?link, ?cr
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum rdf:type sioct:Calendar .
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post rdf:type calr:vevent .
    ?post  dct:title ?title.
    optional {?post dcc:created ?cr}.
    optional {?post sioc:link ?link} .   
  }
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 Calendar Posts.
Dump of all Events for a given Calendar 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 dct: <http://purl.org/dc/elements/1.1/>
prefix dcc: <http://purl.org/dc/terms/> 
prefix calr: <http://www.w3.org/2002/12/cal#> 
select ?forum_name, ?post, ?title, ?link, ?links_to, ?cr, ?content
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum rdf:type sioct:Calendar.
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post rdf:type calr:vevent .
    optional {?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 Calendar Events.
Dump of Events with details for a given Calendar

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 dct: <http://purl.org/dc/elements/1.1/>
prefix dcc: <http://purl.org/dc/terms/>
prefix calr: <http://www.w3.org/2002/12/cal#> 
select distinct ?forum_name, ?post, ?url, ?summary, ?descr, ?location
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum rdf:type sioct:Calendar .
    ?forum sioc:id ?forum_name.
    ?forum sioc:container_of ?post .
    ?post rdf:type calr:vevent .
    optional{?post dct:title ?title}.
    optional{?post calr:url ?url }.
    optional{?post calr:summary ?summary }.
    optional{?post calr:description ?descr }.
    optional{?post calr:dtstart ?start}.
    optional{?post calr:location ?location}.
  }
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 Calendar Events.

Feeds / Subscriptions Data Space (Feed Aggregation)

Key ODS-Feed Manager to SIOC Mappings

ODS SIOC Sample Value
Application Instance rdf:type sioc:Container
Application Type rdf:type sioct:SubscriptionList?
Application Instance Name sioc:id "http://demo.openlinksw.com/dataspace/demo/subscriptions/DemoFeeds"

Data Space Post/Entry/Item Properties (sioc:Post predicates)

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

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
from <http://demo.openlinksw.com/dataspace>
where {
        ?forum rdf:type sioct:SubscriptionList .
        ?forum sioc:parent_of ?parentf .
        ?parentf sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute
Obtaining a dump of all Posts within an ODS-Feeds Data Space.

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 dct: <http://purl.org/dc/elements/1.1/>
prefix dcc: <http://purl.org/dc/terms/>
select  ?forum_name, ?channel, ?item_title, ?created
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum a sioct:SubscriptionList;
                   sioc:id ?forum_name.
    ?forum sioc:scope_of ?role. 
    ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo#this> .
    ?forum sioc:parent_of ?channel .
    ?channel sioc:container_of ?post .
    optional{ ?post dct:title ?item_title }.
    optional{ ?post dcc:created ?created }.
  }

Sample Data (Live Query Results)
  • Click *Here* for an Interactive-Web View
  • Click *Here* for a live SPARQL Query (via SPARQL Protocol) against a collection of Feed Subscriptions.
Obtaining a dump of all Posts within an ODS-Feeds Data Space that includes feed 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 dct: <http://purl.org/dc/elements/1.1/>
prefix dcc: <http://purl.org/dc/terms/>
select  ?forum_name, ?channel, ?item_title, ?url, ?created, ?content
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum a sioct:SubscriptionList;
               sioc:id ?forum_name.
    ?forum sioc:scope_of ?role. 
    ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo#this> .
    ?forum sioc:parent_of ?channel .
    ?channel sioc:container_of ?post .
    optional{ ?post dct:title ?item_title }.
    optional{ ?post sioc:links_to ?url }.
    optional{ ?post dcc:created ?created }.
    optional{ ?post sioc:content ?content}.
  }
Sample Data (Live Query Results)
  • Click *Here* for an Interactive-Web View
  • Click *Here* for a live SPARQL Query (via SPARQL Protocol) against a collection of Feed Subscriptions.

Bookmarks Data Space

Key ODS-Bookmark Manager to SIOC Mappings

ODS SIOC Sample Value
Application Instance rdf:type sioc:Container
Application Type rdf:type sioct:BookmarkFolder?
Application Instance Name sioc:id "http://demo.openlinksw.com/dataspace/demo/bookmark/mybookmarks"

Data Space Post/Entry/Item Properties (sioc:Post predicates)

   * content   
   * has_container
   * has_creator
   * id
   * link
   * links_to
   * topic (tags) 

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
from <http://demo.openlinksw.com/dataspace>
where {
        ?forum a sioct:BookmarkFolder .
        ?forum sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute
Dump of all Bookmark Data Space entries for a given ODS Bookmarks Data Space

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 dct: <http://purl.org/dc/elements/1.1/>
select distinct ?forum_name, ?post, ?title, ?link, ?url
from <http://demo.openlinksw.com/dataspace>
where {
        ?forum a sioct:BookmarkFolder .
        ?forum sioc:id ?forum_name.
        ?forum sioc:scope_of ?role. 
        ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo#this> .
        ?forum sioc:container_of ?post .
        optional{ ?post  dct:title ?title }.
        optional{ ?post sioc:link ?link  } .
        optional{ ?post sioc:links_to ?url }
      }
order by ?title

Sample Data (Live Query Results)
  • Click *Here* for an Interactive-Web View of an ODS Bookmarks Data Space
  • Click Here for a live SPARQL Query (via SPARQL Protocol) against a collection of published bookmarks.

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

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 ?endp , ?proto 
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum a sioct:BookmarkFolder .
    ?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 Bookmarks Web Services..

AddressBook Data Space

Key ODS-AddressBook to SIOC Mappings

ODS SIOC Sample Value
Application Instance rdf:type sioc:Container
Application Type rdf:type sioct:AddressBook?
Application Instance Name sioc:id "http://demo.openlinksw.com/dataspace/demo/addressbook/myAddressBook"

Data Space Post/Entry/Item Properties (sioc:Post predicates)

   * has_container
   * has_creator
   * id
   * link
   * topic


prefix sioc: <http://rdfs.org/sioc/ns#>
prefix sioct: <http://rdfs.org/sioc/types#>
select distinct ?attribute
from <http://demo.openlinksw.com/dataspace>
where
  {
    ?forum a sioct:AddressBook .
    ?forum sioc:container_of ?post .
    ?post ?attribute ?o  
  }
order by ?attribute

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 AddressBook Properties list .
Dump all properties supported for members imported from Briefcase FOAF uploaded

prefix sioct: <http://rdfs.org/sioc/types#>
prefix sioc: <http://rdfs.org/sioc/ns#>
select distinct ?attribute
from <http://demo.openlinksw.com/dataspace>
where
  {
    ?s a sioct:AddressBook;
    sioc:scope_of ?role.
    ?role sioc:function_of ?member.
    ?member ?attribute ?o  
  }

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 AddressBook contact list .
Dump all AddressBook's members

prefix sioc: <http://rdfs.org/sioc/ns#>
prefix sioct: <http://rdfs.org/sioc/types#>
prefix foaf: <http://xmlns.com/foaf/0.1/>
select ?member
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?s a sioct:AddressBook;
    sioc:scope_of ?role.
    ?role sioc:function_of ?member.
    ?member a foaf:Person.        
  }

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 AddressBook contact list .
Dump all AddressBook's members friends

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 foaf: <http://xmlns.com/foaf/0.1/>
select ?member, ?knows
from <http://demo.openlinksw.com/dataspace>
where
  {
    ?s a sioct:AddressBook;
       sioc:scope_of ?role.
    ?role sioc:function_of ?member.
    ?member a foaf:Person.
    ?member foaf:knows ?knows
  }

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 AddressBook contact list .

Dump all AddressBook's contacts

prefix sioc: <http://rdfs.org/sioc/ns#>
prefix sioct: <http://rdfs.org/sioc/types#>
prefix vcd: <http://www.w3.org/2001/vcard-rdf/3.0#>
prefix dct: <http://purl.org/dc/elements/1.1/>
prefix dcc: <http://purl.org/dc/terms/>
select ?FN ?nick ?address ?title ?created ?link ?topic 
from <http://demo.openlinksw.com/dataspace>
where
  {
    ?forum a sioct:AddressBook .
    ?forum sioc:container_of ?post .
    optional {?post vcd:FN ?FN }.
    optional {?post vcd:NICKNAME ?nick}.
    optional {?post vcd:ADR ?address}.
    optional {?post dct:title ?title}.
    optional {?post dcc:created ?created}.
    optional {?post sioc:link ?link }.
    optional {?post sioc:topic ?topic } .
  }

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 AddressBook contact list .

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

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 ?endp , ?proto 
from <http://demo.openlinksw.com/dataspace>
where 
  {
    ?forum a sioct:AddressBook .
    ?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 AddressBook Web Services.

Polls Data Space

Key ODS-Polls to SIOC Mappings

ODS SIOC Sample Value
Application Instance rdf:type sioc:Container
Application Type rdf:type sioct:SurveyCollection?
Application Instance Name sioc:id "http://demo.openlinksw.com/dataspace/demo/polls/mypolls"
Data Space Post/Entry/Item Properties (sioc:Post predicates)

   * content
   * has_container
   * has_creator
   * id
   * link
   * topic (tags)

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
from <http://demo.openlinksw.com/dataspace>
where {
        ?forum a sioct:SurveyCollection.
        ?forum sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute

Dump of all Polls Posts for a given ODS Member

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 ?cr ?url 
from <http://demo.openlinksw.com/dataspace> 
where    { 
           ?forum a sioct:SurveyCollection.
           ?forum sioc:id ?forum_name.
           ?forum sioc:scope_of ?role. 
           ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo#this> .
           ?forum sioc:container_of ?post. 
           optional{ ?post dct:title ?title }.
           optional{ ?post dcc:created ?cr }.
           optional{ ?post sioc:link ?url }.
         }
order by DESC (?cr)

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 polls.

Photo Gallery Data Space

Key ODS-Photo Gallery to SIOC Mappings

ODS SIOC Sample Value
Application Instance rdf:type sioc:Container
Application Type rdf:type sioct:ImageGallery?
Application Instance Name sioc:id "http://demo.openlinksw.com/dataspace/demo/photos/MyGallery"

Data Space Post/Entry/Item Properties (sioc:Post predicates)

   * content
   * has_container
   * has_creator
   * id
   * link
   * topic (tags)
   * links_to (TBD)
   * reply_of (TBD)
   * has_reply (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
from <http://demo.openlinksw.com/dataspace>
where {
        ?forum rdf:type sioct:ImageGallery .
        ?forum sioc:container_of ?post .
        ?post ?attribute ?o  
      }
order by ?attribute
Dump of all Data Space entries for a given ODS Photo Gallery 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
from <http://demo.openlinksw.com/dataspace>
where {
        ?forum rdf:type sioct:ImageGallery .
        ?forum sioc:id ?forum_name.
        ?forum sioc:container_of ?post .
        optional {?post  dct:title ?title }.
        optional {?post dcc:created ?cr}.
        optional {?post sioc:link ?link} .
        optional {?post sioc:content ?content}
      }
List of Web Services (e.g Atom Publishing (SOAP), Moveable Type (XML-RPC) etc.) associated with Gallery Data Space Instances

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 ?endp , ?proto 
from <http://demo.openlinksw.com/dataspace>
where {
        ?forum a sioct:ImageGallery  .
        ?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 gallery images.
Dump of all Data Space entries for a given ODS Photo Gallery including content and 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
from <http://demo.openlinksw.com/dataspace>
where {
        ?forum rdf:type sioct:ImageGallery .
        ?forum sioc:id ?forum_name.
        ?forum sioc:container_of ?post .
        optional {?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 an ODS Photo Gallery Data Space
  • Click Here for a live SPARQL Query (via SPARQL Protocol) against a collection of published Photos.

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"

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
from <http://demo.openlinksw.com/dataspace>
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
from <http://demo.openlinksw.com/dataspace>
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.

Briefcase Applications Data Space

Key ODS-Briefcase to SIOC Mappings

ODS</