|
|
## SPARQL
|
|
|
|
|
|
### Endpoint
|
|
|
|
|
|
http://lod.onb.ac.at/sparql/anno
|
|
|
|
|
|
#### newspaper and periodical with subject heading "Auto"
|
|
|
```
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
SELECT DISTINCT ?dc_title
|
|
|
WHERE {?subjectURI dc:subject ?gnd_reference .
|
|
|
?subjectURI dc:title ?dc_title .
|
|
|
?gnd_reference skos:prefLabel "Auto"}
|
|
|
```
|
|
|
|
|
|
#### first pages of newspaper and periodical with subject heading "Auto"
|
|
|
```
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
PREFIX edm: <http://www.europeana.eu/schemas/edm/>
|
|
|
SELECT ?first_page_link ?dc_title ?dc_date
|
|
|
WHERE {?subjectURI dc:subject ?gnd_reference .
|
|
|
?subjectURI dc:title ?dc_title .
|
|
|
?subjectURI dc:date ?dc_date .
|
|
|
?subjectURI edm:isShownBy ?first_page_link .
|
|
|
?gnd_reference skos:prefLabel "Auto"}
|
|
|
```
|
|
|
|
|
|
#### pdfs of newspaper and periodical with subject heading "Auto"
|
|
|
```
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
PREFIX edm: <http://www.europeana.eu/schemas/edm/>
|
|
|
SELECT ?pdf_link
|
|
|
WHERE {?subjectURI dc:subject ?gnd_reference .
|
|
|
?subjectURI edm:hasView ?pdf_link .
|
|
|
?pdf_link dc:format "application/pdf" .
|
|
|
?gnd_reference skos:prefLabel "Auto"}
|
|
|
```
|
|
|
|
|
|
#### images of newspaper and periodical with subject heading "Auto"
|
|
|
```
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
PREFIX edm: <http://www.europeana.eu/schemas/edm/>
|
|
|
SELECT ?image_link
|
|
|
WHERE {?subjectURI dc:subject ?gnd_reference .
|
|
|
?subjectURI edm:hasView ?image_link .
|
|
|
?image_link dc:format "image/jpeg" .
|
|
|
?gnd_reference skos:prefLabel "Auto"}
|
|
|
```
|
|
|
|
|
|
#### GND reference of all subject headings
|
|
|
```
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
SELECT DISTINCT ?dc_subject
|
|
|
WHERE {[] dc:subject ?dc_subject}
|
|
|
ORDER BY ASC(?dc_subject)
|
|
|
```
|
|
|
|
|
|
#### languages
|
|
|
```
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
SELECT DISTINCT ?dc_language
|
|
|
WHERE {[] dc:language ?dc_language}
|
|
|
ORDER BY ASC(?dc_language)
|
|
|
```
|
|
|
|
|
|
#### newspaper and periodical whose title starts with "Allgemein"
|
|
|
```
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
SELECT DISTINCT ?dc_title
|
|
|
WHERE {[] dc:title ?dc_title .
|
|
|
FILTER regex(?dc_title,'^Allgemein')}
|
|
|
ORDER BY ASC(?dc_title)
|
|
|
```
|
|
|
|
|
|
#### newspaper whose title starts with "Allgemein"
|
|
|
```
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
SELECT DISTINCT ?dc_title
|
|
|
WHERE {?x dc:type "newspaper" .
|
|
|
?x dc:title ?dc_title .
|
|
|
FILTER regex(?dc_title,'^Allgemein')}
|
|
|
ORDER BY ASC(?dc_title)
|
|
|
```
|
|
|
|
|
|
#### first pages of PDM newspaper and periodical
|
|
|
```
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
PREFIX edm: <http://www.europeana.eu/schemas/edm/>
|
|
|
SELECT ?first_page_link ?dc_title ?dc_date
|
|
|
WHERE {?subjectURI dc:subject ?gnd_reference .
|
|
|
?subjectURI dc:title ?dc_title .
|
|
|
?subjectURI dc:date ?dc_date .
|
|
|
?subjectURI edm:isShownBy ?first_page_link .
|
|
|
?subjectURI edm:rights <http://creativecommons.org/publicdomain/mark/1.0/>}
|
|
|
```
|
|
|
```
|
|
|
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
|
|
PREFIX dc: <http://purl.org/dc/elements/1.1/>
|
|
|
PREFIX edm: <http://www.europeana.eu/schemas/edm/>
|
|
|
PREFIX dcterms: <http://purl.org/dc/terms/>
|
|
|
SELECT DISTINCT ?x ?dc_title ?dc_date
|
|
|
WHERE {?subjectURI dc:subject ?gnd_reference .
|
|
|
?subjectURI dc:title ?dc_title .
|
|
|
?subjectURI dc:date ?dc_date .
|
|
|
?subjectURI edm:isShownBy ?first_page_link .
|
|
|
?subjectURI edm:rights <http://creativecommons.org/publicdomain/mark/1.0/> .
|
|
|
?first_page_link dcterms:isReferencedBy ?x .
|
|
|
?subjectURI dc:title ?dc_title .
|
|
|
FILTER regex(?dc_title,'^Allgemein')}
|
|
|
```
|
|
|
## Core EDM resources
|
|
|
|
|
|
### edm:ProvidedCHO
|
|
|
|
|
|
|Properties|Value|
|
|
|
|----------|------------|
|
|
|
|**dc:date**|issue date of the newspaper or periodical|
|
|
|
|**dc:identifier**|identifier of the newspaper or periodical|
|
|
|
|**dc:type**|newspaper or periodical|
|
|
|
|**dc:subject**|GND reference, connecting to a resource of type skos:Concept|
|
|
|
|**dcterms:spatial**|GND reference, connecting to a resource of type skos:Concept|
|
|
|
|**dc:language**|language|
|
|
|
|**dc:title**|title as shown on http://anno.onb.ac.at/|
|
|
|
|**edm:type**|always 'TEXT'|
|
|
|
|**edm:rights**|if older than 140 years http://creativecommons.org/publicdomain/mark/1.0/ else http://rightsstatements.org/vocab/CNE/1.0/|
|
|
|
|
|
|
### ore:Aggregation
|
|
|
|Properties|Value|
|
|
|
|----------|------------|
|
|
|
|**edm:isShownAt**|link to the issue on the ANNO Homepage|
|
|
|
|**edm:provider**|always 'Austrian National Library'|
|
|
|
|**edm:isShownBy**|links to the first page and is described in edm:WebResource|
|
|
|
|**edm:hasView**|links to the following pages and is described in edm:WebResource|
|
|
|
|
|
|
### edm:WebResource for digital representations
|
|
|
|
|
|
#### periodical (not IIIF)
|
|
|
|
|
|
|Properties|Value|
|
|
|
|------------|------------|
|
|
|
|**dc:description**|structure-info of the page|
|
|
|
|**dc:format**|always 'image/jpeg'|
|
|
|
|**edm:isNextInSequence**|link to previous page|
|
|
|
|
|
|
#### newspaper (not IIIF)
|
|
|
|
|
|
|Properties|Value|
|
|
|
|------------|------------|
|
|
|
|**dc:format**|image/jpeg|
|
|
|
|**edm:isNextInSequence**|link to previous page|
|
|
|
|
|
|
|Properties|Value|
|
|
|
|------------|------------|
|
|
|
|**dc:format**|application/pdf|
|
|
|
|
|
|
#### periodical (IIIF)
|
|
|
|
|
|
|Properties|Value|
|
|
|
|------------|------------|
|
|
|
|**dc:description**|structure-info of the page|
|
|
|
|**sioc:has_service**|connecting the WebResource to a resource of type sioc:Service|
|
|
|
|**dcterms:isReferencedBy**|connects to a IIIF manifest URI|
|
|
|
|**edm:isNextInSequence**|link to previous page|
|
|
|
|
|
|
#### newspaper (IIIF)
|
|
|
|
|
|
|Properties|Value|
|
|
|
|------------|------------|
|
|
|
|**sioc:has_service**|connecting the WebResource to a resource of type sioc:Service|
|
|
|
|**dcterms:isReferencedBy**|connects to a IIIF manifest URI|
|
|
|
|**edm:isNextInSequence**|link to previous page|
|
|
|
|
|
|
|Properties|Value|
|
|
|
|------------|------------|
|
|
|
|**dc:format**|application/pdf|
|
|
|
|
|
|
## Classes for contextual resources
|
|
|
|
|
|
### skos:Concept
|
|
|
|
|
|
|Properties|Value|
|
|
|
|------------|------------|
|
|
|
|**skos:prefLabel**|preferred label for GND referene|
|
|
|
|
|
|
### sioc:Service
|
|
|
|
|
|
|Properties|Value|
|
|
|
|------------|------------|
|
|
|
|**dcterms:conformsTo**|indicating that the WebService conforms to the IIIF profile|
|
|
|
|**doap:implements**|indicating that the WebService implements the IIIF protocol| |