diff --git a/src/webapp/queries/no_broad_synonym_topic.rq b/src/webapp/queries/no_broad_synonym_topic.rq new file mode 100644 index 0000000..5efaa10 --- /dev/null +++ b/src/webapp/queries/no_broad_synonym_topic.rq @@ -0,0 +1,12 @@ +## Get topics that don't have any 'broadSynonym' attribute + +PREFIX edam: +PREFIX oboInOwl: + +SELECT ?term ?concept WHERE { + ?concept rdfs:subClassOf+ edam:topic_0003 ; + rdfs:label ?term . + FILTER NOT EXISTS { + ?concept oboInOwl:hasBroadSynonym ?hasBroadSynonym . + } . +} \ No newline at end of file diff --git a/src/webapp/queries/no_definition_topic.rq b/src/webapp/queries/no_definition_topic.rq new file mode 100644 index 0000000..7a24ef0 --- /dev/null +++ b/src/webapp/queries/no_definition_topic.rq @@ -0,0 +1,13 @@ +## Get topics that don't have a 'hasDefinition' attribute (ERROR level) + +PREFIX edam: +PREFIX oboInOwl: + +SELECT ?term ?concept WHERE { + ?concept rdfs:subClassOf+ edam:topic_0003 ; + rdfs:label ?term . + + FILTER NOT EXISTS { + ?concept oboInOwl:hasDefinition ?def + } . +} \ No newline at end of file diff --git a/src/webapp/queries/no_regex_identifier.rq b/src/webapp/queries/no_regex_identifier.rq new file mode 100644 index 0000000..ee7309f --- /dev/null +++ b/src/webapp/queries/no_regex_identifier.rq @@ -0,0 +1,14 @@ +## Hybrid Identifiers with no regex attribute (WARNING) + +PREFIX edam: +PREFIX oboInOwl: + +SELECT ?term ?concept ?regex WHERE { + ?concept rdfs:subClassOf+ edam:data_2109 ; + rdfs:label ?term . + + FILTER NOT EXISTS { + ?concept edam:regex ?regex + } . + +} \ No newline at end of file diff --git a/src/webapp/queries/no_wikipedia_link_operation.rq b/src/webapp/queries/no_wikipedia_link_operation.rq new file mode 100644 index 0000000..446cfea --- /dev/null +++ b/src/webapp/queries/no_wikipedia_link_operation.rq @@ -0,0 +1,13 @@ +## Get operations that don't have a wikipedia link as a 'seeAlso' attribute + +PREFIX edam: +PREFIX oboInOwl: + +SELECT ?term ?concept WHERE { + ?concept rdfs:subClassOf+ edam:operation_0004 ; + rdfs:label ?term . + FILTER NOT EXISTS { + ?concept rdfs:seeAlso ?seealso . + FILTER (regex(str(?seealso), "wikipedia.org", "i")) + } . +} \ No newline at end of file diff --git a/src/webapp/queries/no_wikipedia_link_topic.rq b/src/webapp/queries/no_wikipedia_link_topic.rq new file mode 100644 index 0000000..9af413e --- /dev/null +++ b/src/webapp/queries/no_wikipedia_link_topic.rq @@ -0,0 +1,13 @@ +## Get topics that don't have a wikipedia link as a 'seeAlso' attribute + +PREFIX edam: +PREFIX oboInOwl: + +SELECT ?term ?concept WHERE { + ?concept rdfs:subClassOf+ edam:topic_0003 ; + rdfs:label ?term . + FILTER NOT EXISTS { + ?concept rdfs:seeAlso ?seealso . + FILTER (regex(str(?seealso), "wikipedia.org", "i")) + } . +} \ No newline at end of file