@prefix : <#>.
@prefix sdo: <https://schema.org/>.
@prefix flix: <https://erfgoedflix.nl/vocabulary#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix spa: <https://sparql.ldmax.nl/>.
@prefix or: <../../>.

<>
    a sdo:CreativeWork;
    flix:configuration
        """{"version":2,"slug":"daguerreobase","title":"Daguerreobase","headline":"","description":"Daguerreobase is een online applicatie die gedetailleerde informatie over daguerreotypieën bevat. \\n    Leden kunnen records van individuele daguerreotypieën bekijken, bewerken en opslaan en relaties \\n    leggen met andere records op basis van een groot aantal kenmerken. \\n    Dit omvat collecties, eigenaars, makers, stempels, behuizingsmodellen, maten, materialen en beschrijvingen.","coverImage":"","legacyIdentifier":"Daguerreobase","carouselQuery":"PREFIX sdo: <https://schema.org/>\\n\\nCONSTRUCT {\\n  [] a sdo:ArchivalObject ;\\n     sdo:name ?keywords ;\\n     sdo:identifier ?identifier ;\\n     sdo:imageUrl ?imageUrl .\\n}\\nWHERE {\\n  {\\n    SELECT ?keywords (SAMPLE(?imageUrl_) AS ?imageUrl) ?identifier\\n    WHERE {\\n      {\\n        SELECT ?keywords ?imageUrl_ \\n               (REPLACE(LCASE(STR(?keywords)), \\" \\", \\"-\\") AS ?identifier)\\n        WHERE {\\n          ?heritageObject a sdo:Photograph ;\\n            sdo:associatedMedia/sdo:thumbnailUrl ?imageUrl_250px ;\\n            sdo:keywords ?keywords .\\n          FILTER(?keywords IN (\\"church\\", \\"landscape\\", \\"portrait\\", \\"sculpture\\"))\\n          BIND(REPLACE(STR(?imageUrl_250px), \\"!250,250\\", \\"1024,\\") AS ?imageUrl_)\\n        }\\n        ORDER BY RAND()\\n      }\\n    }\\n    GROUP BY ?keywords ?identifier\\n  }\\n}\\nLIMIT 100\\n","creator":{"url":"https://daguerreobase.org","name":"Daguerreobase","description":"","logo":""},"dateCreated":"2023-10-01T00:00:00Z","dateModified":"2023-10-01T00:00:00Z","themes":[{"id":"sculpture","title":"Beeldhouwwerk","description":"Afbeeldingen van beeldhouwwerken","selection":{"property":"keywords","kind":"literal","value":"sculpture"},"constructQuery":"PREFIX sdo: <https://schema.org/>\\nconstruct {\\n\\t?heritageObject a sdo:ArchivalObject; sdo:name ?name; sdo:description ?description; sdo:imageUrl ?imageUrl \\n} where {\\n  select \\n\\t?heritageObject \\n\\t(sample(?_name) as ?name) \\n\\t(sample(?_description) as ?description)\\n\\t(sample(?_imageUrl) as ?imageUrl)\\n  where { \\n\\t?heritageObject a sdo:Photograph; sdo:keywords ?keywords; \\n\\tsdo:associatedMedia/sdo:thumbnailUrl ?imageUrl_250px ; \\n    sdo:name ?_name; \\n    sdo:abstract ?_description ;\\n    filter(?keywords = 'sculpture')\\n    BIND(REPLACE(STR(?imageUrl_250px), \\"!250,250\\", \\"500,\\") AS ?_imageUrl)\\n    #{ITEM_FILTER}\\n   } group by ?heritageObject limit 100\\n }"},{"id":"church","title":"Kerken","description":"Kerken","selection":{"property":"keywords","kind":"literal","value":"church"},"constructQuery":"PREFIX sdo: <https://schema.org/>\\nconstruct {\\n\\t?heritageObject a sdo:ArchivalObject; sdo:name ?name; sdo:description ?description; sdo:imageUrl ?imageUrl \\n} where {\\n  select \\n\\t?heritageObject \\n\\t(sample(?_name) as ?name) \\n\\t(sample(?_description) as ?description)\\n\\t(sample(?_imageUrl) as ?imageUrl)\\n  where { \\n\\t?heritageObject a sdo:Photograph; sdo:keywords ?keywords; \\n\\tsdo:associatedMedia/sdo:thumbnailUrl ?imageUrl_250px ; \\n    sdo:name ?_name; \\n    sdo:abstract ?_description ;\\n    filter(?keywords = 'church')\\n    BIND(REPLACE(STR(?imageUrl_250px), \\"!250,250\\", \\"500,\\") AS ?_imageUrl)\\n    #{ITEM_FILTER}\\n   } group by ?heritageObject limit 100\\n }"},{"id":"landscape","title":"Landschap","description":"Afbeeldingen van landschappen","selection":{"property":"keywords","kind":"literal","value":"landscape"},"constructQuery":"PREFIX sdo: <https://schema.org/>\\nconstruct {\\n\\t?heritageObject a sdo:ArchivalObject; sdo:name ?name; sdo:description ?description; sdo:imageUrl ?imageUrl \\n} where {\\n  select \\n\\t?heritageObject \\n\\t(sample(?_name) as ?name) \\n\\t(sample(?_description) as ?description)\\n\\t(sample(?_imageUrl) as ?imageUrl)\\n  where { \\n\\t?heritageObject a sdo:Photograph; sdo:keywords ?keywords; \\n\\tsdo:associatedMedia/sdo:thumbnailUrl ?imageUrl_250px ; \\n    sdo:name ?_name; \\n    sdo:abstract ?_description ;\\n    filter(?keywords = 'landscape')\\n    BIND(REPLACE(STR(?imageUrl_250px), \\"!250,250\\", \\"500,\\") AS ?_imageUrl)\\n    #{ITEM_FILTER}\\n   } group by ?heritageObject limit 100\\n }"},{"id":"portrait","title":"Portretten","description":"Portretten van mensen","selection":{"property":"keywords","kind":"literal","value":"portrait"},"constructQuery":"PREFIX sdo: <https://schema.org/>\\nconstruct {\\n\\t?heritageObject a sdo:ArchivalObject; sdo:name ?name; sdo:description ?description; sdo:imageUrl ?imageUrl \\n} where {\\n  select \\n\\t?heritageObject \\n\\t(sample(?_name) as ?name) \\n\\t(sample(?_description) as ?description)\\n\\t(sample(?_imageUrl) as ?imageUrl)\\n  where { \\n\\t?heritageObject a sdo:Photograph; sdo:keywords ?keywords; \\n\\tsdo:associatedMedia/sdo:thumbnailUrl ?imageUrl_250px ; \\n    sdo:name ?_name; \\n    sdo:abstract ?_description ;\\n    filter(?keywords = 'man' || ?keywords = 'portrait' || ?keywords = 'woman' || ?keywords = 'child')\\n    BIND(REPLACE(STR(?imageUrl_250px), \\"!250,250\\", \\"500,\\") AS ?_imageUrl)\\n    #{ITEM_FILTER}\\n   } group by ?heritageObject limit 100\\n }"}]}"""^^rdf:JSON;
    flix:endpoint spa:nederlands-fotomuseum;
    sdo:description
        """Daguerreobase is een online applicatie die gedetailleerde informatie over daguerreotypieën bevat. 
    Leden kunnen records van individuele daguerreotypieën bekijken, bewerken en opslaan en relaties 
    leggen met andere records op basis van een groot aantal kenmerken. 
    Dit omvat collecties, eigenaars, makers, stempels, behuizingsmodellen, maten, materialen en beschrijvingen.""";
    sdo:hasPart :church, :landscape, :portrait, :sculpture;
    sdo:identifier "daguerreobase";
    sdo:name "Daguerreobase";
    sdo:publisher or:nederlands-fotomuseum-daguerreobase;
    sdo:version "1".
:church
    a sdo:CreativeWork;
    flix:property sdo:keywords;
    flix:value "church";
    sdo:description "Kerken";
    sdo:name "Kerken".
:landscape
    a sdo:CreativeWork;
    flix:property sdo:keywords;
    flix:value "landscape";
    sdo:description "Afbeeldingen van landschappen";
    sdo:name "Landschap".
:portrait
    a sdo:CreativeWork;
    flix:property sdo:keywords;
    flix:value "portrait";
    sdo:description "Portretten van mensen";
    sdo:name "Portretten".
:sculpture
    a sdo:CreativeWork;
    flix:property sdo:keywords;
    flix:value "sculpture";
    sdo:description "Afbeeldingen van beeldhouwwerken";
    sdo:name "Beeldhouwwerk".
