- From: Benjamin Young <byoung@bigbluehat.com>
- Date: Thu, 22 Apr 2021 14:20:13 +0000
- To: Thomas Kurz <thomas.kurz@redlink.at>, "public-openannotation@w3.org" <public-openannotation@w3.org>
- Message-ID: <BN7PR06MB40499B5449F4273ACBFC1928B2469@BN7PR06MB4049.namprd06.prod.outlook.com>
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
Received on Thursday, 22 April 2021 14:20:34 UTC