This repository was archived by the owner on Sep 23, 2018. It is now read-only.

Description
In this cats registry example generated by pyldapi:
@prefix ereg: <https://promsns.org/def/eregistry#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix reg: <http://purl.org/linked-data/registry#> .
@prefix xhv: <https://www.w3.org/1999/xhtml/vocab#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://example.com/id/cat/Jonny> a <http://127.0.0.1:8081/cats> ;
rdfs:label "Jonny"^^xsd:string ;
reg:register <http://127.0.0.1:8081/cats> .
<http://example.com/id/cat/Sally> a <http://127.0.0.1:8081/cats> ;
rdfs:label "Sally"^^xsd:string ;
reg:register <http://127.0.0.1:8081/cats> .
<http://example.com/id/cat/Spud> a <http://127.0.0.1:8081/cats> ;
rdfs:label "Spud"^^xsd:string ;
reg:register <http://127.0.0.1:8081/cats> .
<http://127.0.0.1:8081/cats?per_page=20&page=1> a ldp:Page ;
ldp:pageOf <http://127.0.0.1:8081/cats> ;
xhv:first <http://127.0.0.1:8081/cats?per_page=20&page=1> ;
xhv:last <http://127.0.0.1:8081/cats?per_page=20&page=1> .
<http://127.0.0.1:8081/cats> a reg:Register ;
rdfs:label "Reg1 Label"^^xsd:string ;
reg:containedItemClass <http://example.com/Cat> ;
rdfs:comment "Reg1 Comment"^^xsd:string .
It shows each cat ("Jonny", "Sally", and "Spud") as a <http://127.0.0.1:8081/cats> ;
I believe this to be incorrect, because it uses that same string as register:
reg:register <http://127.0.0.1:8081/cats> for each entry.
I believe it should be:
<http://example.com/id/cat/Spud> a reg:RegisterItem ;
rdfs:label "Spud"^^xsd:string ;
reg:register <http://127.0.0.1:8081/cats> .
See http://epimorphics.com/public/vocabulary/Registry.html