GraphCentric developer view

/decks/slides

https://graphcentric.com/decks/slides

Navigation

Methods

MethodStatusBasis
GETavailablerepresentation candidates are configured
HEADavailableGET representation headers
OPTIONSavailableHTTP capability discovery

Resource Details

URI
https://graphcentric.com/decks/slides
Graph
https://graphcentric.com/graphs/public-resources
Query
s3://graphcentric.com/raw-slides-index.sparql

Resource Configuration Model

Turtle

Server rendered
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX gcs:     <https://graphcentric.com/schema/>
PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema:  <https://schema.org/>
PREFIX sh:      <http://www.w3.org/ns/shacl#>
PREFIX xsd:     <http://www.w3.org/2001/XMLSchema#>

<https://graphcentric.com/decks/slides>
        rdf:type   gcs:WebResource;
        gcs:frame  <s3://graphcentric.com/raw-slides-index-frame.jsonld>;
        gcs:graph  <https://graphcentric.com/graphs/public-resources>;
        gcs:link   <https://graphcentric.com/decks/slides/.links/alternate-html> , <https://graphcentric.com/decks/slides/.links/resource-configuration-html>;
        gcs:query  <s3://graphcentric.com/raw-slides-index.sparql> .

<https://graphcentric.com/decks/slides.html>
        rdf:type           gcs:WebResource;
        gcs:contentType    "text/html;charset=utf-8";
        gcs:graph          <https://graphcentric.com/graphs/public-resources>;
        gcs:outerTemplate  <s3://graphcentric.com/templates/public.html>;
        gcs:template       <s3://graphcentric.com/decks/slides.html> .

<https://graphcentric.com/decks/slides/.links/alternate-html>
        rdf:type     gcs:Link;
        gcs:rel      "alternate";
        gcs:target   <https://graphcentric.com/decks/slides.html>;
        schema:name  "Raw Slides HTML" .

<https://graphcentric.com/decks/slides.resource-configuration.html>
        rdf:type         gcs:WebResource;
        gcs:contentType  "text/html;charset=utf-8";
        gcs:graph        <https://graphcentric.com/graphs/public-resources> .

<https://graphcentric.com/decks/slides/.links/resource-configuration-html>
        rdf:type    gcs:Link;
        gcs:rel     "https://graphcentric.info/link-relations/resource-configuration";
        gcs:target  <https://graphcentric.com/decks/slides.resource-configuration.html> .

SPARQL Query

s3://graphcentric.com/raw-slides-index.sparql
BASE <https://graphcentric.com/>
PREFIX schema: <https://schema.org/>
PREFIX gcs: <https://graphcentric.com/schema/>
PREFIX dcterms: <http://purl.org/dc/terms/>

CONSTRUCT {
  ?_subject
    a gcs:RawSlideIndex;
    dcterms:title "GraphCentric Raw Slides";
    dcterms:description "Reusable slide definitions published independently of deck instances.";
    gcs:slide ?slide.

  ?slide
    a schema:CreativeWork;
    schema:headline ?headline;
    schema:description ?description;
    schema:url ?url;
    schema:dateCreated ?created;
    schema:author ?author.

  ?author
    a schema:Person;
    schema:name ?authorName;
    schema:jobTitle ?authorRole.
}
WHERE {
  BIND(IRI(STR(?_subject)) AS ?indexResource)

  GRAPH <graphs/public-resources> {
    ?slide <https://graphcentric.com/schema/link> ?collectionLink, ?htmlLink.
    ?collectionLink
      <https://graphcentric.com/schema/rel> ?collectionRel;
      <https://graphcentric.com/schema/target> ?indexResource.
    FILTER(?collectionRel IN ("collection", "https://www.iana.org/assignments/relation/collection"))

    ?htmlLink
      <https://graphcentric.com/schema/rel> ?htmlRel;
      <https://graphcentric.com/schema/target> ?url.
    FILTER(?htmlRel IN ("alternate", "https://www.iana.org/assignments/relation/alternate"))
    FILTER(STRENDS(STR(?url), ".html"))

    OPTIONAL { ?slide dcterms:title ?rawHeadline. }
    OPTIONAL { ?slide dcterms:description ?description. }
    OPTIONAL { ?slide dcterms:created ?created. }
    OPTIONAL { ?slide dcterms:creator ?author. }
    OPTIONAL { ?htmlLink schema:name ?linkTitle. }
  }

  BIND(COALESCE(?rawHeadline, ?linkTitle) AS ?headline)

  OPTIONAL {
    GRAPH <graphs/public-staff-information> {
      ?author schema:name ?authorName.
      OPTIONAL { ?author schema:jobTitle ?authorRole. }
    }
  }
}

Query Scope

Named Graphs

6 graphs

Resource State

Turtle

Server rendered
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX gcs:     <https://graphcentric.com/schema/>
PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema:  <https://schema.org/>
PREFIX sh:      <http://www.w3.org/ns/shacl#>
PREFIX xsd:     <http://www.w3.org/2001/XMLSchema#>

SSE Status

Stream link relations
streamstatussubscriberslast idstate
No stream resources are linked from this resource.