Created
December 7, 2020 21:50
-
-
Save ewg118/0690987cd8749ce8a3ab85db4095fdf3 to your computer and use it in GitHub Desktop.
Islamic mints in Nomisma
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 crm: <http://www.cidoc-crm.org/cidoc-crm/> | |
PREFIX dcmitype: <http://purl.org/dc/dcmitype/> | |
PREFIX dcterms: <http://purl.org/dc/terms/> | |
PREFIX foaf: <http://xmlns.com/foaf/0.1/> | |
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> | |
PREFIX nm: <http://nomisma.org/id/> | |
PREFIX nmo: <http://nomisma.org/ontology#> | |
PREFIX org: <http://www.w3.org/ns/org#> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
SELECT DISTINCT ?uri ?en_label ?ar_label ?definition ?geonames ?wikidata WHERE { | |
?uri a nmo:Mint ; | |
dcterms:isPartOf nm:islamic_numismatics; | |
skos:prefLabel ?en_label FILTER (langMatches(lang(?en_label), "en")). | |
?uri skos:prefLabel ?ar_label FILTER (langMatches(lang(?ar_label), "ar")). | |
?uri skos:definition ?definition FILTER (langMatches(lang(?definition), "en")). | |
OPTIONAL { ?uri skos:closeMatch ?geonames FILTER (contains(str(?geonames), "geonames.org")) } | |
OPTIONAL { ?uri skos:closeMatch ?wikidata FILTER (contains(str(?wikidata), "wikidata.org")) } | |
} ORDER BY ?en_label |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment