Skip to content

Commit

Permalink
Fix missing SHACL relations (#659)
Browse files Browse the repository at this point in the history
* Add missing relations
  • Loading branch information
cristianvasquez authored Jul 26, 2024
1 parent 1c245b5 commit 02047d0
Show file tree
Hide file tree
Showing 16 changed files with 25,464 additions and 25,810 deletions.
559 changes: 102 additions & 457 deletions implementation/eAccess/shacl_shapes/eAccess_shapes.rdf

Large diffs are not rendered by default.

291 changes: 71 additions & 220 deletions implementation/eAccess/shacl_shapes/eAccess_shapes.ttl

Large diffs are not rendered by default.

3,141 changes: 1,662 additions & 1,479 deletions implementation/eCatalogue/shacl_shapes/eCatalogue_shapes.rdf

Large diffs are not rendered by default.

1,686 changes: 1,083 additions & 603 deletions implementation/eCatalogue/shacl_shapes/eCatalogue_shapes.ttl

Large diffs are not rendered by default.

409 changes: 230 additions & 179 deletions implementation/eContract/shacl_shapes/eContract_shapes.rdf

Large diffs are not rendered by default.

229 changes: 145 additions & 84 deletions implementation/eContract/shacl_shapes/eContract_shapes.ttl
Original file line number Diff line number Diff line change
@@ -1,97 +1,158 @@
@prefix : <http://data.europa.eu/a4g/ontology#> .
@prefix cccev: <http://data.europa.eu/m8g/> .
@prefix con-shape: <http://data.europa.eu/a4g/data-shape#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix eli: <http://data.europa.eu/eli/ontology#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix frbroo: <http://iflastandards.info/ns/fr/frbr/frbroo/> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix schema: <http://schema.org/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix cpov: <http://data.europa.eu/m8g/> .
@prefix a4g: <http://data.europa.eu/a4g/ontology#> .
@prefix sfrml: <http://data.europa.eu/a4g/mapping/sf-rml/> .
@prefix a4g_shape: <http://data.europa.eu/a4g/data-shape#> .
@prefix eli: <http://data.europa.eu/eli/ontology#> .
@prefix m8g: <http://data.europa.eu/m8g/> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix person: <http://www.w3.org/ns/person#> .
@prefix locn: <http://www.w3.org/ns/locn#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix rml: <http://semweb.mmlab.be/ns/rml#> .
@prefix r2rml: <http://www.w3.org/ns/r2rml#> .
@prefix at: <http://publications.europa.eu/ontology/authority/> .
@prefix atold: <http://publications.europa.eu/resource/authority/> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix con-shape: <http://data.europa.eu/a4g/data-shape/con/> .

con-shape:epo-con-ContractAmendment a sh:NodeShape ;
rdfs:label "Contract amendment" ;
rdfs:comment "A change to an existing Contract that is agreed by the contracting parties." ;
rdfs:isDefinedBy con-shape:con-shape ;
sh:targetClass :ContractAmendment .
con-shape:epo-con-ContractModificationInformationShape a sh:NodeShape ;
sh:targetClass a4g:ContractModificationInformation ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:property con-shape:epo-con-ContractModificationInformation-epo-hasModificationDescription, con-shape:epo-con-ContractModificationInformation-epo-hasModificationReasonDescription, con-shape:epo-con-ContractModificationInformation-epo-relatesToEFormSectionIdentifier, con-shape:epo-con-ContractModificationInformation-epo-concernsContractAmendment, con-shape:epo-con-ContractModificationInformation-epo-hasModificationJustification .

con-shape:epo-con-ContractAmendment-epo-updatesContractValue sh:description "only to be used in the last section of standard form 20" .
<http://data.europa.eu/a4g/data-shape/con/> a owl:Ontology ;
rdfs:label "eProcurement Ontology con - SHACL shapes"@en ;
dcterms:created "2021-06-01"^^xsd:date ;
dcterms:description "The eProcurement Ontology con SHACL shapes provides the datashape specifications for the eProcurement Ontology con module."@en ;
dcterms:issued "2024-03-21"^^xsd:date ;
dcterms:license "© European Union, 2014. Unless otherwise noted, the reuse of the Ontology is authorised under the European Union Public Licence v1.2 (https://eupl.eu/)." ;
dcterms:publisher "http://publications.europa.eu/resource/authority/corporate-body/PUBL" ;
dcterms:title "eProcurement Ontology con - SHACL shapes"@en ;
vann:preferredNamespacePrefix "epo" ;
vann:preferredNamespaceUri "http://data.europa.eu/a4g/ontology#" ;
rdfs:seeAlso <https://docs.ted.europa.eu/home/index.html>, <https://github.com/OP-TED/ePO/releases>, <https://joinup.ec.europa.eu/collection/eprocurement/solution/eprocurement-ontology/about>, <https://op.europa.eu/en/web/eu-vocabularies/e-procurement> ;
owl:imports <http://data.europa.eu/eli/ontology#>, <http://data.europa.eu/m8g/>, <http://purl.org/dc/terms/>, <http://purl.org/vocab/vann/>, <http://www.w3.org/2004/02/skos/core>, <http://www.w3.org/2006/time>, <http://www.w3.org/ns/adms>, <http://www.w3.org/ns/locn>, <http://www.w3.org/ns/org#>, <http://www.w3.org/ns/person>, <http://xmlns.com/foaf/0.1/> ;
owl:incompatibleWith "3.1.0" ;
owl:priorVersion "http://data.europa.eu/a4g/data-shape#con-shape-4.0.2" ;
owl:versionIRI con-shape:con-shape-4.1.0 ;
owl:versionInfo "4.1.0" .

con-shape:epo-con-ContractModificationInformation a sh:NodeShape ;
rdfs:label "Contract modification information" ;
rdfs:isDefinedBy con-shape:con-shape ;
sh:property con-shape:epo-con-ContractModificationInformation-epo-concernsContractAmendment,
con-shape:epo-con-ContractModificationInformation-epo-hasModificationDescription,
con-shape:epo-con-ContractModificationInformation-epo-hasModificationReasonDescription ;
sh:targetClass :ContractModificationInformation .
con-shape:epo-con-ContractModificationInformation-epo-hasModificationDescription a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:hasModificationDescription ;
sh:description "An explanatory text about this context. Additional Information This corresponds in Standard forms to Field VII.2.1 in F20 This corresponds in eForms to BT-202 . WG Approval 5/11/2019 " ;
sh:name "Has modification description" ;
sh:minCount 0 ;
sh:maxCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) .

con-shape:epo-con-Deliverable a sh:NodeShape ;
rdfs:label "Deliverable" ;
rdfs:isDefinedBy con-shape:con-shape ;
sh:targetClass :Deliverable .
con-shape:epo-con-ContractModificationInformation-epo-hasModificationReasonDescription a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:hasModificationReasonDescription ;
sh:description "An explanation about the reasons for using the concept. Additional Information This corresponds in Standard forms to Field VII.2.2.2 and VII.2.2.4 in F20. This corresponds in eForms to BT-201 . WG Approval 5/11/2019 " ;
sh:name "Has modification reason description" ;
sh:minCount 0 ;
sh:maxCount 1 ;
sh:or (
[
sh:datatype xsd:string ;
]
[
sh:datatype rdf:langString ;
]
) .

con-shape:epo-con-ContractModificationInformation-epo-concernsContractAmendment a sh:PropertyShape ;
sh:class :ContractAmendment ;
sh:maxCount 1 ;
sh:minCount 1 ;
sh:name "Concerns contract amendment" ;
sh:path :concernsContractAmendment ;
sh:sparql [ sh:select "SELECT ?this ?that WHERE { ?this <http://data.europa.eu/a4g/ontology#concernsContractAmendment> ?that . ?that <http://data.europa.eu/a4g/ontology#concernsContractAmendment> ?this .}" ] .
con-shape:epo-con-ContractAmendmentShape a sh:NodeShape ;
sh:targetClass a4g:ContractAmendment ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:property con-shape:epo-con-ContractAmendment-epo-updatesContractValue, con-shape:epo-con-ContractAmendment-epo-amendsContract ;
rdfs:comment "A change to an existing Contract that is agreed by the contracting parties." .

con-shape:epo-con-ContractModificationInformation-epo-hasModificationDescription a sh:PropertyShape ;
rdfs:isDefinedBy con-shape:con-shape ;
sh:datatype rdf:PlainLiteral ;
sh:description "An explanatory text about this context. Additional Information This corresponds in Standard forms to Field VII.2.1 in F20 This corresponds in eForms to BT-202 . WG Approval 5/11/2019" ;
sh:maxCount 1 ;
sh:name "Has modification description" ;
sh:path :hasModificationDescription .
con-shape:epo-con-ContractAmendment-epo-updatesContractValue a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:updatesContractValue ;
sh:name "Updates contract value" ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
sh:class a4g:MonetaryValue .

