- From: ☮ elf Pavlik ☮ <perpetual-tripper@wwelves.org>
- Date: Sun, 05 Apr 2015 12:47:55 +0200
- To: Andreas Kuckartz <a.kuckartz@ping.de>
- CC: "public-socialweb@w3.org" <public-socialweb@w3.org>
- Message-ID: <552112DB.7010607@wwelves.org>
On 04/05/2015 12:13 PM, Andreas Kuckartz wrote:
> Well, "http://example.org/martin/image" supposedly is an URL of the
> binary image, not of the "image" document - or is content negotiation
> to be used here so that the URL can in the end lead to either
> "image/jpeg" or an RDF serialization like "application/ld+json" ?
Please take a look at research i gathered on
https://www.w3.org/wiki/Socialwg/MediaObject
IMO we should use different URIs for binary image and RDF Source, in our
case JSON-LD document. While the second can link to binary image in a
similar way as http://schema.org/encoding. To link the other way maybe
we could use HTTP Header Link with rel="meta", similar to
*Autodiscovery* patern
http://patterns.dataincubator.org/book/autodiscovery.html
I didn't add this one to the wiki yet, but to relate binary image with
'social artifact' one could use something in direction
{
"@context": {
...
"encodingOf": { "@reverse": "http://schema.org/encoding", "@type":
"@id"}
},
...
"image": {
"@type": "ImageBlob",
"@id": "http://example.org/martin/blobs/image.jpeg",
"encodingOf": "http://example.org/martin/selfies/23",
"mediaType": "image/jpeg",
"width": 250,
"height": 250
}
}
Sadly HTTP Link Header deprecated use of *rev*
https://github.com/mnot/I-D/issues/39#issuecomment-89655519
and range for image would include as:Image and as:ImageBlob instead of
as:Image and as:LinkNotHandler ...
as:image a owl:ObjectProperty ;
rdfs:label "image"@en ;
rdfs:range [
a owl:Class ;
owl:unionOf ( as:Image as:LinkNotHandler )
] ;
rdfs:domain as:Object .
to
as:image a owl:ObjectProperty ;
rdfs:label "image"@en ;
rdfs:range [
a owl:Class ;
owl:unionOf ( as:Image as:ImageBlob )
] ;
rdfs:domain as:Object .
We will have chance to discuss it in more depth during F2F3 in Paris :)
Please don't forget to add yourself to
https://www.w3.org/wiki/Socialwg/2015-05-04#Participants
Cheers!
Received on Sunday, 5 April 2015 10:48:13 UTC