- From: Thomas Kurz <thomas.kurz@redlink.at>
- Date: Thu, 22 Apr 2021 14:34:18 +0000
- To: Benjamin Young <byoung@bigbluehat.com>, "public-openannotation@w3.org" <public-openannotation@w3.org>
- Message-ID: <100BE2BA-4DDD-4758-A97A-E5393DBFDCF0@redlink.at>
Hi Benjamin, thx for your quick answer! Yes that’s exactly what I need. Actually it is quite clear written down in turtle 😉 Was somehow confused by the jsonld syntax :facepalm: Regards Thomas --- Dr. Thomas Kurz CTO / CEO [cid36E4ADD9913944F3A77939A2B7E31489] Redlink GmbH Franz-Josef Straße 15 5020 Salzburg +43 662 27 66 80 +49 151 700 927 19 Von: Benjamin Young <byoung@bigbluehat.com> Datum: Donnerstag, 22. April 2021 um 16:20 An: Thomas Kurz <thomas.kurz@redlink.at>, "public-openannotation@w3.org" <public-openannotation@w3.org> Betreff: Re: how to determine source type for a specific resource Hi Thomas, I'd suggest something like a combination of Example 29 and Example 70 from the Web Annotation Vocabulary spec: Example 29: https://www.w3.org/TR/annotation-vocab/#example_hasSource Example 70: https://www.w3.org/TR/annotation-vocab/#example_dctypes_stillImage ```turtle @prefix oa: <http://www.w3.org/ns/oa#> . @prefix dctypes: <http://purl.org/dc/dcmitype/> . # example 29 <http://example.org/anno28> a oa:Annotation ; oa:hasBody <http://example.org/comment1> ; oa:hasTarget <http://example.org/region1> . <http://example.org/region1> a oa:SpecificResource ; oa:hasSource <http://example.org/image1> . # last line of example 70 <http://example.org/image1> a dctypes:StillImage . ``` or in JSON-LD ```json { "@context": "http://www.w3.org/ns/anno.jsonld", "@graph": [ { "id": "http://example.org/anno28", "type": "Annotation", "body": "http://example.org/comment1", "target": "http://example.org/region1" }, { "id": "http://example.org/image1", "type": "Image" }, { "id": "http://example.org/region1", "type": "SpecificResource", "source": "http://example.org/image1" } ] } ``` Does that get you where you want to go? Or do you want/need something more compact than that `@graph` approach? Cheers! Benjamin -- http://bigbluehat.com/ http://linkedin.com/in/benjaminyoung ________________________________ From: Thomas Kurz <thomas.kurz@redlink.at> Sent: Wednesday, April 21, 2021 8:27 AM To: public-openannotation@w3.org <public-openannotation@w3.org> Subject: how to determine source type for a specific resource Hi! I am aiming to implement a annotation framework using OA model. As it seems to be common (at least at the recommendation examples) to set a specific type to the target (e.g dct:Image, dct:Text etc) I wonder how to set the type of the oa:hasSource of a oa:SpecificResource? Any ideas on that? Thanks in advance for your hints! Thomas --- Dr. Thomas Kurz CTO / CEO [cid36E4ADD9913944F3A77939A2B7E31489] Redlink GmbH Franz-Josef Straße 15 5020 Salzburg +43 662 27 66 80 +49 151 700 927 19
Attachments
- image/png attachment: image001.png
- image/png attachment: image002.png
Received on Thursday, 22 April 2021 14:34:35 UTC