Skip to content

Instantly share code, notes, and snippets.

@tts
Created February 23, 2013 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tts/5020276 to your computer and use it in GitHub Desktop.
Save tts/5020276 to your computer and use it in GitHub Desktop.
SPARQL query on a collection of audio files at Europeana
# 50 audio records from the SLS 2098 collection at Europeana
#
# SLS project page http://www.sls.fi/doc.php?docid=323 (in Swedish)
#
# Query adapted from
# http://www.snee.com/bobdc.blog/2013/01/finding-europeana-audio-with-s.html
# (also included as an example at the Europeana SPARQL endpoint)
#
# Tuija Sonkkila 23.2.2013
PREFIX edm: <http://www.europeana.eu/schemas/edm/>
PREFIX ore: <http://www.openarchives.org/ore/terms/>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT ?title ?mediaURL ?length ?source ?yr WHERE {
?resource edm:type "SOUND" ;
ore:proxyIn ?proxy ;
dc:title ?title ;
dcterms:extent ?length ;
dc:source ?source ;
dcterms:created ?yr ;
dcterms:isPartOf "SLS 2098" .
?proxy edm:isShownBy ?mediaURL .
}
LIMIT 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment