Skip to content

Commit ea14c3b

Browse files
authored
fix: replace of GoodRelations OWL file (#431)
* Replace inactive URL in GOOD_RELATIONS_URI Fix for #428 * Fix test URI
1 parent 1bb5502 commit ea14c3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/SchemaGeneratorConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
final class SchemaGeneratorConfiguration implements ConfigurationInterface
3232
{
3333
public const SCHEMA_ORG_URI = 'https://schema.org/version/latest/schemaorg-current-https.rdf';
34-
public const GOOD_RELATIONS_URI = 'https://archive.org/services/purl/goodrelations/v1.owl';
34+
public const GOOD_RELATIONS_URI = 'https://www.heppnetz.de/ontologies/goodrelations/v1.owl';
3535
public const SCHEMA_ORG_NAMESPACE = 'https://schema.org/';
3636

3737
private ?string $defaultPrefix;

tests/Command/DumpConfigurationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public function testDumpConfiguration(): void
5656
relations:
5757
5858
# OWL relation URIs containing cardinality information in the GoodRelations format
59-
uris: # Example: 'https://archive.org/services/purl/goodrelations/v1.owl'
59+
uris: # Example: 'https://www.heppnetz.de/ontologies/goodrelations/v1.owl'
6060
6161
# Default:
62-
- https://archive.org/services/purl/goodrelations/v1.owl
62+
- https://www.heppnetz.de/ontologies/goodrelations/v1.owl
6363
6464
# The default cardinality to use when it cannot be extracted
6565
defaultCardinality: (1..1) # One of "(0..1)"; "(0..*)"; "(1..1)"; "(1..*)"; "(*..0)"; "(*..1)"; "(*..*)"

0 commit comments

Comments
 (0)