Last active
November 27, 2018 13:59
-
-
Save Abbe98/0586bf77476fb3c06b8fb98e3baca6a6 to your computer and use it in GitHub Desktop.
Europeana SparQL stuff
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 edm: <http://www.europeana.eu/schemas/edm/> | |
PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
SELECT ?ku ('sameAs' AS ?relation) ?uri WHERE { | |
?item dc:identifier ?ku . | |
filter contains(?ku, 'kulturarvsdata.se') . | |
BIND(REPLACE(STR(?item), "proxy/provider", "item") AS ?uri) | |
} | |
LIMIT 10 |
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 edm: <http://www.europeana.eu/schemas/edm/> | |
PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
SELECT (COUNT(?item) as ?count) WHERE { | |
?item dc:identifier ?ku . | |
filter contains(?ku, 'kulturarvsdata.se') . | |
} |
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 edm: <http://www.europeana.eu/schemas/edm/> | |
PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
SELECT (COUNT(?item) as ?count) WHERE { | |
?item edm:provider 'Swedish Open Cultural Heritage | K-samsök' . | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment