VOS.SIOCRefCalendarExample4

  • Topic
  • Discussion
  • VOS.SIOCRefCalendarExample4(Last) -- DAVWikiAdmin? , 2017-06-13 05:40:49 Edit WebDAV System Administrator 2017-06-13 01:40:49

    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
    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 a live SPARQL Query (via SPARQL Protocol) against a Collection of Calendar Events.