File: test.rq

package info (click to toggle)
sparql-wrapper-python 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,228 kB
  • sloc: python: 14,201; makefile: 30
file content (9 lines) | stat: -rw-r--r-- 263 bytes parent folder | download
1
2
3
4
5
6
7
8
9
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?pllabel
WHERE {
  ?pl
    a dbo:ProgrammingLanguage;
    rdfs:label ?pllabel.
  FILTER(SUBSTR(STR(?pllabel), 1, 1) = "P")
} ORDER BY ?pllabel LIMIT 1