There are several things in your request. First of all, do not use regex when comparing URIs. Instead:
regex(?cat, "category:Amusement_parks_in_the_Netherlands")
using:
?cat = <http:
Second: your namespace prefix for the dublin kernel seems wrong. You request the dcterms:subject property, and in your request, the dcterms prefix maps to the namespace http://dublincore.org/2010/10/11/dcterms.rdf# . However, the actual property in DBPedia is http://purl.org/dc/terms/subject , so your namespace prefix should display instead of http://purl.org/dc/terms/ .
source share