Ontology Version: 2.2.0

cacontology-detection:HashArtifactGUFOShape leaf node


URI

https://cacontology.projectvic.org/detection#HashArtifactGUFOShape

Label

gUFO Hash Artifact Shape

Description

Validates hash artifacts as gUFO Objects.

Shape Properties

Instances of cacontology-detection:PerceptualHash can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-detection:PerceptualHash
cacontology-detection:hashAlgorithm 1 1 xsd:string
cacontology-detection:perceptualHashValue 1 1 xsd:string
1

Implementation

@prefix cacontology-detection: <https://cacontology.projectvic.org/detection#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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-detection:HashArtifactGUFOShape a sh:NodeShape ;
    rdfs:label "gUFO Hash Artifact Shape"@en ;
    rdfs:comment "Validates hash artifacts as gUFO Objects."@en ;
    sh:property [ sh:hasValue gufo:Object ;
            sh:message "Hash artifact must be typed as gUFO Object"@en ;
            sh:minCount 1 ;
            sh:path rdf:type ] ;
    sh:targetClass cacontology-detection:PerceptualHash,
        cacontology-detection:PhotoDNAHash .