Ontology Version: 2.2.0

cacontology-partnerships-shapes:CrowdsourcingInvestigationShape leaf node


URI

https://cacontology.projectvic.org/partnerships/shapes#CrowdsourcingInvestigationShape

Label

Crowdsourcing Investigation Shape

Description

Enhanced validation shape for crowdsourcing investigation instances with gUFO quality aspects.

Shape Properties

Instances of cacontology-partnerships:CrowdsourcingInvestigation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-partnerships: <https://cacontology.projectvic.org/partnerships#> .
@prefix cacontology-partnerships-shapes: <https://cacontology.projectvic.org/partnerships/shapes#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-partnerships-shapes:CrowdsourcingInvestigationShape a sh:NodeShape ;
    rdfs:label "Crowdsourcing Investigation Shape"@en ;
    rdfs:comment "Enhanced validation shape for crowdsourcing investigation instances with gUFO quality aspects."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100000 ;
            sh:message "Public tips received must be between 0 and 100,000."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-partnerships:publicTipsReceived ],
        [ sh:datatype xsd:string ;
            sh:in ( "website" "social_media" "forums" "mobile_app" "specialized_platform" ) ;
            sh:maxCount 1 ;
            sh:message "Crowdsourcing platform must be from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-partnerships:crowdsourcingPlatform ],
        [ sh:datatype xsd:string ;
            sh:in ( "minimal" "low" "moderate" "high" "massive" ) ;
            sh:maxCount 1 ;
            sh:message "Participation level must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-partnerships:hasParticipationLevel ],
        [ sh:datatype xsd:string ;
            sh:in ( "poor" "fair" "good" "excellent" "exceptional" ) ;
            sh:maxCount 1 ;
            sh:message "Response quality must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-partnerships:hasResponseQuality ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Engagement effectiveness must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-partnerships:hasEngagementEffectiveness ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100000 ;
            sh:message "Public tips received must be between 0 and 100,000."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0 ;
            sh:path cacontology-partnerships:publicTipsReceived ],
        [ sh:datatype xsd:string ;
            sh:in ( "website" "social_media" "forums" "mobile_app" "specialized_platform" ) ;
            sh:maxCount 1 ;
            sh:message "Crowdsourcing platform must be from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-partnerships:crowdsourcingPlatform ],
        [ sh:datatype xsd:string ;
            sh:in ( "minimal" "low" "moderate" "high" "massive" ) ;
            sh:maxCount 1 ;
            sh:message "Participation level must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-partnerships:hasParticipationLevel ],
        [ sh:datatype xsd:string ;
            sh:in ( "poor" "fair" "good" "excellent" "exceptional" ) ;
            sh:maxCount 1 ;
            sh:message "Response quality must be from allowed values (gUFO quality aspect)."@en ;
            sh:path cacontology-partnerships:hasResponseQuality ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Engagement effectiveness must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-partnerships:hasEngagementEffectiveness ] ;
    sh:targetClass cacontology-partnerships:CrowdsourcingInvestigation .