-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from UKGovLD/issue-159/fix-404-for-ext-entity
Partial fix for 404 on missing entity
- Loading branch information
Showing
5 changed files
with
92 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
|
||
@prefix reg: <http://purl.org/linked-data/registry#> . | ||
|
||
<_reference> a reg:RegisterItem; | ||
reg:definition [ | ||
reg:entity <http://location.data.gov.uk/reg1/red>; | ||
] | ||
. | ||
|
||
<http://location.data.gov.uk/reg1/red> a skos:Concept; | ||
rdfs:label "red" | ||
. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
|
||
@prefix reg: <http://purl.org/linked-data/registry#> . | ||
|
||
<_reference> a reg:RegisterItem; | ||
reg:definition [ | ||
reg:entity <http://location.data.gov.uk/reg1/red>; | ||
] | ||
. | ||
|
||
<http://location.data.gov.uk/reg1/red> a skos:Concept; | ||
rdfs:label "red" | ||
. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix dc: <http://purl.org/dc/elements/1.1/> . | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix version: <http://purl.org/linked-data/version#> . | ||
@prefix ldp: <http://www.w3.org/ns/ldp#> . | ||
@prefix ssd: <http://www.w3.org/ns/sparql-service-description#> . | ||
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> . | ||
@prefix void: <http://rdfs.org/ns/void#> . | ||
@prefix prov: <http://www.w3.org/ns/prov#> . | ||
|
||
@prefix reg: <http://purl.org/linked-data/registry#> . | ||
|
||
<reg4> a reg:Register, skos:Collection ; | ||
ldp:membershipPredicate skos:member; | ||
rdfs:label "register 4"@en; | ||
dct:description "Example register 4"@en; | ||
reg:owner <http://example.com/department> ; | ||
reg:manager <http://example.com/registryManagementLtd> | ||
. | ||
|