prefix rdfs: prefix owl: prefix xsd: ## # banner rdfs:comment shouldn't be used for FIBO annotation. SELECT DISTINCT ?error WHERE { ?subject rdfs:comment ?o . FILTER NOT EXISTS {?subject owl:deprecated "true"^^xsd:boolean} . FILTER regex(str(?subject), ) BIND (concat ("PRODERROR: ", str(?subject), " has an rdfs:comment annotation: ", str(?o)) AS ?error) }