Skip to content

FAIR Data Point SHACL file

When logged in as an administrator of the FAIR Data Point, click on your user blob and then:
Metadata Schema > Resource
And copy and replace the following SHACL code into the editor. Click save and then

@prefix : <http://fairdatapoint.org/> .
@prefix dash: <http://datashapes.org/dash#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .

:ResourceShape a sh:NodeShape ;
sh:targetClass dcat:Resource ;
sh:property [
sh:path dct:title ;
sh:nodeKind sh:Literal ;
sh:minCount 1 ;
sh:maxCount 1 ;
dash:editor dash:TextFieldEditor ;
], [
sh:path dct:description ;
sh:nodeKind sh:Literal ;
sh:maxCount 1 ;
dash:editor dash:TextAreaEditor ;
], [
sh:path dct:publisher ;
sh:node :AgentShape ;
sh:minCount 1 ;
sh:maxCount 1 ;
dash:editor dash:BlankNodeEditor ;
], [
sh:path dct:hasVersion ;
sh:name "version" ;
sh:nodeKind sh:Literal ;
sh:minCount 1 ;
sh:maxCount 1 ;
dash:editor dash:TextFieldEditor ;
dash:viewer dash:LiteralViewer ;
], [
sh:path dct:language ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
dash:editor dash:URIEditor ;
dash:viewer dash:LabelViewer ;
], [
sh:path dct:license ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
dash:editor dash:URIEditor ;
dash:viewer dash:LabelViewer ;
], [
sh:path dct:rights ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
dash:editor dash:URIEditor ;
dash:viewer dash:LabelViewer ;
] , [
sh:path odrl:hasPolicy ;
sh:nodeKind sh:IRI ;
sh:maxCount 1 ;
dash:editor dash:URIEditor;
dash:viewer dash:LabelViewer ;
] , [
sh:path dcat:contactPoint ;
sh:nodeKind sh:Literal;
sh:maxCount 1 ;
dash:editor dash:TextFieldEditor;
dash:viewer dash:LabelViewer ;
], [
sh:path skos:ConceptScheme ;
sh:name "Common Data Model" ;
sh:nodeKind sh:Literal ;
sh:minCount 1 ;
sh:maxCount 1 ;
dash:editor dash:TextFieldEditor ;
dash:viewer dash:LiteralViewer ;
] .

:AgentShape a sh:NodeShape ;
sh:targetClass foaf:Agent ;
sh:property [
sh:path foaf:name;
sh:nodeKind sh:Literal ;
sh:minCount 1 ;
sh:maxCount 1 ;
dash:editor dash:TextFieldEditor ;
] .


Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.