Skip to content

Commit d0abe55

Browse files
committed
Apply suggestions from code review
1 parent 2385680 commit d0abe55

11 files changed

+11
-11
lines changed

migration/v12.0/queries/report/default/new_namespace/detect_renamed.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ WHERE {
3535
}
3636
}
3737
BIND(<urn:renamed-entity-validation-report> as ?report)
38-
BIND(CONCAT("WARNING: incorrectly named property gist:",
38+
BIND(CONCAT("WARNING: detected use of a class name that has changed - gist:",
3939
REPLACE(STR(?renamed), '^.*[/#]', ''), " was changed to gist:",
4040
REPLACE(STR(?newName), '^.*[/#]', '')
4141
) as ?error)

migration/v12.0/queries/report/default/old_namespace/detect_old_namespace_object.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ WHERE {
2020
}
2121
bind(<urn:renamed-entity-validation-report> as ?report)
2222
bind(CONCAT("WARNING: old namespace in use: ", STR(?o),
23-
". This should now be: https://ontologies.semanticarts.com/gist/", REPLACE(STR(?o), '^.*[/#]', '')
23+
". This should now be: https://w3id.org/semanticarts/gist/", REPLACE(STR(?o), '^.*[/#]', '')
2424
) as ?error)
2525
}

migration/v12.0/queries/report/default/old_namespace/detect_old_namespace_predicate.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ WHERE {
2020
}
2121
bind(<urn:renamed-entity-validation-report> as ?report)
2222
bind(CONCAT("WARNING: old namespace in use: ", STR(?p),
23-
". This should now be: https://ontologies.semanticarts.com/gist/", REPLACE(STR(?p), '^.*[/#]', '')
23+
". This should now be: https://w3id.org/semanticarts/gist/", REPLACE(STR(?p), '^.*[/#]', '')
2424
) as ?error)
2525
}

migration/v12.0/queries/report/default/old_namespace/detect_old_namespace_subject.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ WHERE {
2020
}
2121
bind(<urn:renamed-entity-validation-report> as ?report)
2222
bind(CONCAT("WARNING: old namespace in use: ", STR(?s),
23-
". This should now be: https://ontologies.semanticarts.com/gist/", REPLACE(STR(?s), '^.*[/#]', '')
23+
". This should now be: https://w3id.org/semanticarts/gist/", REPLACE(STR(?s), '^.*[/#]', '')
2424
) as ?error)
2525
}

migration/v12.0/queries/report/default/old_namespace/detect_renamed.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ WHERE {
3535
}
3636
}
3737
BIND(<urn:renamed-entity-validation-report> as ?report)
38-
BIND(CONCAT("WARNING: incorrectly named property gist:",
38+
BIND(CONCAT("WARNING: detected use of a class name that has changed - gist:",
3939
REPLACE(STR(?renamed), '^.*[/#]', ''), " was changed to gist:",
4040
REPLACE(STR(?newName), '^.*[/#]', '')
4141
) as ?error)

migration/v12.0/queries/report/ngraphs/new_namespace/detect_renamed.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ WHERE {
3535
}
3636
}
3737
BIND(<urn:renamed-entity-validation-report> as ?report)
38-
BIND(CONCAT("WARNING: incorrectly named property gist:",
38+
BIND(CONCAT("WARNING: detected use of a class name that has changed - gist:",
3939
REPLACE(STR(?renamed), '^.*[/#]', ''), " was changed to gist:",
4040
REPLACE(STR(?newName), '^.*[/#]', '')
4141
) as ?error)

migration/v12.0/queries/report/ngraphs/old_namespace/detect_old_namespace_graph.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ WHERE {
2020
FILTER(STRSTARTS(STR(?g), "https://ontologies.semanticarts.com/gist/"))
2121
BIND(<urn:renamed-entity-validation-report> as ?report)
2222
BIND(CONCAT("WARNING: old namespace in use: ", STR(?g),
23-
". This should now be: https://ontologies.semanticarts.com/gist/", REPLACE(STR(?g), '^.*[/#]', '')
23+
". This should now be: https://w3id.org/semanticarts/gist/", REPLACE(STR(?g), '^.*[/#]', '')
2424
) as ?error)
2525
}

migration/v12.0/queries/report/ngraphs/old_namespace/detect_old_namespace_object.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ WHERE {
2020
FILTER(STRSTARTS(STR(?o), "https://ontologies.semanticarts.com/gist/"))
2121
BIND(<urn:renamed-entity-validation-report> as ?report)
2222
BIND(CONCAT("WARNING: old namespace in use: ", STR(?o),
23-
". This should now be: https://ontologies.semanticarts.com/gist/", REPLACE(STR(?o), '^.*[/#]', '')
23+
". This should now be: https://w3id.org/semanticarts/gist/", REPLACE(STR(?o), '^.*[/#]', '')
2424
) as ?error)
2525
}

migration/v12.0/queries/report/ngraphs/old_namespace/detect_old_namespace_predicate.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ WHERE {
2020
FILTER(STRSTARTS(STR(?p), "https://ontologies.semanticarts.com/gist/"))
2121
BIND(<urn:renamed-entity-validation-report> as ?report)
2222
BIND(CONCAT("WARNING: old namespace in use: ", STR(?p),
23-
". This should now be: https://ontologies.semanticarts.com/gist/", REPLACE(STR(?p), '^.*[/#]', '')
23+
". This should now be: https://w3id.org/semanticarts/gist/", REPLACE(STR(?p), '^.*[/#]', '')
2424
) as ?error)
2525
}

migration/v12.0/queries/report/ngraphs/old_namespace/detect_old_namespace_subject.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ WHERE {
2020
FILTER(STRSTARTS(STR(?s), "https://ontologies.semanticarts.com/gist/"))
2121
BIND(<urn:renamed-entity-validation-report> as ?report)
2222
BIND(CONCAT("WARNING: old namespace in use: ", STR(?s),
23-
". This should now be: https://ontologies.semanticarts.com/gist/", REPLACE(STR(?s), '^.*[/#]', '')
23+
". This should now be: https://w3id.org/semanticarts/gist/", REPLACE(STR(?s), '^.*[/#]', '')
2424
) as ?error)
2525
}

migration/v12.0/queries/report/ngraphs/old_namespace/detect_renamed.rq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ WHERE {
3535
}
3636
}
3737
BIND(<urn:renamed-entity-validation-report> as ?report)
38-
BIND(CONCAT("WARNING: incorrectly named property gist:",
38+
BIND(CONCAT("WARNING: detected use of a class name that has changed - gist:",
3939
REPLACE(STR(?renamed), '^.*[/#]', ''), " was changed to gist:",
4040
REPLACE(STR(?newName), '^.*[/#]', '')
4141
) as ?error)

0 commit comments

Comments
 (0)