rescs:dash/thing/ThingShape leaf node


URI

http://rescs.org/dash/thing/ThingShape

Label

Thing

Description

The most generic type of item.

Target Classes (1)

Shape Properties

Instances of schema:Thing can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

schema:Thing
schema:alternateName xsd:string
schema:description 1
schema:identifier 1
schema:image 1
schema:name 1 1 xsd:string
schema:sameAs
schema:url

Implementation

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://rescs.org/dash/thing/ThingShape> a sh:NodeShape ;
    rdfs:label "Thing"^^xsd:string ;
    rdfs:comment "The most generic type of item."^^xsd:string ;
    sh:property [ sh:description "URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website." ;
            sh:name "sameAs" ;
            sh:nodeKind sh:IRI ;
            sh:path schema:sameAs ],
        [ sh:description "An image of the item." ;
            sh:maxCount 1 ;
            sh:name "image" ;
            sh:nodeKind sh:IRI ;
            sh:path schema:image ],
        [ sh:datatype xsd:string ;
            sh:description "An alias for the item." ;
            sh:name "alternateName" ;
            sh:path schema:alternateName ],
        [ sh:description "A description of the item." ;
            sh:maxCount 1 ;
            sh:name "description" ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:datatype rdf:langString ] ) ;
            sh:path schema:description ],
        [ sh:datatype xsd:string ;
            sh:description "The name of the item." ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:name "name" ;
            sh:path schema:name ],
        [ sh:description "The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details." ;
            sh:maxCount 1 ;
            sh:name "identifier" ;
            sh:or ( [ sh:datatype xsd:string ] [ sh:nodeKind sh:IRI ] ) ;
            sh:path schema:identifier ],
        [ sh:description "URL of the item." ;
            sh:name "url" ;
            sh:nodeKind sh:IRI ;
            sh:path schema:url ] ;
    sh:targetClass schema:Thing .