Skip to content

Fail Save: Add Filter for Faulty URIs #44

@BOberreither

Description

@BOberreither

Before upload (or before adding inverse triples?) please add a filter that eliminates all triples that have as a subject or as an object a URI containing the substring ".at//".

(Only the triples, not the whole ‚statement‘ (if the wrong URI is just in an object position).)

This sparql finds triples with the faulty URIs:

SELECT ?subject ?predicate ?object ?graph
WHERE { GRAPH ?graph {
  ?subject ?predicate ?object.
  FILTER(contains(STR(?subject), ".at//") || contains(STR(?object), ".at//"))
  }}

EDIT:
Should also apply to the URI
https://sk.acdh.oeaw.ac.at/ (with the closing "/")

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions