w3c / activitystreams

Activity Streams 2.0
https://www.w3.org/TR/activitystreams-core/
Other
278 stars 61 forks source link

Alignment with `schema:image` #85

Closed akuckartz closed 9 years ago

akuckartz commented 9 years ago

How well is AS2 image aligned with schema:image (http://www.schema.org/image) ?

elf-pavlik commented 9 years ago

http://www.w3.org/TR/activitystreams-vocabulary/#dfn-image-term

as:image a owl:ObjectProperty ;
  rdfs:label "image"@en ;
  rdfs:range [
    a owl:Class ;
    owl:unionOf ( as:Image as:LinkNotHandler )
  ] ;
  rdfs:domain as:Object .

besides as:Link issue looks similar to me ISSUE-14 as:Link adds a lot of complexity, if we keep it we need to clarify consequences of using it instead of as:Object

jasnell commented 9 years ago

@akuckartz as:image has no alignment with schema:image currently, at least not formally. One could easily use as:image and schema:ImageObject or schema:URL together, however. Nothing in the spec requires it tho.

{
  "@type": "Article",
  "image": {
    "@type": "schema:ImageObject",
    "schema:caption": "This is the caption",
    ...
  }
}