mirror of
https://github.com/CommonCoreOntology/CommonCoreOntologies.git
synced 2026-04-27 03:00:27 -04:00
updates based on @swartik helpful notes
This commit is contained in:
@@ -8,12 +8,12 @@
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
||||
SELECT DISTINCT ?element ?property ?value
|
||||
SELECT DISTINCT ?element ?property ?value ?error
|
||||
WHERE {
|
||||
?property a owl:AnnotationProperty .
|
||||
?element ?property ?value .
|
||||
FILTER (!isBlank(?element) && (REGEX(str(?value), "^[\\s\r\n]+") || REGEX(str(?value), "[\\s\r\n]+$")))
|
||||
BIND (concat("ERROR: The following annotation values have leading or trailing whitespace ", str(?element)) AS ?error)
|
||||
BIND (concat("ERROR: The following annotation value has leading or trailing whitespace ", str(?element)) AS ?error)
|
||||
}
|
||||
ORDER BY ?element
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
PREFIX cco: <http://www.ontologyrepository.com/CommonCoreOntologies/>
|
||||
|
||||
SELECT DISTINCT ?element ?value
|
||||
SELECT DISTINCT ?element ?value ?error
|
||||
WHERE {
|
||||
?element cco:definition ?value .
|
||||
FILTER (!isBlank(?element) && (REGEX(str(?value), "^[\\s\r\n]+") || REGEX(str(?value), "[\\s\r\n]+$")))
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
PREFIX cco: <http://www.ontologyrepository.com/CommonCoreOntologies/>
|
||||
|
||||
SELECT DISTINCT ?element ?definition
|
||||
SELECT DISTINCT ?element ?definition ?error
|
||||
WHERE {
|
||||
?element cco:definition ?definition .
|
||||
?element2 cco:definition ?definition .
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
PREFIX owl: <http://www.w3.org/2002/07/owl#>
|
||||
|
||||
SELECT ?error ?property1 ?property2
|
||||
SELECT ?property1 ?property2 ?error
|
||||
WHERE
|
||||
{
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
|
||||
SELECT DISTINCT ?error ?class
|
||||
SELECT DISTINCT ?class ?error
|
||||
WHERE
|
||||
{
|
||||
?class rdfs:subClassOf+ ?class .
|
||||
|
||||
Reference in New Issue
Block a user