ODS.SIOCRefGalleryExample3

  • Topic
  • Discussion
  • ODS.SIOCRefGalleryExample3(Last) -- DAVWikiAdmin? , 2017-06-29 07:32:35 Edit WebDAV System Administrator 2017-06-29 07:32:35
    Dump of all Data Space entries for a given ODS Photo Gallery

    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: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}
      }
    

    Sample Data (Live Query Results)