| ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:Weblog | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioct:Weblog | 
| Data Space Instance Identifier (URI) | ID | "<http://demo.openlinksw.com/dataspace/demo/weblog/myblog#id>" | 
The following query scans an ODS data space (a collection of many application-specific data spaces) for properties assiociated with Entities of Type: Weblog
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
  {
    ?blog a sioct:Weblog .
    ?blog  sioc:container_of  ?post .
    ?post  ?attribute         ?o
  }
ORDER BY ?attribute
        
 
          
        
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)
 
          
        
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  }
  }
 
          
        
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 }
  }
 
          
        | ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:Wiki | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioct:Wiki | 
| Data Space Instance Identifier (URI) | ID | "<http://demo.openlinksw.com/dataspace/demo/wiki/mywiki#id>" | 
The following query scans an ODS data space for properties assiociated with Entities of Type: 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#>
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
 
          
        
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
 
          
        
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   } .
  }
 
          
        
PREFIX  svc:    <http://rdfs.org/sioc/services#>
PREFIX  sioct:  <http://rdfs.org/sioc/types#>
SELECT ?endp, ?proto
FROM <http://demo.openlinksw.com/dataspace>
WHERE
  {
    ?forum a  sioct:Wiki .
    ?forum  svc:has_service       ?svc       .
    ?svc    svc:service_endpoint  ?endp   .
    ?svc    svc:service_protocol  ?proto     .
  }
ORDER BY ?proto
 
          
        | ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:Calendar | 
| Data Space Generic Instance | Type | sioc:Calendar | 
| Data Space Type Specific Instance | Type | sioct:Calendar | 
| Data Space Instance Identifier (URI) | ID | "<http://demo.openlinksw.com/dataspace/demo/calendar/mycalendar#id>" | 
The following query scans an ODS data space for properties assiociated with Entities of Type: 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#>
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
 
          
        
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  } 
  }
 
          
        
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   } .
  }
 
          
        
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  } .
    }
 
          
        | ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:SubscriptionList | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioct:SubscriptionList | 
| Data Space Instance Identifier (URI) | ID | "<http://demo.openlinksw.com/dataspace/demo/subscriptions/DemoFeeds#id>" | 
The following query scans an entire ODS data space (collection of many application specific data spaces) for properties assiociated with Entities of Type: SubscriptionList
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
 
          
        
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     } .
  }
 
          
        
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     } .
  }
 
          
        | ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:BookmarkFolder | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioct:BookmarkFolder | 
| Data Space Instance Identifier (URI) | ID | "<http://demo.openlinksw.com/dataspace/demo/bookmark/mybookmarks#id>" | 
The following query scans an ODS data space for properties assiociated with Entities of Type: BookmarkFolder
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://
mo.openlinksw.com/dataspace
WHERE
  {
    ?forum a sioct:BookmarkFolder .
    ?forum  sioc:container_of  ?post  .
    ?post   ?attribute         ?o
	  }
	ORDER BY ?attribute
	
 
	          
	       
	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://prl.org/dc/elments/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_t  ?url    }
	  }
	ORDER BY ?title
	
 
	          
	        
	PREFIX  rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  svc:    <http://rdfs.org/sioc/services#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#
	SELECT ?endp, ?proto
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum a  sioct:BookmarkFolder .
	    ?forum  svc:has_service       ?svc .
	    ?svc    svc:service_endpoint  ?endp  .
	    ?svc    svc:service_protocol  ?proto
	  }
	ORDER BY ?proto
	
| endp | proto | 
|---|---|
| http://id.myopenlink.net/dataspace/services/bookmarks | SOAP | 
| ODS | SIOC | Sample Value | 
| Data Space Clss | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:AddressBook | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioct:AddressBook | 
| Data Space Instance Identifier (URI) | ID | "<http://demo.openlinksw.com/dataspace/demo/addressook/myAddressBookid>" | 
The following query scans an ODS data space for properties assiociated with Entities of Type: AdressBook
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	SELECT DISTINCT  ?attribute
	FROM <http://demo.openlnksw.com/dataspace>
	WHERE
	  {
	    ?forum a sioct:AddressBook .
	    ?forum  sioc:container_of  ?post .
	    ?post   ?attribute         ?o
	  }
	ORDER BY ?attribute
	
 
	         
	        
	PREFIX  sioc:  <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	PREFIX  foaf:  <http://xmlns.com/foaf/0.1/>
	SELECT ?member, ?id
	FROM <http://demo.openlinksw.com/dataspace
	WHERE
	  {
	    ?s       a                 sioct:AddressBook ;
	       sioc:scope_of     ?role .
	    ?role    sio:function_of  ?member           .
	    ?member  sioc:id           ?id
	  }
	
 
	          
	       
	PREFIX  rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http://rdfs.rg/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	PREFIX  foaf:   <htp://xmlns.com/foaf/.1/>
	SELECT ?member,?knows
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?s       anbsp;                sioct:AddressBook ;
	       sioc:scope_of     ?role .
	    ?role    sioc:funcion_of  ?member           .
	    ?member  foaf:knows        ?knows
	  }
	
 
	         
	        
	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/elemens/1.1/>
	PREFIX  dcc:    <http://purl.org/dc/terms/>
	SELECT ?FN,   ?nick,   ?address,   ?title,   ?created,   ?link,   ?topic
	FROM <http://dmo.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       ?adress  } .
	    OPTIONAL  { ?post  dct:title     ?title    } .
	    OPTIONAL  { ?post  dcc:created   ?created  } .
	    OPTIONAL  { ?post  sioct:link     ?link     } .
	    OPTIONAL  { ?post  sioc:topic    ?topic    }
	  }
	
 
	          
	       
	PREFIX  rdf:    <http://www.w3.org1999/02/22-rdf-syntax-ns#>
	PREFIX  svc:    <http://rdfs.org/sioc/services#>
	PREFIX  sioct:  <http://rdfs.rg/sioc/types#gt;
	ELECT ?endp, ?proto
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum a  sioct:AddressBook .
	    ?forum  svc:has_service       ?svc .
	    ?svc    svc:service_endpoint  ?endp .
	    ?svc    svc:service_protocol  ?proto
	  }
	ORDER BY ?proto
	
 
	          
	       
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	SELECT DISTINCT  ?attribute
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	nbsp; {
	    ?s       a                 sioct:AddressBook ;
	       sioc:scope_of     ?role .
	    ?role    sioc:function_of  ?member           .
	    ?member  attribute        ?o
	  }
	
 
	         
	        | ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:SurveyCollection | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioct:SurveyCollection | 
| Data Space nstance Identifier (URI) | ID | "<http://demo.openlinksw.com/datapace/demo/polls/mypolls#id>" | 
The followng query scans an ODS data space for properties assiociated with Entities of Type: SurveyCollection
	PREFIX  rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:  lt;http://rdfs.or/sioc/types#>
	SELECT DISTINCT  ?attribute
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum a sioct:SurveyCollection .
	    ?forum  sioc:container_of  ?post .
	    ?post   ?o         ?attribute
	  }
	ORDER BY ?attribute
	
 
	         
	       
	PREFIX  rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http://rdfs.or/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	PREFIX  xsd:    <http://wwww3.org/2001/XMLShema#>
	PREFIX  dct:    <http://purl.org/dc/elements/1.1/>
	PREFIX  dcc:    <http://purl.org/dc/terms/gt;
	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)
	
 
	         
	        | ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:ImageGallery | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioct:ImageGallery | 
| Data Space Instance Identifier (URI) | ID | "<http://demo.openlinksw.com/dataspace/demo/photos/MyGallery#id>" | 
The following query scans an ODS data space for properties assiociated with Entities of Type: ImageGallery
PREFIX  df:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:  <http://rdf.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
	
 
	          
	       
	PREFIX  rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.org/sioctypes#>
	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:contaier_of  ?post           .
	    OPTIONAL { ?post  dct:title      ?title     } .
	    OPTIONAL { ?post  dcc:created    ?cr        } .
	    OPTIONAL { ?post  sioct:link      ?link      } .
      OPTIONAL { ?post  sioc:links_to  ?links_to  } .
	    OPTIONAL { ?post  sioc:content   ?content   }
	  }
	
 
	          
	        
	PREFIX  rdf:    <http://www.w3.org/199/02/22-rdf-syntax-ns#>
	PREFIX  svc:    <http://rdfs.org/sioc/services#>
	PREFIX  sioct:  <http://rdfs.rg/sioc/types#gt;
	SELECT ?endp, ?proto
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum a  sioct:ImageGallery .
	    ?forum  svc:has_service       ?svc   .
	    ?svc    svc:service_endpoint  ?endp .
	    ?vc    svc:service_protocol  ?proto .
	  }
	ORDER BY ?proto
	
 
	          
	        | ODS | SIOC | Sample Value | 
| DataSpace Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioc:Community | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioc:Community | 
| Data Space Instance Identifer (URI) | ID | "<http://demo.openlinksw.com/dataspace/demo/community/demoCommunity#id>" | 
The folowing query scans an entire ODS data space (collection of many application specific data spaces) for properties assiociated with Entities of Type: Community
	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
	
 
	          
	       
	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.openinksw.com/dataspce>
WHERE
	  {
	    ?forum    rdf:type           sioc:Community .
	    ?forum    sioc:has_Part      ?parentf       .
	    ?parentf  sioc:container_of  ?post       .
	    OPTIONAL { ?post  dct:tite  ?title } .
	  }
	
 
	         
	        | ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| DataSpace SubClass | SubClass | sioct:Briefcase | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type specific Instance | Type | sioct:Briefcase | 
| Data Space Instance Identifier (URI) | ID | "<http://demo.openlinksw.com/dataspac/demo/briefcase/demBriefcase#id>" | 
The folowing query scan an entire ODS data space (collection of many application specific data spacs) for properties assiociated with Entities of Type: Briefcase
	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:Briefcase .
	    ?forum  sioc:container_of  ?post           .
	    ?post   ?attribute         ?o
	  }
	ORDER BY ?attribute
	
 
	          
	       
	PREFIX  rdf:    <http://www.w3.org1999/02/22-rdf-syntax-ns#>
	PREFIX  svc:    <http://rdfs.org/sioc/services#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#
	SELECT ?endp , ?proto
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum a  sioct:Briefcase .
	    ?forum  svc:has_service       ?svc         .
	    ?svc    svc:service_endpoint  ?endp           .
	    ?svc    svc:service_protocol  ?proto
	  }
	ORDER BY ?proto
	
 
	          
	       
	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:    lt;http://www.w3org/2001/XMLSchema#>
	PREFIX  dct:    <http://purl.org/dc/elements/1.1/>
	PREFIX  dcc:    <http://purlorg/dc/terms/>
	SELECT DISTINCT  ?forum_name, ?post, ?title, ?cr, ?url, ?links_to
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum a sioct:Briefcase .
	    ?forum  sioc:id            ?forum_name     .
	    ?forum  sioc:containe_of  ?post           .
	    OPTIONAL { ?post  dct:title      ?title     } .
	    OPTIONAL { ?post  dcc:created    ?cr        } .
	    OPTIONAL { ?post  sioct:link      ?url       } .
	    OPTIONAL { post  sioc:links_to  ?links_to  } .
	  }
	ORDER BY DESC (?cr)
	
 
	         
	        | ODS | SIOC | Sample Value | 
| Data Space Class | Class | sioc:Container | 
| Data Space SubClass | SubClass | sioct:MessageBoard | 
| Data Space Generic Instance | Type | sioc:Container | 
| Data Space Type Specific Instance | Type | sioct:MessageBoard | 
The following query scans an ODS data space for properties assiociated with Entities of Type: MessageBoard
	PREFIX  rdf:    lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http//rdfs.org/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.og/sioc/types#>
	SELECT DISTINCT  ?attribute
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum  rdf:type           sioct:MessageBoard .
	    ?forum  sioc:container_of  ?post           .
	    ?post   ?attribute         ?o
	  }
	ORDER BY ?attribute
	
 
	          
	        
	PREFIX  rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.org/sio/types#>
	PREFIX  dct:    <http://purl.org/dc/elements/1.1/>
	PREFIX  cc:    <http://purl.rg/dc/terms/gt;
	SELECT DISTINCT  ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum a sioct:MessageBoard;
	      sioc:id  ?forum_name     .
	    OPTIONAL { ?forum  sioc:container_of  ?post         } .
	    OPTIONAL { ?post   dct:title          ?title        } .
	    OPTIONAL { ?post   dcc:modified       ?mod_time     } .
	    OPTIONAL { ?post   dcc:created        ?create_time  } .
	    OPTIONAL { ?post   sioc:link          ?url          } .
	  }
	LIMIT 10
	
 
	          
	        
	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:nbsp;   <http://purl.org/dc/terms/>
	SELECT ?forum_name  ?post  ?title  ?mod_time  ?create_time  ?url  ?content
	FROM <http://demo.openinksw.com/dataspace>
	WHERE
	  {
	    ?forum a sioct:MessageBoard;
	       sioc:id  ?forum_name .
	       FILTER REGEX          ( ?form_name , ".*demo*." ) .
	    OPTIONAL { ?forum  sioc:container_of  ?post         } .
	    OPTIONAL { ?post   dct:title          ?title        } .
	    OPTIONAL { ?post   dcc:modified       ?mod_time     } .
	    OPTIONAL { ?post   dcc:created        ?create_time  } .
	    OPTIONAL { ?post   sioct:link          ?url          } .
	    OPTIONAL { ?post   sioc:content       ?contnt      } .
	  }
	
 
	          
	        
	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://prl.org/dc/tems/>
	SELECT DISTINCT  ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum  rdf:type  sioct:MessageBoard .
	    OPTIONAL { ?forum  sioc:id            ?forum_name .
	            FILTER REGEX ( ?forum_name, ".*dem*." )  } .
	    OPTIONAL { ?forum  sioc:container_of  ?post         } .
	    OPTIONAL { ?post   dct:title          ?title        } .
	    OPTIONAL { ?post   dcc:modified       ?mod_time     } .
	    OPTIONAL { ?post   dcc:created        ?create_time  } .
	    OPTIONAL { ?post   sioc:link          ?url          } .
	  }
	LIMIT 10
	
 
	          
	        
	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/elemets/1.1/>
	PREFIX  dcc:    <http://purl.org/dc/terms/>
	 SELECT DISTINCT  ?forum_name, ?post, ?title, ?mod_time, ?create_time, ?url
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum  rdf:type  sioct:MessageBoard ; 
	      sioc:id   ?forum_name .
	              FILTER REGEX ( ?forum_nme, ".*mywiki*." ) .
	    OPTIONAL { ?forum  sioc:container_of  ?post         } .
	    OPTIONAL { ?post  dct:title           ?title        } .
	    OPTIONAL { ?post  dcc:modified        ?mod_time     } .
	    OPTIONAL { ?post  dcc:created         ?create_time  } .
	    OPTIONAL { ?post  sioc:link           ?url          }
	  }
	
 
	          
	        SPARQL queries can also join data across serveral ODS data spaces.
	PREFIX  rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  skos:   <http://www.w3.org/2004/02/skos/core#>
	PREFIX  sioc:   <htp://rdf.org/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	PREFIX  dc:     <http://purl.org/dc/elements/1.1/>
	SELECT ?title,  ?tag,  ?topic
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?s a  sioc:Item .
	    OPTIONAL  { ?s      dc:title        ?title  } .
	    ?s      sioc:id         ?id .
	    OPTIONAL {?s      sioc:topic      ?topic .
	        ?topic  rdf:type        skos:Concept .
	        ?topic  skos:prefLabel  ?tag  }
	  }
	
 
	          
	        
	PREFIX  rdf:    <http://www.w3.org/199/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	PREFIX  xsd:    <http://www.w.org/2001/XMLSchema#>
	PREFIX  dct:    <http://purl.org/dc/elements/1.1/>
	PREFIX  dcc:    <http://purl.org/dc/terms/>
	PREFIX  skos:   <http://www.w3.org/2004/02/skos/core#>
	PREFIX  foaf:   <http://xmlns.com/foaf/0.1/>
	SELECT DISTINCT ?forum_name, ?post, ?title, ?cr, ?url, ?links_to, ?tag, ?nick, ?gender, ?org, ?geodata
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	nbsp; {
	    ?forum a sioct:Weblog .
	    ?forum  sioc:id            ?forum_name .
	    OPTIONAL  { ?forum  sioc:scope_of      ?role  } .
	    OPTIONAL  { ?role sioc:function_of <http://demo.openlinksw.com/dataspace/demo#this>}.
	    ?forum  sioc:container_of  ?post .
	    OPTIONAL  { ?post   dct:title ?title . 
	      ?post   dcc:created        ?cr . 
	      ?post   sioc:link          ?url . 
	      ?post   sioc:links_to      ?links_to . 
	      ?post   foaf:maker         ?maker } .
	    OPTIONAL { ?maker  foaf:nick          ?nick    } .
	    OPTIONAL { ?maker  foaf:name          ?fname } .
	    OPTIONAL { ?maker  foaf:gender        ?gender } .
	    OPTIONAL { ?maker  foaf:based_near    ?geodata } .
	    OPTIONAL { ?maker  foaf:organization  ?org } .
	    OPTIONAL { ?post   sioc:topic         ?topic . 
	      ?topic  rdf:type           skos:Concept . 
	      ?topic  skos:prefLabel     ?tag }
	  }
	
 
	          
	        
	PREFIX  sioc:     <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:    <http://rdfs.org/sioc/types#>
	PREFIX  foaf:     <http://xmlns.com/foaf/0.1/>
	PREFIX  xsd:      <http:/www.w3.org/200/XMLSchema#>
	PREFIX  rdfs:     <http://www.w3.org/2000/01/rdf-schema#>
	PREFIX  rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  dc:       <http://purl.org/dc/elements/1.1/gt;
	PREFIX  dcterms:  <http://purl.rg/dc/terms/>
	SELECT DISTINCT  ?post, ?post_sioc, ?post_author, ?post_title, ?post_date, ?reply
	FROM <ttp://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?post  sioc:has_creator  ?_x       .
	    ?_x    sioc:id           ?post_author .
	    OPTIONAL { ?post  rds:seeAlso     ?post_sioc   } .
	    OPTIONAL { ?post  sioc:has_reply   ?reply       } .
	    OPTIONAL { ?post  dcterms:created  ?post_date   } .
	    OPTIONAL { ?post  dc:title         ?post_title  }
	  }
	
 
	          
	        CONSTRUCT based SPARQL queries are very useful when trying to expose RDF (via a SPARQL Endpoint) to RDF Data Set consumers that do not support SPARQL.
