Advertisement
mihaesandrei

Untitled

Nov 14th, 2018
2,508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SPARQL 0.53 KB | None | 0 0
  1. PREFIX dbpedia: <http://dbpedia.org/resource/>
  2. PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
  3. PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
  4. PREFIX nobel: <http://data.nobelprize.org/terms/>
  5. PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
  6. PREFIX owl: <http://www.w3.org/2002/07/owl#>
  7. SELECT DISTINCT (COUNT(?laureate) AS ?nr) ?university
  8. WHERE {
  9.   ?instance a nobel:LaureateAward.
  10.   ?instance nobel:laureate ?laureate.
  11.   ?laureate dbpedia-owl:affiliation ?university
  12. }
  13. GROUP BY ?university
  14. ORDER BY DESC (?nr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement