Commit 326b0915 authored by mrodzis's avatar mrodzis 🐸
Browse files

Merge branch '12-fix-data-paths' into 'main'

Resolve "fix data paths"

Closes #12

See merge request !11
parents 94fce3fd 48f559cd
...@@ -208,123 +208,137 @@ Provides information about the target node or text the annotation refers to. ...@@ -208,123 +208,137 @@ Provides information about the target node or text the annotation refers to.
#### Annotation Collection: Example for Collection #### Annotation Collection: Example for Collection
`http://ahikar.sub.uni-goettingen.de/api/textapi/ahikar/3r132/3r9ps/annotationCollection.json` `http://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/annotationCollection.json`
```json ```json
{ {
"annotationCollection": { "annotationCollection" : {
"total": 3926, "total" : 7460,
"@context": "http://www.w3.org/ns/anno.jsonld", "@context" : "http://www.w3.org/ns/anno.jsonld",
"first": "https://ahikar.sub.uni-goettingen.de/textapi/ahikar/3r9ps/3r7p9/annotationPage.json", "first" : "https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/annotationPage.json",
"label": "Ahikar annotations for textgrid:3r9ps: arabic", "label" : "Ahikar annotations for textgrid:arabic-karshuni: The Arabic and Karshuni Collections",
"last": "https://ahikar.sub.uni-goettingen.de/textapi/ahikar/3r9ps/3rx14/annotationPage.json", "last" : "https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r17d/annotationPage.json",
"x-creator": "Simon Birol, Aly Elrefaei", "x-creator" : "Simon Birol, Aly Elrefaei, Salhani, Anton",
"type": "AnnotationCollection", "type" : "AnnotationCollection",
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/3r9ps" "id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/arabic-karshuni"
} }
} }
``` ```
#### Annotation Collection: Example for Manifest #### Annotation Collection: Example for Manifest
`http://ahikar.sub.uni-goettingen.de/api/textapi/ahikar/3r9ps/3rx14/annotationCollection.json` `https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/annotationCollection.json`
```json ```json
{ {
"annotationCollection": { "annotationCollection" : {
"total": 0, "total" : 395,
"@context": "http://www.w3.org/ns/anno.jsonld", "@context" : "http://www.w3.org/ns/anno.jsonld",
"first": "https://ahikar.sub.uni-goettingen.de/textapi/ahikar/3r9ps/3rx14/1/annotationPage.json", "first" : "https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/264v/annotationPage.json",
"label": "Ahikar annotations for textgrid:3rx14: arabic, page 1", "label" : "Ahikar annotations for textgrid:3r7nv: Vat. Syriac 199",
"x-creator": "Simon Birol, Aly Elrefaei", "last" : "https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/283v/annotationPage.json",
"type": "AnnotationCollection", "x-creator" : "Simon Birol, Aly Elrefaei",
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/3rx14/1" "type" : "AnnotationCollection",
"id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/3r7nv"
} }
} }
``` ```
#### Annotation Collection: Example for Item #### Annotation Collection: Example for Item
`http://ahikar.sub.uni-goettingen.de/api/textapi/ahikar/3r9ps/3rx14-1/annotationCollection.json` `https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/264v/annotationCollection.json`
```json ```json
{ {
"annotationCollection": { "annotationCollection" : {
"total": 0, "total" : 0,
"creator": "Simon Birol, Aly Elrefaei", "@context" : "http://www.w3.org/ns/anno.jsonld",
"first": "http://ahikar.sub.uni-goettingen.de/api/textapi/ahikar/3r9ps/3rx14/1/annotationPage.json", "first" : "https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/264v/annotationPage.json",
"label": "Ahikar annotations for textgrid:3rx14: arabic, page 1", "label" : "Ahikar annotations for textgrid:3r7nv: Vat. Syriac 199, page 264v",
"type": "AnnotationCollection", "x-creator" : "Simon Birol, Aly Elrefaei",
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/3rx14/1" "type" : "AnnotationCollection",
"id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/3r7nv/264v"
} }
} }
``` ```
#### Annotation Page: Example for Manifest #### Annotation Page: Example for Manifest
`http://ahikar.sub.uni-goettingen.de/api/textapi/ahikar/3r9ps/3rx14/annotationPage.json` `https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/annotationPage.json`
```json ```json
{ {
"annotationPage": { "annotationPage" : {
"items": [ "items" : [ {
{ "bodyValue" : "A place's name.",
"bodyValue": "A person's name.", "target" : {
"target": { "format" : "text/xml",
"format": "text/xml", "language" : "karshuni",
"language": "ara", "id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/3r7nt/N4.4.2.6.4.12.2"
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/3rx15/N1.1.1.1.2.3.2"
},
"type": "Annotation",
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/3rx15/annotation-N1.1.1.1.2.3.2"
}, },
... "type" : "Annotation",
], "id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/3r7nt/annotation-N4.4.2.6.4.12.2"
"partOf": { }, {
"total": 3926, "bodyValue" : "A person's name.",
"label": "Ahikar annotations for 3r9ps", "target" : {
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/3r9ps" "format" : "text/xml",
"language" : "karshuni",
"id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/3r7nt/N4.4.2.6.4.8.2"
},
"type" : "Annotation",
"id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/3r7nt/annotation-N4.4.2.6.4.8.2"
}],
"partOf" : {
"total" : 7460,
"label" : "Ahikar annotations for arabic-karshuni",
"id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/arabic-karshuni"
}, },
"@context": "http://www.w3.org/ns/anno.jsonld", "@context" : "http://www.w3.org/ns/anno.jsonld",
"startIndex": 3601, "startIndex" : 2075,
"prev": "https://ahikar.sub.uni-goettingen.de/textapi/ahikar/3r9ps/3r7n0/annotationPage.json", "prev" : null,
"next": null, "next" : "https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7p9/annotationPage.json",
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationPage/3r9ps/3rx14" "id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationPage/arabic-karshuni/3r7nv"
} }
} }
``` ```
#### Annotation Page: Example for Item #### Annotation Page: Example for Item
`http://ahikar.sub.uni-goettingen.de/api/textapi/ahikar/3r9ps/3rx14/1/annotationPage.json` `https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/264v/annotationPage.json`
```json ```json
{ {
"annotationPage": { "annotationPage" : {
"items": [ "items" : [ {
{ "bodyValue" : "A place's name.",
"bodyValue": "A person's name.", "target" : {
"target": { "format" : "text/xml",
"format": "text/xml", "language" : "karshuni",
"language": "ara", "id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/3r7nt/N4.4.2.6.4.18.2"
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/3rx15/N1.1.1.1.2.3.2" },
}, "type" : "Annotation",
"type": "Annotation", "id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/3r7nt/annotation-N4.4.2.6.4.18.2"
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/3rx15/annotation-N1.1.1.1.2.3.2" }, {
"bodyValue" : "A person's name.",
"target" : {
"format" : "text/xml",
"language" : "karshuni",
"id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/3r7nt/N4.4.2.6.4.8.2"
}, },
... "type" : "Annotation",
], "id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/3r7nt/annotation-N4.4.2.6.4.8.2"
"partOf": { }],
"total": 325, "partOf" : {
"label": "Ahikar annotations for textgrid:3rx14: Salhani", "total" : 395,
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/3rx14" "label" : "Ahikar annotations for textgrid:3r7nv: Vat. Syriac 199",
"id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationCollection/3r7nv"
}, },
"@context": "http://www.w3.org/ns/anno.jsonld", "@context" : "http://www.w3.org/ns/anno.jsonld",
"startIndex": 0, "startIndex" : 0,
"prev": null, "prev" : null,
"next": "https://ahikar.sub.uni-goettingen.de/textapi/ahikar/3r9ps/3rx14/2/annotationPage.json", "next" : "https://ahikar-dev.sub.uni-goettingen.de/api/annotations/ahikar/arabic-karshuni/3r7nv/264r/annotationPage.json",
"type": "AnnotationPage", "type" : "AnnotationPage",
"id": "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationPage/3r9ps/3rx14/1" "id" : "http://ahikar.sub.uni-goettingen.de/ns/annotations/annotationPage/arabic-karshuni/3r7nv-264v"
} }
} }
``` ```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment