@prefix :      <https://w3id.org/cmd#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix terms: <http://purl.org/dc/terms/> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vann:  <http://purl.org/vocab/vann/> .

terms:date  a   owl:AnnotationProperty .

terms:creator  a  owl:AnnotationProperty .

<http://purl.org/vocommons/voaf#Vocabulary>
        a       owl:Class .

terms:modified  a  owl:AnnotationProperty .

terms:contributor  a  owl:AnnotationProperty .

:Implementation  a    owl:Class ;
        rdfs:comment  "An implementation describing a procedure and/or an executable document. Can either be expressed in a query language, or be refering to an executable file, or be precisly describing the procedure."@en ;
        rdfs:label    "Implementation"@en .

:TSoR   a             owl:Class ;
        rdfs:comment  "Defines a compound measure with a set of requirements as well as a structuration of these requirements through the use of analysis elements."@en ;
        rdfs:label    "TSoR: Tree-Structure of Requirements"@en .

:expects  a           owl:ObjectProperty ;
        rdfs:comment  "Associate a requirement with an analysis element: an analysis element expects a requirement."@en ;
        rdfs:domain   :AnalysisElement ;
        rdfs:label    "expects"@en ;
        rdfs:range    :Requirement .

:isFollowedBy  a      owl:ObjectProperty ;
        rdfs:comment  "An implementation is followed by another implementation if the the second complement the first one."@en ;
        rdfs:domain   :Implementation ;
        rdfs:label    "is followed by"@en ;
        rdfs:range    :Implementation .

:hasRoot  a           owl:ObjectProperty ;
        rdfs:comment  "The TSoR has a given root among the analysis element."@en ;
        rdfs:domain   :TSoR ;
        rdfs:label    "has root"@en ;
        rdfs:range    :AnalysisElement .

terms:created  a  owl:AnnotationProperty .

skos:altLabel  a  owl:AnnotationProperty .

:isImplementedBy  a   owl:ObjectProperty ;
        rdfs:comment  "A requirement is implemented by an implementation."@en ;
        rdfs:domain   :Requirement ;
        rdfs:label    "is implemented by"@en ;
        rdfs:range    :Implementation .

:aggregFunction  a    owl:DatatypeProperty ;
        rdfs:comment  "Definition of a function expressing how to compute a unique global score based on the result obtained on each requirements and their weight."@en ;
        rdfs:domain   :TSoR ;
        rdfs:label    "aggregation function"@en .

:       a                              owl:NamedIndividual , <http://purl.org/vocommons/voaf#Vocabulary> , owl:Ontology ;
        rdfs:comment                   "This document is a vocabulary to describe compound measures, i.e. measures with several metric or item that are organized with serveral dimensions. The description of such a measure relies on a Tree-Structure of Requirement (TSoR): a set of requirements structured hierarchicaly with analysis element. A TSoR represents the main measure. Several information may be added to explicitely indicate how the overall score on the measure should be calculated based on the hierarchy, relative importance of the node of the hierarchy and an aggregation function. The measure can be described completely and unambiguously from the organisation to the requirements and the implementation."@en ;
        rdfs:label                     "Compound Measure Description"@en ;
        terms:contributor              "Sylvie Cazalens" , "Philippe Lamarre" ;
        terms:created                  "2022-08-25"^^xsd:date ;
        terms:creator                  "Jennie Andersen" ;
        terms:date                     "2024-03-24"^^xsd:date ;
        terms:license                  <http://creativecommons.org/licenses/by-nc-sa/2.0/> ;
        terms:modified                 "2024-03-24"^^xsd:date ;
        vann:preferredNamespacePrefix  "cmd" ;
        vann:preferredNamespaceUri     "https://w3id.org/cmd#" ;
        owl:versionInfo                2.0 ;
        skos:altLabel                  "Complex Measure Definition"@en , "CMD-v" .

terms:license  a  owl:AnnotationProperty .

:AnalysisElement  a   owl:Class ;
        rdfs:comment  "Node of the tree structure to classify requirements."@en ;
        rdfs:label    "Analysis Element"@en .

:hasContent  a        owl:ObjectProperty ;
        rdfs:comment  "A node of a TSoR has as content a given concept or metric."@en ;
        rdfs:label    "hasContent"@en .

:weight  a            owl:DatatypeProperty ;
        rdfs:comment  "Number representing the relative importance of one node (analysis element or requirement) of a TSoR compared to its siblings."@en ;
        rdfs:label    "weight"@en ;
        rdfs:range    xsd:double .

vann:preferredNamespaceUri
        a       owl:AnnotationProperty .

:isSpecifiedBy  a     owl:ObjectProperty ;
        rdfs:comment  "Structures analysis elements through this relation. An analysis element is specified by one or more other analysis elements that detail the analysis."@en ;
        rdfs:domain   :AnalysisElement ;
        rdfs:label    "is specified by"@en ;
        rdfs:range    :AnalysisElement .

:Requirement  a       owl:Class ;
        rdfs:comment  "Node of the tree structure representing a given metric to evaluate a concrete element."@en ;
        rdfs:label    "Requirement"@en .

xsd:date  a     rdfs:Datatype .

vann:preferredNamespacePrefix
        a       owl:AnnotationProperty .
