Template:Dbpedia query category

From solab
Revision as of 22:15, 14 May 2011 by imported>WikiSysop
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
PREFIX dbpprop: <http://dbpedia.org/property/>
PREFIX dbpedia-owl:<http://dbpedia.org/ontology/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/> 
SELECT distinct  ?label_en ?subject
WHERE 
 {
  <http://dbpedia.org/resource/{{{res}}}>  {{{par}}} ?subject  .
         ?subject rdfs:label ?label_en .
         FILTER (LANG(?label_en) = 'en') .
         FILTER (REGEX(?label_en, '{{{label_en_filter}}}')) . 
} 

{{{limit}}}