Skip to content

Instantly share code, notes, and snippets.

@ewg118
Last active August 29, 2015 14:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ewg118/00be8e5671a795a147ed to your computer and use it in GitHub Desktop.
Get labels, order alphabetally
PREFIX nm: <http://nomisma.org/id/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?label WHERE {
nm:rome skos:prefLabel ?label
} ORDER BY ASC(xsd:string(?label))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment