Re: Why are RDF, RDFS & OWL not returning human-friendly versions?

While mimetypes are a good starting point, there can always be a need for more granular options.

Query parameters are one good, easy to use option used in other circumstances for this kind of thing.  For instance:

https://unpkg.com/

>
>       Query Parameters
>
> |?meta|
>     Return metadata about any file in a package as JSON (e.g.|/any/file?meta|)
> |?module|
>     Expands all “bare” |import| specifiers <https://html.spec.whatwg.org/multipage/webappapis.html#resolve-a-module-specifier> in
>     JavaScript modules to unpkg URLs. This feature is /very experimental/
>

Stephen


On 3/31/19 4:02 AM, Richard Light wrote:
>
> Niklas,
>
> I was bitten by this issue when testing content negotiation outcomes. The issue is that your browser is not an innocent bystander 
> in this HTTP transaction: it will have provided a requested set of response formats (and not just 'text/html') which will have an 
> impact on what is returned.  And different browsers have different default settings (which you as their user can alter).
>
> Richard
>
> On 31/03/2019 06:59, Niklas Petersen wrote:
>> Hi,
>>
>> visiting via a browser (text/html) the URIs of RDF, RDFS and OWL returns the turtle serialization of them. Would it not be better 
>> to provide a more human-friendly version (.html)?
>>
>> http://www.w3.org/1999/02/22-rdf-syntax-ns#
>>     -> ? (probably to RDFS :/)
>>
>> http://www.w3.org/2002/07/owl#
>>     -> https://www.w3.org/TR/owl2-overview/
>>
>> http://www.w3.org/2000/01/rdf-schema#
>>     -> https://www.w3.org/TR/rdf-schema/
>>
>>
>> Best regards,
>> Niklas
>>
>>
>> .
>>
> -- 
> *Richard Light*


-- 
Stephen D. Williams sdw@lig.net stephendwilliams@gmail.com
V:650-450-UNIX (8649) V:866.SDW.UNIX V:703.371.9362 F:703.995.0407
Hangouts:stephendwilliams@gmail.com AIM:sdw Skype:StephenDWilliams
Personal: http://sdw.st facebook.com/sdwlig twitter.com/scienteer
LinkedIn: http://sdw.st/in Resume: http://sdw.st/resume

Received on Sunday, 31 March 2019 17:26:20 UTC