buda-base / lds-pdi

http://purl.bdrc.io BDRC Linked Data Server
Apache License 2.0
2 stars 0 forks source link

improve prefixes in ttl output #41

Closed eroux closed 6 years ago

eroux commented 6 years ago

looking at bdr:W0RIT00001, a few things are not perfect:

Also, I'm thinking that because we're using a custom ttl serializer, we could make it output only prefixes that appear in the document. This seems like a reasonable improvement (I hope it's doable, not sure).

MarcAgate commented 6 years ago

The owl: prefix is present (it was probably added recently).

I think there's a difference between serializing a Model resulting from a sparql query and a Model somehow built programmatically.

In the first case, it looks like prefixes are listed in fuseki config files. Therefore I doubt we can adjust the outputed prefixes to prefixes appearing in the doc without parsing the Model.

I don't see any application of the second case in our system.