manuel84/abrupt

View on GitHub
assets/rules/datatypes/cax-complexity.ttl

Summary

Maintainability
Test Coverage
@prefix : <http://wba.cs.hs-rm.de/AbRUPt/> .
@base <http://wba.cs.hs-rm.de/AbRUPt/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

[
    a owl:Restriction;
    rdfs:subClassOf :Problem;
    owl:onProperty :aTagWithLowContrast;
    owl:someValuesFrom [
        a rdfs:Datatype;
        owl:onDatatype xsd:integer;
        owl:withRestrictions ([ xsd:minInclusive 1])
    ]
] .

[
    a owl:Restriction;
    rdfs:subClassOf :Problem;
    owl:onProperty :textNodesWithLowContrast;
    owl:someValuesFrom [
        a rdfs:Datatype;
        owl:onDatatype xsd:integer;
        owl:withRestrictions ([ xsd:minInclusive 1])
    ]
] .

[
    a owl:Restriction;
    rdfs:subClassOf :Problem;
    owl:onProperty :paragrahpsWithTooLongLines;
    owl:someValuesFrom [
        a rdfs:Datatype;
        owl:onDatatype xsd:integer;
        owl:withRestrictions ([ xsd:minInclusive 1])
    ]
] .