<commit_before>[![Stories in Ready](https://badge.waffle.io/solid-live/slideshow.png?label=ready&title=Ready)](https://waffle.io/solid-live/slideshow)
# slideshow

slideshow app for the solid framework

# Demos

* https://solid-live.github.io/slideshow/
* https://solid-live.github.io/slideshow/?playlist=https://melvin.databox.me/p1

# Model

Slideshows are modelled in one of two ways.

Either Via an LDP container using mtime which could also be a flat file.

Or using Playlist slots using the playlist ontology.

## LDPC Style

```turtle
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<>
    <http://www.w3.org/ns/ldp#contains> 
      <https://www.youtube.com/watch?v=Pq9yPrLWMyU>, 
      <https://www.youtube.com/watch?v=meBbDqAXago> .
```
<commit_msg>Better README<commit_after>[![Stories in Ready](https://badge.waffle.io/solid-live/slideshow.png?label=ready&title=Ready)](https://waffle.io/solid-live/slideshow)
# slideshow

slideshow app for the solid framework

# Demos

* https://solid-live.github.io/slideshow/
* https://solid-live.github.io/slideshow/?playlist=https://melvin.databox.me/p1

# Model

Slideshows are modelled in one of two ways.

Either Via an LDP container using mtime which could also be a flat file.

Or using Playlist slots using the playlist ontology.

## LDPC Style

This style uses the modified time in a container to order the items

```turtle
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<>
    <http://www.w3.org/ns/ldp#contains> 
      <https://www.youtube.com/watch?v=Pq9yPrLWMyU>, 
      <https://www.youtube.com/watch?v=meBbDqAXago> .
```

# Query Parameters

## Sorting

Using the `sort` query parameter it is possible to sort asc | desc

{'fraction_non_alphanumeric': 0.14711033274956217, 'fraction_numerical': 0.014010507880910683, 'mean_word_length': 3.9394812680115274, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 14, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5668816', 'n_tokens_mistral': 672, 'n_tokens_neox': 626, 'n_words': 135}