In a sense, the SPARQL CONSTRUCT statement is a part of a SPARQL Protocol payload which delivers a Data Web (Web 3.0) Experience to Interactive-Web and Social-Web Clients (Web 1.0 & 2.0).
	PREFIX  sioc:     <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:    <http://rdfs.org/sioc/tpes#>
	PREFIX  foaf:     <http://xmlns.com/foaf/0.1/>
	PREFIX  xsd:      <http://www.w3.org/2001/XMLSchema#>
	PREFIX  rdfs:     <http://www.w3.org/2000/01/rdf-schema#>
	PREFIX  rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  dc:       <http://purl.org/dc/elements/1.1/>
	PREFIX  cterms:  <http://purl.org/dc/terms/>
	CONSTRUCT
	  {
	    ?post  sioc:has_creator  ?_x       .
	    ?_x    sioc:id           ?post_author .
	    ?post  rdfs:seeAlso      ?post_sioc   .
	    ?post  sioc:has_reply    ?reply       .
	    ?post  dcterms:created   ?post_date   .
	    ?post  dc:title          ?post_title
	  }
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?post  sioc:has_creator  ?_x       .
	    ?_x    sioc:id           ?post_author .
	    OPTIONAL { ?post  rdfs:seeAlso     ?post_sioc   } .
	    OPTIONAL { ?post  sioc:has_reply   ?reply       } .
	    OPTIONAL { ?post  dcterms:created  ?post_date   } .
	    OPTIONAL { ?post  dc:title         ?post_title  }
	  }
	LIMIT 10
	
 
	          
	        
	PREFIX  sioc:     <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:    <http://rdfs.org/sioc/typs#>
	PREFIX  rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  dcterms:  <http:/purl.org/dc/tems/>
	CONSTRUCT
	  {
	    ?post  dcterms:created  ?created .
	    ?post  sioc:link        ?link .
	    ?post  sioc:title       ?title   .
	  }
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE {
	    ?forum a  sioct:MesageBoard .
	    ?post   sioc:has_container  ?forum .  
	    OPTIONAL    { ?post  dcterms:created  ?created } . 
	    OPTIONAL    { ?post  sioc:link        ?link } . 
	    OPTIONAL    { ?post  sioc:title       ?title  }
	}
	LIMIT 10
	
 
	          
	        
	PREFIX  foaf:   <http://xmlns.com/foaf/0.1/>
	PREFIX  rdf:    <http:/www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	PREFIX  sioct  <htp://rdfs.org/sioc/types#>
	CONSTRUCT
	  {
	    ?x  rdf:type  sioc:User
	  }
	FROM <http//demo.openlinksw.com/dataspace>
	WHERE
	  {
	     ?x  rdf:type  sioc:User
	  }
	LIMIT 10
	
 
	          
	        
	PREFIX  rdf:      <http://www.w3.org1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:     <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:    <http://rdfs.og/sioc/typs#
  PREFIX  sos:     <http://www.w3.org/2004/02/skos/core#>
	PREFIX  xsd:      <http://www.w3.org/001/XMLSchema#>
	PREFIX  dc:       <http://purl.org/dc/elements/1.1/>
	PREFIX  dcterms:  <http://purl.org/dc/terms/>
	CONSTRUCT
	  {
	     ?post  dc:title         ?title .
	     ?post  sioc:link        ?link     .
	     ?post  sioc:links_to    ?links_to .
	     ?post  sioc:topic       ?topic .
	     ?post  dcterms:creaed  ?c
	  }
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	     ?post    rdf:type            sioc:Item .
	     OPTIONAL  { ?post   dc:title         ?title     } .
	     OPTIONAL  { ?post   sioc:lin        ?link      } .
	     OPTIONAL  { ?post   sioc:links_to    ?links_to  } .
	     OPTIONAL  { ?post   dcterms:created  ?cr        } .
	     OPTIONAL  {?post   sioc:topic       ?topic     } .
	     OPTIONAL  { ?topic  skos:prefLabel   ?tag       } .
	     ?post    sioc:has_containernbsp; ?forum .
	     ?forum   a                   sioct:ImageGallery .
	     ?forum   sioc:scope_of       ?role           
	     ?role    sioc:function_of    ?member         .
	     ?member  sioc:id             "demo"
  }
	
 
	         
	        
	PREFIX  rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioc:     <http://rdfs.org/sioc/ns#>
	PREFIX  sioct:    <http://rdf.org/sioc/types#>
	PREFIX  xsd:      <http://www.w3.org/2001/XMLSchema#>
	PREFIX  dc:       <http://purl.org/dc/elements/1.1/>
	PREFIX  dcterms:  <http://purl.org/dc/terms/>
	CONSTRUCT
	  {
	    ?post  dc:title         ?title .
	    ?post  dctems:created  ?date
	  }
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum    rdf:type           sioc:Community .
	    ?forum    sioc:has_Part      ?parentf       .
	    ?parentf  sioc:container_of  ?post       .
	    OPTIONAL { ?post  dc:title         ?title  } .
	    OPTIONAL { ?post  dcterms:created  ?date   }
	  }
	
 
	          
        
	PREFIX  rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	DESCRIBE ?forum
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?forum  rdf:type  sioct:Weblog
	  }
	
 
	          
	        
	DEFINE  input:default-graph-uri  <http://mygraph.com>
	INSERT 
	  { <http://myopenlink.net/dataspace/Kingsley#this>
	    <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
	    <http://rdfs.org/sioc/ns#User> 
	  }
	
 
	          
	        
