# $Id: thesaurustestcase.turtle,v 1.3 2005/12/12 12:50:46 ajm65 Exp $ @prefix skos: . @prefix : . @prefix dc: . @prefix rdfs: . <> a :TestCase; dc:title 'SKOS Thesaurus Compatibility Test Case'; dc:description 'This test case indicates potential problems in a graph that represents a SKOS concept scheme, where the concept scheme is to be used as a thesaurus or other type of controlled vocabulary. Although the test case will detect potential problems in graphs that represent fragments of a concept scheme, it is most meaningfully applied to the graph that represents the whole of a concept scheme.'; :groups ( _:groupA _:groupB _:groupC _:groupD ); . _:groupA a :TestGroup; dc:title 'Test Group A. (Semantic Relation Integrity Tests)'@en; dc:description 'This group of tests indicates potential problems in a network of semantic relationships between concepts. The tests can be meaningfully applied to the graph that represents the whole of a concept scheme, or to a graph representing any fragment of a concept scheme.'@en; :infer ; :tests ( ); . a :Test; dc:title 'Test A.1. (Circularity of Broader/Narrower Hierarchy)'@en; dc:description 'This test indicates a circularity in the asserted skos:broader or skos:narrower relationships between concepts.'@en; rdfs:comment 'N.B. although the formal implication of a circularity in the transitive closure of skos:broader has not been determined, for practical purposes this usually indicates a problem.'@en; . a :Test; dc:title 'Test A.2. (Associative/Hierarchical Circularity)'@en; dc:description 'This test indicates that a concept has both a hierarchical and an associative relationship with another concept.'@en; . _:groupB a :TestGroup; dc:title 'Test Group B. (Labelling Integrity Tests)'@en; dc:description 'This group of tests indicates fundamental problems in the use of the labelling properties skos:prefLabel and skos:prefSymbol. The tests can be meaningfully applied to a graph that represents the whole of a concept scheme, or to a graph that represents any fragment of a concept scheme.'@en; :tests ( ); . a :Test; dc:title 'Test B.1. (Preferred Lexical Label Cardinality)'@en; dc:description 'This test indicates that a resource has more than one preferred lexical label in a given language.'@en; . a :Test; dc:title 'Test B.2. (Preferred Symbolic Labelling Cardinality)'@en; dc:description 'This test indicates that more than one preferred symbolic label has been asserted for a resource, which is a problem if the symbolic labels are in fact different.'@en; rdfs:comment 'N.B. this test only generates a warning, because it is unknown whether the two differently named symbols are in fact different resources.'@en; . a :Test; dc:title 'Test B.3. (Preferred/Alternative Lexical Label Duplication for Single Resource)'@en; dc:description 'This test indicates that some literal is both a preferred and an alternative lexical label for a resource.'@en; rdfs:comment 'N.B. although the formal implications of this pattern have not been determined, intuitively this violates the intended meaning of "preferred" and "alternative" as being distinct.'@en; . a :Test; dc:title 'Test B.4. (Preferred/Alternative Symbolic Label Duplication for Single Resource)'@en; dc:description 'This test indicates that a symbol is both a preferred and an alternative symbolic label for the same resource.'@en; rdfs:comment 'N.B. although the formal implications of this pattern have not been determined, intuitively this violates the intended meaning of "preferred" and "alternative" as being distinct.'@en; . _:groupC a :TestGroup; dc:title 'Test Group C. (Controlled Vocabulary Labelling Integrity Tests)'@en; dc:description 'This group of tests indicates potential problems where a SKOS concept scheme is intended for use as a controlled vocabulary or thesarus. The tests will reveal problems in a graph representing a fragment of a concept scheme, but should be applied to the graph that represents the whole of a concept scheme to avoid missing potential problems.'@en; :tests ( ); . a :Test; dc:title 'Test C.1. (Preferred/Alternative Lexical Label Duplication for Concepts in Same Scheme)'@en; dc:description 'This test indicates that some literal is both a preferred lexical label and an alternative lexical label for concepts in the same concept scheme.'@en; rdfs:comment 'N.B. although the formal implications of this pattern have not been determined, it represents a problem if the concept scheme is intended for use as a thesaurus, because in a thesaurus a "term" cannot be both preferred and non-preferred. This test is still valid where it is not known if the two concepts are in fact the same or different resources, because in the case where they are the same, the test reduces to test B.3.'@en; . a :Test; dc:title 'Test C.2. (Preferred Lexical Label Uniqueness in Scheme)'@en; dc:description 'This test indicates that some literal has been declared as a preferred lexical label for two sepately identified concepts in a concept scheme. If these concepts are in fact different concepts, then this represents a problem where the concept scheme is intended for use as a thesaurus, because in a thesaurus every "preferred term" must correspond to a unique meaning.'@en; . a :Test; dc:title 'Test C.3. (Preferred/Alternative Symbolic Label Duplication for Concepts in Same Scheme)'@en; dc:description 'This test indicates that some resource is both a preferred symbolic label and an alternative symbolic label for concepts in the same concept scheme.'@en; rdfs:comment 'N.B. although the formal implications of this pattern have not been determined, it represents a problem if the concept scheme is intended for use as a symbolic thesaurus, because in a thesaurus a "term" cannot be both preferred and non-preferred. This test is still valid where it is not known if the two concepts are in fact the same or different resources, because in the case where they are the same, the test reduces to test B.4.'@en; . a :Test; dc:title 'Test C.4. (Preferred Symbolic Label Uniqueness in Scheme)'@en; dc:description 'This test indicates that a resource is a preferred symbolic label for two separately identified concepts in the same concept scheme. If these concepts are different, and the concept scheme is intended for use as a symbolic thesaurus, then this represents a problem, as every "preferred term" in a thesaurus must correspond to a distinct meaning.'@en; . _:groupD a :TestGroup; dc:title 'Test Group D. (Scheme Structural Tests)'@en; dc:description 'This group of tests indicates potential problems relating to topmost concepts in a concept scheme. The tests are only meaningfully applied to the graph that represents the whole of the concept scheme.'@en; :tests ( ); . a :Test; dc:title 'Test D.1. (Top Concept with Broader in Scheme)'@en; dc:description 'This test indicates that some concept has been declared as a top concept for a concept scheme, and also has broader concepts in the same concept scheme. This is not necessarily a problem, as some concept schemes allow concepts to be at the top of one hierarchy and elsewhere in another hierarchy.'@en; . a :Test; dc:title 'Test D.2. (Possible Missing Top Concept Assertion for Scheme)'@en; dc:description 'This test indicates that some concept has no broader concepts in the same concept scheme, but has not been asserted as a top concept for that concept scheme. The assertion can only be considered to be "missing" if the test has been applied to the graph that contains all assertions for that concept scheme.'@en; .