diff --git a/docs/report_queries/missing_subset_declaration.md b/docs/report_queries/missing_subset_declaration.md index 1ab62338f..1a67805f9 100644 --- a/docs/report_queries/missing_subset_declaration.md +++ b/docs/report_queries/missing_subset_declaration.md @@ -1,6 +1,6 @@ # Missing Subset Declaration -**Problem:** A subset is used in an annotation, but is not properly declared as a child of oboInOwl:SubsetProperty. This can cause problems with conversions to OBO format. +**Problem:** A subset is used in an annotation (via oboInOwl:inSubset), but is not properly declared as a child of oboInOwl:SubsetProperty. This can cause problems with conversions to OBO format, and should be avoided as all subsets should have metadata. **Solution:** Make the subset a child of oboInOwl:SubsetProperty. @@ -14,4 +14,4 @@ SELECT DISTINCT ?entity ?property ?value WHERE { FILTER NOT EXISTS { ?entity ?property oboInOwl:SubsetProperty } } ORDER BY ?entity -``` \ No newline at end of file +``` diff --git a/robot-core/src/main/resources/report_queries/missing_subset_declaration.rq b/robot-core/src/main/resources/report_queries/missing_subset_declaration.rq index 82413bd61..04ea01174 100644 --- a/robot-core/src/main/resources/report_queries/missing_subset_declaration.rq +++ b/robot-core/src/main/resources/report_queries/missing_subset_declaration.rq @@ -1,8 +1,8 @@ # # Missing Subset Declaration # -# **Problem:** A synonym type is used in an annotation, but is not properly declared as a child of oboInOwl:SynonymTypeProperty. This can cause problems with conversions to OBO format. +# **Problem:** A subset is used in an annotation (via oboInOwl:inSubset), but is not properly declared as a child of oboInOwl:SubsetProperty. This can cause problems with conversions to OBO format, and should be avoided as all subsets should have metadata. # -# **Solution:** Make the synonym type a child of oboInOwl:SubsetProperty. +# **Solution:** Make the subset a child of oboInOwl:SubsetProperty. PREFIX rdfs: PREFIX oboInOwl: @@ -12,4 +12,4 @@ SELECT DISTINCT ?entity ?property ?value WHERE { ?x oboInOwl:inSubset ?entity . FILTER NOT EXISTS { ?entity ?property oboInOwl:SubsetProperty } } -ORDER BY ?entity \ No newline at end of file +ORDER BY ?entity