File size: 837 Bytes
38b6321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
prefix owl:   <http://www.w3.org/2002/07/owl#> 
prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
prefix xsd:   <http://www.w3.org/2001/XMLSchema#> 
prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> 
prefix sm: <http://www.omg.org/techprocess/ab/SpecificationMetadata/>
prefix cmns-av: <https://www.omg.org/spec/Commons/AnnotationVocabulary/>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix dct: <http://purl.org/dc/terms/>

##
# banner Every Ontology defined in FIBO must have a dct:abstract.

SELECT DISTINCT ?error
WHERE {
  ?ont a owl:Ontology .
  FILTER NOT EXISTS {?ont owl:deprecated "true"^^xsd:boolean} .
  FILTER regex(str(?ont), <HYGIENE_TESTS_FILTER_PARAMETER>)	
  FILTER NOT EXISTS {?ont dct:abstract ?abs .}
BIND (concat ("PRODERROR: ", xsd:string(?ont), " has to have an abstract.") AS ?error)
}