lcsh.info and sparql

Ed recently added a SPARQL endpoint for his lcsh.info site. A simple example query to return the concept URI and label for all labels that match a particular regular expression (in this case, those that start with “public”):

SELECT ?concept ?label WHERE {
  ?concept http://www.w3.org/2004/02/skos/core#prefLabel ?label 
  FILTER regex(?label, "^public", "i") 
}
LIMIT 10

I’m integrating some of these concepts into my own RDF and (forthcoming) personal site.

Comments are closed.


Creative Commons License Creative Commons License