Code development platform for open source projects from the European Union institutions 🔵 EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content

Same procedure

Rule Definition

If a notice refers to another, both notices refer to the same procedure.


Additional Information

Rule elaboration

[:p1 owl:sameAs :p2] :- [:n2 `epo:refersToPrevious` :n1] 
                        [:n1 `epo:refersToProcedure` :p1]
                        [:n1 `epo:refersToProcedure` :p1]

image

Rule source

(Provide URL to legal source, if applicable)

Rule implementation

(Provide only URIs of formal encodings of the rules for execution. These are typically URIs of SHACL rules or RML maps. Each URI should be provided on a new line with no additional information)

Implementation note

Suggested implementation with SHARQL rules in a SHACL shapes graph (e.g. ePO-PPDS-AP)

epo:NoticeShape
    a sh:NodeShape ;
    sh:targetClass epo:Notice ;
    sh:rule [
        a sh:SPARQLRule ;
        sh:construct """
            PREFIX epo: <http://data.europa.eu/a4g/ontology#>
            PREFIX owl: <http://www.w3.org/2002/07/owl#>

            CONSTRUCT {
                ?procedure1 owl:sameAs ?procedure2 .
            }
            WHERE {
                $this epo:refersToPrevious ?notice2 .
                $this epo:refersToProcedure ?procedure1 .
                ?notice2 epo:refersToProcedure ?procedure2 .
                FILTER (!sameTerm(?procedure1, ?procedure2))
            }
        """ ;
    ] .

Related rules

(Include URLs of related rules)

Related generic rule

(If the rule is a specialisation of a generic rule registered in this Rulebook, include here URL of that generic rule)

History note

(If applicable, add here a note about a previous state of the rule, before the Rulebook)

Edited by Enrique Jose Barcala Soto