popolo-project / popolo-spec

International legislative data specifications
http://www.popoloproject.com/
99 stars 18 forks source link

Links to video or audio #75

Closed akuckartz closed 9 years ago

akuckartz commented 10 years ago

This was suggested in https://github.com/opennorth/popolo-spec/issues/74#issuecomment-64418765 I suggest to continue the discussion here (separate from the other topics in that issue).

Some questions:

Some ontologies have been created for mime types etc. Some of that work could be used here.

jpmckinney commented 10 years ago

Schema.org uses MediaObjects as the range of audio and video: http://schema.org/AudioObject http://schema.org/VideoObject

I think in most cases, people will just want to link directly to the audio/video however. For Popolo, the JSON Schema just requires that it's a URI, so it can either be a URI to RDF or to the actual media file.

akuckartz commented 10 years ago

If http://schema.org/video is used then the property should only link to VideoObject objects - at least in the JSON-LD version of Popolo.

jpmckinney commented 10 years ago

Indeed

girogiro commented 9 years ago

So let's add the video property to the Speech class.

jpmckinney commented 9 years ago

I've added a note about the JSON-LD range for audio and video to the Serialization section.

The schema terms were the only existing terms that were found for relating a speech/work to its audio/video. The two possibilities were linking directly to media files and linking to metadata about media files. Schema.org links to metadata, so that's what we have in JSON-LD.

Unless I misunderstood the issue, I think this closes the issue.