Skip to content

Commit

Permalink
Merge pull request #1886 from cultuurnet/rdf-postcode-uri-patch-1
Browse files Browse the repository at this point in the history
III-6399 Fix typo in postCode predicate URI in AddressEditor
  • Loading branch information
LucWollants authored Nov 15, 2024
2 parents aa6e7c0 + e2ecc26 commit ad6db44
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion features/data/organizers/rdf/organizer-with-address.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
locn:postName "Brussel"@nl, "Bruxelles"@fr ;
locn:thoroughfare "Quai du Hainaut"@nl, "Quai du Hainaut"@fr ;
locn:adminUnitL1 "BE" ;
locn:postcode "1080" ;
locn:postCode "1080" ;
locn:locatorDesignator "41"
] ;
locn:geometry [
Expand Down
2 changes: 1 addition & 1 deletion features/data/places/rdf/place-with-invalid-address.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "bbbb" ;
locn:postCode "bbbb" ;
locn:fullAddress "cccc, bbbb aaaa, BE"@nl ;
locn:postName "aaaa"@nl
] ;
Expand Down
2 changes: 1 addition & 1 deletion features/data/places/rdf/place-with-labels.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3271" ;
locn:postCode "3271" ;
locn:locatorDesignator "107" ;
locn:fullAddress "Hoornblaas 107, 3271 Scherpenheuvel-Zichem, BE"@nl ;
locn:postName "Scherpenheuvel-Zichem"@nl ;
Expand Down
2 changes: 1 addition & 1 deletion features/data/places/rdf/place-with-required-fields.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3271" ;
locn:postCode "3271" ;
locn:locatorDesignator "107" ;
locn:fullAddress "Hoornblaas 107, 3271 Scherpenheuvel-Zichem, BE"@nl ;
locn:postName "Scherpenheuvel-Zichem"@nl ;
Expand Down
2 changes: 1 addition & 1 deletion src/RDF/Editor/AddressEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class AddressEditor

private const PROPERTY_ADRES_STRAATNAAM = 'locn:thoroughfare';
private const PROPERTY_ADRES_HUISNUMMER = 'locn:locatorDesignator';
private const PROPERTY_ADRES_POSTCODE = 'locn:postcode';
private const PROPERTY_ADRES_POSTCODE = 'locn:postCode';
private const PROPERTY_ADRES_GEMEENTENAAM = 'locn:postName';
private const PROPERTY_ADRES_LAND = 'locn:adminUnitL1';
private const PROPERTY_ADRES_VOLLEDIG_ADRES = 'locn:fullAddress';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ _:genid4
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenplein 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenplein 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ _:genid4
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenplein 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenplein 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenplein 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenplein 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3271" ;
locn:postCode "3271" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Kerkstraat 1, 3271 Zichem (Scherpenheuvel-Zichem), BE"@nl ;
locn:postName "Zichem (Scherpenheuvel-Zichem)"@nl ;
Expand Down
2 changes: 1 addition & 1 deletion tests/Place/ReadModel/RDF/ttl/place-with-coordinates.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenlaan 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
2 changes: 1 addition & 1 deletion tests/Place/ReadModel/RDF/ttl/place-with-labels.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenlaan 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenlaan 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenlaan 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenlaan 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenlaan 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenlaan 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down
2 changes: 1 addition & 1 deletion tests/Place/ReadModel/RDF/ttl/place-with-translations.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
locn:postName "Leuven"@nl, "Louvain"@fr ;
locn:thoroughfare "Martelarenlaan"@nl, "Martelarenlaan"@fr ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1"
] .
2 changes: 1 addition & 1 deletion tests/Place/ReadModel/RDF/ttl/place.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
locn:address [
a locn:Address ;
locn:adminUnitL1 "BE" ;
locn:postcode "3000" ;
locn:postCode "3000" ;
locn:locatorDesignator "1" ;
locn:fullAddress "Martelarenlaan 1, 3000 Leuven, BE"@nl ;
locn:postName "Leuven"@nl ;
Expand Down

0 comments on commit ad6db44

Please sign in to comment.