Closed VladimirAlexiev closed 5 years ago
I did this but rdflib doesn't produce more readable output.
e.g.
@prefix aat: <http://vocab.getty.edu/aat/> .
@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
[...]
<object/11> a crm:E22_Man-Made_Object ;
rdfs:label "Simple Example Painting" ;
crm:P2_has_type <http://vocab.getty.edu/aat/300033618>,
<http://vocab.getty.edu/aat/300133025> .
Note, the base just sets the relative URI, but doesn't add @base
. And adding aat as a prefix doesn't change the output for the URIs as subjects.
Tagging as blocked.
base just sets the relative URI, but doesn't add
@base
That's a common problem, eg see also https://github.com/kasei/perlrdf/issues/131 (split from https://github.com/kasei/perlrdf/issues/130#issuecomment-135950524)
aat as a prefix doesn't change the output for the URIs as subjects
That's a peculiarity of rdflib. Jena RIOT shortens them.
Closing. Having the full dereferencable URI is valuable for consumers in the JSON, so keeping the turtle in sync with the instance URIs is probably okay.
https://linked.art/example/object/16.ttl is nice, but please:
@prefix aat:
@base <https://linked.art/example/>