Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
- PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
- PREFIX nobel: <http://data.nobelprize.org/terms/>
- PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
- #SELECT DISTINCT ?instance ?category
- SELECT DISTINCT (COUNT(?instance) AS ?nr)
- WHERE {
- ?instance a nobel:LaureateAward.
- ?instance nobel:category ?category.
- FILTER (
- ?category NOT IN (
- <http://data.nobelprize.org/resource/category/Literature>,
- <http://data.nobelprize.org/resource/category/Peace>
- )
- )
- }
- ORDER BY ?instance
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement