Slides

A slide is a single page of a presentation. Collectively, a group of slides may be known as a slide deck. We can interpret a slide deck as a sequence of slides where each slide is a sequence of blocks (e.g. title, text boxes etc.). A slide deck can be represented as a list of typed containers (of type Slide). Each slide contains other typed blocks, where the type denotes the kind of block (e.g. title, subtitle etc.).

Extensions

SPARQL Anything selects this transformer for the following file extensions:

  • pptx

Media types

SPARQL Anything selects this transformer for the following media types:

  • application/vnd.openxmlformats-officedocument.presentationml.presentation

Default implementation

Default Transformation

Data

Located at https://sparql-anything.cc/examples/Presentation1.pptx

Query

CONSTRUCT 
  { 
    ?s ?p ?o .
  }
WHERE
  { SERVICE <x-sparql-anything:location=https://sparql-anything.cc/examples/Presentation1.pptx>
      { GRAPH ?g
          { ?s  ?p  ?o }
      }
  }

Facade-X RDF

@prefix fx:  <http://sparql.xyz/facade-x/ns/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix xyz: <http://sparql.xyz/facade-x/data/> .

[ rdf:type  fx:root , xyz:Presentation ;
  rdf:_1    [ rdf:type  xyz:Slide ;
              rdf:_1    [ rdf:type  xyz:CENTERED_TITLE ;
                          rdf:_1    "This is a test presentation"
                        ] ;
              rdf:_2    [ rdf:type  xyz:SUBTITLE ;
                          rdf:_1    "This is the subtitle"
                        ]
            ] ;
  rdf:_2    [ rdf:type  xyz:Slide ;
              rdf:_1    [ rdf:type  xyz:TITLE ;
                          rdf:_1    "First slide"
                        ] ;
              rdf:_2    [ rdf:type  xyz:CONTENT ;
                          rdf:_1    "Bullet 1\nBullet 2"
                        ]
            ] ;
  rdf:_3    [ rdf:type  xyz:Slide ;
              rdf:_1    [ rdf:type  xyz:TITLE ;
                          rdf:_1    "Second slide"
                        ] ;
              rdf:_2    [ rdf:type  xyz:CONTENT ;
                          rdf:_1    "Bullet 1\nBullet 2"
                        ]
            ]
] .