INSERT 
	  INTO GRAPH <http://mygraph.com>
	    { ?s  <http://rdfsorg/sioc/ns#id>  `iri (bif:concat (str (?o), "Idehen") )`
	    }
	WHERE 
	  { ?s  <http://rdfs.org/sioc/ns#id>    ?o };
	
 
	          
	        
MODIFY 
  GRAPH <http://mygraph.com> 
  DELETE
    { ?s  <http://ww.w3.org/1999/02/22-rdf-syntax-ns#type>  ?o
    } 
  INSERT
    { ?s  <http://ww.w3.org/1999/02/22-rdf-syntax-ns#type1> ?o
    }
  WHERE
    { ?s  <htp://www.w3.org/1999/02/22-rdf-syntax-ns#type2>  ?o
    };
DELETE
  FROM GRAPH <http://mygraph.com>
    { <http://myopenlink.net/dataspace/Caroline#this>   <http://www.w3.org/1999/02/2-rdf-syntax-ns#type1>   <htp://rdfs.org/sioc/ns#User>
    };
	
 
          
	        
	          
	        
	PREFIX  dct:    <http://purl.org/dc/elements/1.1/>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns#>
	PREFIX  rdfs:   <http://www.w3.org/2000/01/rdf-schema#>
	SELECT *
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?f a sioct:WishList .
	    ?f  sioc:container_of  ?s .
	    ?s  dct:description    ?descr         .
	    ?s  dct:title          ?title         .
	    ?s  sioc:has_creator  ?creator       .
	    ?s  rdfs:label         ?label
	  }
	
 
	          
	       
	PREFIX  dct:    <http://purl.org/c/elements/1.1/>
	PREFIX  sioct:  <http://rdfs.org/sioc/types#>
	PREFIX  sioc:   <http://rdfs.org/sioc/ns>
	PREFIX  rdfs:   <http://www.w3.org/2000/01/rdf-schema#>
	SELECT *
	FROM <http://demo.openlinksw.com/dataspace>
	WHERE
	  {
	    ?f a siot:OfferList .
	    ?f  sioc:container_of  ?s           .
	    ?s  dct:description    ?descr       .
	    ?s  dct:title          ?title       .
	    ?s  sioc:has_creator   ?creator     .
	    ?s  rdfs:label         ?label       .
	    ?s  sioc:link          ?link
	  }
	
 
	         
        Show the people a person directly or indirectly know.
