Last active
June 12, 2017 23:38
-
-
Save ewg118/2961831c21c82ba0789cc75288761643 to your computer and use it in GitHub Desktop.
Evaluate whether an ingested OAI-PMH set has been designated for Primo or DPLA already
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX dcmitype: <http://purl.org/dc/dcmitype/> | |
PREFIX dcterms: <http://purl.org/dc/terms/> | |
PREFIX dpla: <http://dp.la/terms/> | |
PREFIX edm: <http://www.europeana.eu/schemas/edm/> | |
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
PREFIX ore: <http://www.openarchives.org/ore/terms/> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
PREFIX vcard: <http://www.w3.org/2006/vcard/ns#> | |
PREFIX arch: <http://purl.org/archival/vocab/arch#> | |
PREFIX nwda: <https://github.com/Orbis-Cascade-Alliance/nwda-editor#> | |
PREFIX prov: <http://www.w3.org/ns/prov#> | |
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | |
PREFIX doap: <http://usefulinc.com/ns/doap#> | |
ASK { | |
?set a dcmitype:Collection FILTER (regex(str(?set), 'set=matsura') && strStarts(str(?set), 'http://content.libraries.wsu.edu/oai/oai.php')) . | |
?agg prov:wasDerivedFrom ?set ; | |
doap:audience ?target FILTER (?target = 'primo' || ?target = 'dpla') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment