generated from github/welcome-to-github
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: put foaf:agent and vcard:kind in seperate files
put foaf:agent and vcard:kind in seperate files
- Loading branch information
1 parent
0a19f0e
commit da47026
Showing
3 changed files
with
79 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
@prefix dash: <http://datashapes.org/dash#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@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#> . | ||
|
||
<http://data.health-ri.nl/core/p2/DatasetShape> a owl:Ontology; | ||
dct:description "This Excel file shows how to edit simple SHACL shapes in an Excel file"@en; | ||
dct:modified "2024-02-22T00:00:00.000Z"^^xsd:dateTime; | ||
rdfs:comment "An example SHACL file in Excel"@en; | ||
rdfs:label "SHACL example"@en; | ||
owl:versionInfo "0.1" . | ||
|
||
|
||
<http://data.health-ri.nl/core/p2/AgentShapeAgentShape> a sh:NodeShape; | ||
rdfs:label "Agent"@en; | ||
sh:property <http://data.health-ri.nl/core/p2/AgentShapeAgentShape#foaf:name>, <http://data.health-ri.nl/core/p2/AgentShapeAgentShape#dct:identifier>; | ||
sh:targetClass foaf:Agent . | ||
|
||
|
||
<http://data.health-ri.nl/core/p2/AgentShapeAgentShape#foaf:name> | ||
dash:editor dash:TextFieldEditor ; | ||
dash:viewer dash:LiteralViewer ; | ||
sh:minCount 1 ; | ||
sh:maxCount 1 ; | ||
sh:nodeKind sh:Literal ; | ||
sh:path foaf:name . | ||
|
||
<http://data.health-ri.nl/core/p2/AgentShapeAgentShape#dct:identifier> | ||
sh:path dct:identifier ; | ||
sh:nodeKind sh:Literal ; | ||
dash:editor dash:TextFieldEditor ; | ||
dash:viewer dash:LiteralViewer ; | ||
sh:minCount 1 ; | ||
sh:maxCount 1 . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@prefix dash: <http://datashapes.org/dash#> . | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
|
||
<http://data.health-ri.nl/core/p2/KindShapeKindShape> a sh:NodeShape; | ||
rdfs:label "Kind"@en; | ||
sh:property <http://data.health-ri.nl/core/p2/KindShapeKindShape#vcard:hasEmail>, | ||
<http://data.health-ri.nl/core/p2/KindShapeKindShape#vcard:fn>, | ||
<http://data.health-ri.nl/core/p2/KindShapeKindShape#vcard:hasURL>; | ||
sh:targetClass vcard:Kind . | ||
|
||
|
||
<http://data.health-ri.nl/core/p2/KindShapeKindShape#vcard:hasEmail> | ||
sh:path vcard:hasEmail ; | ||
sh:nodeKind sh:IRI ; | ||
sh:pattern "^mailto:.+@.+\\..+$" ; | ||
dash:viewer dash:URIViewer ; | ||
dash:editor dash:URIEditor ; | ||
sh:minCount 1 ; | ||
sh:maxCount 1 . | ||
|
||
|
||
<http://data.health-ri.nl/core/p2/KindShapeKindShape#vcard:fn> | ||
sh:path vcard:fn ; | ||
sh:nodeKind sh:Literal ; | ||
sh:datatype xsd:string ; | ||
dash:editor dash:TextFieldEditor ; | ||
dash:viewer dash:LiteralViewer ; | ||
sh:minCount 1 ; | ||
sh:maxCount 1 . | ||
|
||
|
||
<http://data.health-ri.nl/core/p2/KindShapeKindShape#vcard:hasURL> | ||
sh:path vcard:hasURL ; | ||
sh:nodeKind sh:IRI ; | ||
dash:viewer dash:URIViewer ; | ||
dash:editor dash:URIEditor . |