Sort by distance and count of connections of the known person:
	SELECT ?o,  ?dist   (( SELECT COUNT (*) WHERE { ?o foaf:knows ?xx } ))
	WHERE
	  {
	    { SELECT ?s, ?  WHERE { ?s foaf:knows ?o } } .
	    OPTION( TRANSITIVE, T_DISTINCT , T_IN(?s), T_OUT(?o), T_IN(1), T_MAX(4) T_STE('step_no') as?dist ) .
	    FILTER  ( ?s = <http://www.w3.org/People/Berners-Lee/card#i>  )
	  }
	ORDER BY ?dist
	DESC 3
	LIMIT 50
	        
 
	          
	        Given two people, find what chain of acquaintances links them together. For each step in the chain, show the person linked to, the graph linking this person to the previous person, the number of the step, and the number of the path. Note that there may be many paths through which the people are linked.
	SELECT ?link, ?g, ?step ?path
	WHERE
	  {
	    {SELECT ?s, ?o,?g WHERE { GRAH ?g { ?s foaf:knows ?o } } }
	    OPTION  ( TRANSITIVE, T_DISTINCT , T_IN(?s), T_OUT(?o), T_NO_CYCLES, T_SHORTEST_ONLY, T_STEP(?s) as ?link, T_STEP'path_id') as ?path, T_STEP('step_no') as ?step, T_DIRECTION 3 ) .
	    FILTER  (?s = <http://www.w3.org/People/Berners-Lee/card#i> , ?o = <http://myopenlink.net/dataspace/person/kidehen#this> )
	  }
	LIMIT 20
	
