Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotatie heeft meerdere property namen, met verschillende ranges, die over hetzelfde path gaan #10

Closed
gezever opened this issue Feb 19, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@gezever
Copy link

gezever commented Feb 19, 2024

<https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/ontwerpstandaard/2023-11-06#AnnotatieShape> a shacl:NodeShape;
  shacl:closed false;
  shacl:property [
    shacl:class rdfs:Resource;
    shacl:description "De resource waarover de annotatie meer informatie geeft."@nl;
    shacl:minCount 1;
    shacl:name "gaat over"@nl;
    shacl:path oa:hasTarget
  ], [
    shacl:class rdfs:Resource;
    shacl:description "Resource dat een Annotatie gebruikt om inhoudelijke kennis toe te voegen aan een andere Resource."@nl;
    shacl:name "heeft inhoud"@nl;
    shacl:path oa:hasBody
  ], [
    shacl:class prov:Location;
    shacl:description "Locatie dat de annotatie gebruikt als inhoud voor een resource."@nl;
    shacl:name "heeft locatie"@nl;
    shacl:path oa:body
  ], [
    shacl:class prov:Entity;
    shacl:description "Object dat de annotatie gebruikt als inhoud voor een resource."@nl;
    shacl:name "heeft object"@nl;
    shacl:path oa:body
  ], [
    shacl:class oa:TextualBody;
    shacl:description "Tekst dat de annotatie gebruikt als inhoud voor een resource."@nl;
    shacl:maxCount 1;
    shacl:name "heeft tekstuele inhoud"@nl;
    shacl:path oa:body
  ], [
    <http://purl.org/linked-data/cube#codeList> <https://data.vlaanderen.be/id/conceptscheme/BesluitThema>;
    shacl:class skos:Concept;
    shacl:description "Thema-code dat de annotatie gebruikt als inhoud voor een resource."@nl;
    shacl:name "heeft thema"@nl;
    shacl:path oa:body
  ], [
    shacl:class skos:Concept;
    shacl:description "Beschrijft de reden voor het aanmaken van de Annotatie."@nl;
    shacl:maxCount 1;
    shacl:name "is gemotiveerd door"@nl;
    shacl:path oa:motivatedBy
  ];
  shacl:targetClass oa:Annotation .

@jitsedc jitsedc added the bug Something isn't working label Feb 26, 2024
@brechtvdv
Copy link
Collaborator

Zie issue #8

@brechtvdv
Copy link
Collaborator

oa:body is aangepast naar oa:hasBody

@brechtvdv
Copy link
Collaborator

Opgelost door subproperties te maken, maar in de usage note aan te geven dat oa:hasBody gebruikt moet worden:
https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/kandidaatstandaard/2024-10-15/#Annotatie

In de shape (https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/kandidaatstandaard/2024-10-15/shacl/slimme-raadpleegomgeving-ap-SHACL.ttl):

<https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/kandidaatstandaard/2024-10-15#AnnotatieShape/7a15fca248aadc1a36c5acb58e21327b2ecbb375> rdfs:seeAlso "https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/kandidaatstandaard/2024-10-15#Annotatie.heeftobject";
  shacl:class prov:Entity;
  shacl:description "Object dat de annotatie gebruikt als inhoud voor een resource."@nl;
  shacl:name "heeft object"@nl;
  shacl:path <https://data.vlaanderen.be/ns/slimmeraadpleegomgeving#Annotatie.heeftObject> .


<https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/kandidaatstandaard/2024-10-15#AnnotatieShape/d014eebe7676e9eac7ae3821fdbf79d82d120040> rdfs:seeAlso "https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/kandidaatstandaard/2024-10-15#Annotatie.heeftthema";
  shacl:class skos:Concept;
  shacl:description "Thema-code dat de annotatie gebruikt als inhoud voor een resource."@nl;
  shacl:name "heeft thema"@nl;
  shacl:path <https://data.vlaanderen.be/ns/slimmeraadpleegomgeving#Annotatie.heeftThema> .

<https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/kandidaatstandaard/2024-10-15#AnnotatieShape/e3c6ae3ee5ca547e185e71d96e7df4c7a377372f> rdfs:seeAlso "https://data.vlaanderen.be/doc/applicatieprofiel/slimmeraadpleegomgeving/kandidaatstandaard/2024-10-15#Annotatie.heeftlocatie";
  shacl:class prov:Location;
  shacl:description "Locatie dat de annotatie gebruikt als inhoud voor een resource."@nl;
  shacl:name "heeft locatie"@nl;
  shacl:path <https://data.vlaanderen.be/ns/slimmeraadpleegomgeving#Annotatie.heeftLocatie> .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants