Skip to content

remove 3 pairs of duplicate shapes #83

Description

@VladimirAlexiev

This finds 3 pairs of shapes with the same localname (see ########), same SPARQL and similar description.

PREFIX afn: <http://jena.apache.org/ARQ/function#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
select ?shape ?descr ?sparql {
  ?x sh:select ?sparql.
  ?shape sh:sparql|sh:target ?x.
  ?shape sh:property?/sh:description ?descr
  bind(afn:localname(?shape) as ?shapeLocalname)
  values ?duplicate { #######
        "DanglingReferences"
        "IdentifiedObject.description-stringLength"
        "IdentifiedObject.name-stringLength"
  }
    filter(?shapeLocalname=?duplicate)
}

Eliminate 3 duplicates

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions