8000
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions software/tests/test_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,17 @@ def test_EnumerationWithoutEnums(self):
""",
error_message="Enumeration Type without Enumeration value")

def test_owlEquivalences(self):
self.assertNoMatch("""
PREFIX owl: <http://www.w3.org/2002/07/owl#>
SELECT ?term ?equivType WHERE {
?term owl:equivalentClass ?equivType .
FILTER EXISTS { ?term owl:equivalentProperty ?equivType . }
}
ORDER BY ?term
""",
error_message="Equivalence cannot hold for both Class and Property!",
row_pattern="Term '%(term)s' is both equivalent Class and Property of %(equivType)s")


# TODO: Unwritten tests (from basics; easier here?)
Expand Down
0