con-shape:epo-con-ContractModificationInformation-epo-hasModificationReasonDescription a sh:PropertyShape ;
rdfs:isDefinedBy con-shape:con-shape ;
sh:datatype rdf:PlainLiteral ;
sh:description "An explanation about the reasons for using the concept. Additional Information This corresponds in Standard forms to Field VII.2.2.2 and VII.2.2.4 in F20. This corresponds in eForms to BT-201 . WG Approval 5/11/2019" ;
sh:maxCount 1 ;
sh:name "Has modification reason description" ;
sh:path :hasModificationReasonDescription .
con-shape:epo-con-DeliverableShape a sh:NodeShape ;
sh:targetClass a4g:Deliverable ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:property con-shape:epo-con-Deliverable-epo-cat-hasQuantity, con-shape:epo-con-Deliverable-epo-hasTotalValue .

con-shape:epo-con-Deliverable-epo-cat-hasQuantity a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:hasQuantity ;
sh:name "Has quantity" ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
sh:class a4g:Quantity .

con-shape:epo-con-ContractAmendment-epo-amendsContract a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:amendsContract ;
sh:name "Amends contract" ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
sh:class a4g:Contract .

con-shape:epo-con-ContractModificationInformation-epo-relatesToEFormSectionIdentifier a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:relatesToEFormSectionIdentifier ;
sh:name "Relates to e form section identifier" ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
sh:class adms:Identifier .

con-shape:epo-con-ContractModificationInformation-epo-concernsContractAmendment a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:concernsContractAmendment ;
sh:name "Concerns contract amendment" ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
sh:class a4g:ContractAmendment .

con-shape:epo-con-ContractModificationInformation-epo-hasModificationJustification a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:hasModificationJustification ;
sh:description "Explanation of why a contract was modified. WG Approval 09/11/2021 The codelist to be used is at-voc:modification-justification which is available at http://publications.europa.eu/resource/dataset/modification-justification Additional Information This corresponds in Standard forms to Field VII.2.2.1 and VII.2.2.3 in F20 . This corresponds in eForms to BT-200. " ;
sh:name "Has modification justification" ;
sh:minCount 1 ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
sh:node [
rdf:type sh:NodeShape ;
sh:property [
sh:path skos:inScheme ;
sh:hasValue atold:modification-justification ;
] ;
] .

con-shape:con-shape a owl:Ontology ;
rdfs:label "eProcurement Ontology Contract - core shapes"@en ;
dcterms:created "2021-06-01"^^xsd:date ;
dcterms:description "The eProcurement Ontology Contract core shapes provides the generic datashape specifications for the eProcurement Ontology Contract core."@en ;
dcterms:issued "2024-07-10"^^xsd:date ;
dcterms:license "© European Union, 2014. Unless otherwise noted, the reuse of the Ontology is authorised under the European Union Public Licence v1.2 (https://eupl.eu/)." ;
dcterms:publisher "http://publications.europa.eu/resource/authority/corporate-body/PUBL" ;
dcterms:title "eProcurement Ontology Contract - core shapes"@en ;
vann:preferredNamespacePrefix "epo" ;
vann:preferredNamespaceUri "http://data.europa.eu/a4g/ontology#" ;
rdfs:comment "This version is automatically generated from eContract.xml on 2024-07-10" ;
rdfs:seeAlso <https://docs.ted.europa.eu/home/index.html>,
<https://github.com/OP-TED/ePO/releases>,
<https://joinup.ec.europa.eu/collection/eprocurement/solution/eprocurement-ontology/about>,
<https://op.europa.eu/en/web/eu-vocabularies/e-procurement> ;
owl:imports :cat,
:con,
:con-restriction,
:core,
:not,
eli:,
cccev:,
frbroo:,
dcterms:,
vann:,
<http://www.w3.org/2004/02/skos/core>,
<http://www.w3.org/2006/time>,
<http://www.w3.org/ns/adms>,
<http://www.w3.org/ns/locn>,
org:,
<http://www.w3.org/ns/person>,
foaf: ;
owl:incompatibleWith "3.1.0" ;
owl:priorVersion "http://data.europa.eu/a4g/data-shape#con-shape-4.0.2" ;
owl:versionIRI con-shape:con-shape-4.1.0 ;
owl:versionInfo "4.1.0" .
con-shape:epo-con-Deliverable-epo-hasTotalValue a sh:PropertyShape ;
rdfs:isDefinedBy <http://data.europa.eu/a4g/data-shape/con/> ;
sh:path a4g:hasTotalValue ;
sh:name "Has total value" ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
sh:class a4g:MonetaryValue .

Loading

0 comments on commit 02047d0

Please sign in to comment.