prefix owl: prefix rdf: prefix xsd: prefix rdfs: prefix skos: prefix dct: prefix owl: prefix fibo-fnd-utl-av: ## # banner Every class and property defined in FIBO must have a skos:definition. SELECT DISTINCT ?error WHERE { ?subject a ?c . FILTER NOT EXISTS {?subject owl:deprecated "true"^^xsd:boolean} . FILTER regex(str(?subject), ) FILTER NOT EXISTS {?subject owl:deprecated "true"^^xsd:boolean} . FILTER (?c in (owl:Class, owl:ObjectProperty, owl:AnnotationProperty, owl:DatatypeProperty)) FILTER NOT EXISTS {?subject skos:definition ?def .} BIND (concat ("PRODERROR: ", xsd:string(?subject), " has to have a definition.") AS ?error) }