We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf72da commit d9d1c65Copy full SHA for d9d1c65
software/tests/test_graphs.py
@@ -539,6 +539,17 @@ def test_EnumerationWithoutEnums(self):
539
""",
540
error_message="Enumeration Type without Enumeration value")
541
542
+ def test_owlEquivalences(self):
543
+ self.assertNoMatch("""
544
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
545
+ SELECT ?term ?equivType WHERE {
546
+ ?term owl:equivalentClass ?equivType .
547
+ FILTER EXISTS { ?term owl:equivalentProperty ?equivType . }
548
+ }
549
+ ORDER BY ?term
550
+ """,
551
+ error_message="Equivalence cannot hold for both Class and Property!",
552
+ row_pattern="Term '%(term)s' is both equivalent Class and Property of %(equivType)s")
553
554
555
# TODO: Unwritten tests (from basics; easier here?)
0 commit comments