Retrieve an entity by ID
Returns a specific entity by ID
Request
Method: | GET |
Route: | api/idion/idion_mwe/{id} |
Example: | api/idion/idion_mwe/2560 |
Route Parameter | Pattern | Requirement |
---|---|---|
id | [0-9]+ | Required |
Request Headers
host: | api.pomak.idion.athenarc.gr |
user-agent: | Symfony |
accept: | application/json |
accept-language: | en-us,en;q=0.5 |
accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
content-length: | 2 |
content-type: | application/json |
Response
200
JSON
Response Headers
cache-control: | no-cache, private |
date: | Sat, 17 Feb 2024 20:57:17 GMT |
content-type: | application/json |
x-ratelimit-limit: | 60 |
x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [
{
"id": 2560,
"hw": "čéftom balíkoso",
"variants": [
"čéftom balíkoso"
],
"description": null,
"html_comment": null,
"definitions": [
{
"id": 1734,
"lemma_id": 2560,
"definition": "predórgnavom",
"language": 10,
"definition_comment": null,
"intensification": null,
"mitigation": null,
"languages": {
"id": 10,
"value": "Pomak"
},
"style_tags": [],
"polarity_tags": [],
"emphasis_tags": [],
"idion_definition_translations": [
{
"id": 3075,
"language": {
"id": 1,
"value": "Greek"
},
"definition_id": 1734,
"translation": "υπενθυμίζω ξεχασμένα δεινά, ξαναφέρνω στην επιφάνεια κατευνασμένα πάθη",
"definition_comment": null
},
{
"id": 3076,
"language": {
"id": 1,
"value": "Greek"
},
"definition_id": 1734,
"translation": "ξύνω πληγές",
"definition_comment": "equivalent phrase"
},
{
"id": 3079,
"language": {
"id": 2,
"value": "English"
},
"definition_id": 1734,
"translation": "chisel wounds",
"definition_comment": "literal translation"
},
{
"id": 3080,
"language": {
"id": 2,
"value": "English"
},
"definition_id": 1734,
"translation": "go on hurting somebody",
"definition_comment": null
},
{
"id": 3081,
"language": {
"id": 2,
"value": "English"
},
"definition_id": 1734,
"translation": "open old wounds",
"definition_comment": "equivalent phrase"
},
{
"id": 3082,
"language": {
"id": 4,
"value": "Russian"
},
"definition_id": 1734,
"translation": "вызывать тяжёлые воспоминания, заставить вспомнить и вновь пережить",
"definition_comment": null
},
{
"id": 3083,
"language": {
"id": 4,
"value": "Russian"
},
"definition_id": 1734,
"translation": "бередить рану, растравлять рану, бередить душу",
"definition_comment": "equivalent phrase"
}
]
}
],
"corpora": [
{
"id": 16449,
"entry": "Namój čeftá balíkoso.",
"acceptable": "acceptable",
"url": "Καταγραφή Νικόλαου Κόκκα",
"conllu": null,
"mwe_id": 2560,
"uuid": null,
"literal": 0,
"retrieve_date": "2022-08-24",
"emphasis": 0,
"gradation_tag_id": null,
"gradation": null,
"idion_corpus_translations": []
}
],
"relations": [
{
"id": 4919,
"content": "autogenerated via relation id: 4860 because of symmetry",
"type": 3,
"subtype": null,
"mwe_id": 2560,
"related": 2662,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
},
"idion_related_mwe": {
"id": 2662,
"hw": "je mi so katá vólek",
"dt": "2023-02-09 16:50:10",
"version": null,
"semantics": null,
"description": null,
"creation_date": "2022-11-20 19:49:49",
"html_comment": null,
"variants": [
"je mi so katá vólek"
],
"idion_definition": [
{
"id": 1808,
"lemma_id": 2662,
"definition": "játse mi so je je",
"language": 10,
"definition_comment": null,
"intensification": null,
"mitigation": null,
"languages": {
"id": 10,
"value": "Pomak"
},
"style_tags": [],
"polarity_tags": [],
"emphasis_tags": [],
"idion_definition_translations": [
{
"id": 3200,
"language": {
"id": 2,
"value": "English"
},
"definition_id": 1808,
"translation": "I am starving, I am very hungry",
"definition_comment": null
},
{
"id": 3201,
"language": {
"id": 1,
"value": "Greek"
},
"definition_id": 1808,
"translation": "πεινάω σα λύκος",
"definition_comment": "equivalent translation"
}
]
}
]
}
},
{
"id": 4920,
"content": "autogenerated via relation id: 4876 because of symmetry",
"type": 3,
"subtype": null,
"mwe_id": 2560,
"related": 2685,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": null,
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
},
"idion_related_mwe": {
"id": 2685,
"hw": "dávom sikyntýe",
"dt": "2022-11-29 16:28:12",
"version": null,
"semantics": null,
"description": null,
"creation_date": "2022-11-29 14:28:12",
"html_comment": null,
"variants": [
"dávom sikyntýe"
],
"idion_definition": [
{
"id": 1822,
"lemma_id": 2685,
"definition": "dávom izjéte bannómu",
"language": 10,
"definition_comment": null,
"intensification": null,
"mitigation": null,
"languages": {
"id": 10,
"value": "Pomak"
},
"style_tags": [],
"polarity_tags": [],
"emphasis_tags": [],
"idion_definition_translations": [
{
"id": 3224,
"language": {
"id": 2,
"value": "English"
},
"definition_id": 1822,
"translation": "torment somebody, give discomfort",
"definition_comment": null
},
{
"id": 3226,
"language": {
"id": 1,
"value": "Greek"
},
"definition_id": 1822,
"translation": "ζορίζω κάποιον, ταλαιπωρώ κάποιον",
"definition_comment": null
}
]
}
]
}
}
],
"diag": [],
"annotations": [
{
"id": 106,
"variant": "čéftom balíkoso",
"comment": "autogenerated by python script",
"conllu": "# text = čéftom balíkoso\n# sent_id = 3\n1\tčéftom\tčéftom\tVERB\t_\tAspect=Imp|Mood=Ind|Number=Sing|Person=1|Tense=Pres|VerbForm=Fin|Voice=Act\t0\troot\t_\tstart_char=70|end_char=76\n2\tbalíkoso\tbalíka\tNOUN\t_\tCase=Acc|Definite=Def|Deixis=Prox|DeixisRef=1|Gender=Fem|Number=Sing\t1\tobj\t_\tstart_char=77|end_char=85\n",
"idion_mwe_id": 2560
}
],
"glossing": []
}
]
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.74
select * from `idion_mwe` limit 1
Time: 0.64
select * from `idion_definition` where `idion_definition`.`lemma_id` in (2560)
Time: 0.78
select * from `language` where `language`.`id` in (10)
Time: 0.76
select `style_tag`.*, `definition_has_style`.`definition_id` as `pivot_definition_id`, `definition_has_style`.`style_id` as `pivot_style_id` from `style_tag` inner join `definition_has_style` on `style_tag`.`id` = `definition_has_style`.`style_id` where `definition_has_style`.`definition_id` in (1734)
Time: 0.73
select `polarity_tag`.*, `definition_has_polarity`.`definition_id` as `pivot_definition_id`, `definition_has_polarity`.`polarity_id` as `pivot_polarity_id` from `polarity_tag` inner join `definition_has_polarity` on `polarity_tag`.`id` = `definition_has_polarity`.`polarity_id` where `definition_has_polarity`.`definition_id` in (1734)
Time: 0.66
select `emphasis_tag`.*, `definition_has_emphasis`.`definition_id` as `pivot_definition_id`, `definition_has_emphasis`.`emphasis_id` as `pivot_emphasis_id` from `emphasis_tag` inner join `definition_has_emphasis` on `emphasis_tag`.`id` = `definition_has_emphasis`.`emphasis_id` where `definition_has_emphasis`.`definition_id` in (1734)
Time: 0.57
select * from `idion_definition_translation` where `idion_definition_translation`.`definition_id` in (1734)
Time: 0.76
select * from `language` where `language`.`id` in (1, 2, 4)
Time: 0.67
select * from `idion_mwe` limit 1
Time: 0.58
select * from `idion_definition` where `idion_definition`.`lemma_id` in (2560)
Time: 0.66
select * from `language` where `language`.`id` in (10)
Time: 0.65
select `style_tag`.*, `definition_has_style`.`definition_id` as `pivot_definition_id`, `definition_has_style`.`style_id` as `pivot_style_id` from `style_tag` inner join `definition_has_style` on `style_tag`.`id` = `definition_has_style`.`style_id` where `definition_has_style`.`definition_id` in (1734)
Time: 0.59
select `polarity_tag`.*, `definition_has_polarity`.`definition_id` as `pivot_definition_id`, `definition_has_polarity`.`polarity_id` as `pivot_polarity_id` from `polarity_tag` inner join `definition_has_polarity` on `polarity_tag`.`id` = `definition_has_polarity`.`polarity_id` where `definition_has_polarity`.`definition_id` in (1734)
Time: 0.69
select `emphasis_tag`.*, `definition_has_emphasis`.`definition_id` as `pivot_definition_id`, `definition_has_emphasis`.`emphasis_id` as `pivot_emphasis_id` from `emphasis_tag` inner join `definition_has_emphasis` on `emphasis_tag`.`id` = `definition_has_emphasis`.`emphasis_id` where `definition_has_emphasis`.`definition_id` in (1734)
Time: 0.72
select * from `idion_definition_translation` where `idion_definition_translation`.`definition_id` in (1734)
Time: 0.55
select * from `language` where `language`.`id` in (1, 2, 4)
Time: 0.84
select * from `idion_mwe` where `idion_mwe`.`id` = ? limit 1
Bindings
0: | 2560 |
Time: 0.55
select * from `idion_definition` where `idion_definition`.`lemma_id` in (2560)
Time: 0.56
select * from `language` where `language`.`id` in (10)
Time: 0.63
select `style_tag`.*, `definition_has_style`.`definition_id` as `pivot_definition_id`, `definition_has_style`.`style_id` as `pivot_style_id` from `style_tag` inner join `definition_has_style` on `style_tag`.`id` = `definition_has_style`.`style_id` where `definition_has_style`.`definition_id` in (1734)
Time: 0.59
select `polarity_tag`.*, `definition_has_polarity`.`definition_id` as `pivot_definition_id`, `definition_has_polarity`.`polarity_id` as `pivot_polarity_id` from `polarity_tag` inner join `definition_has_polarity` on `polarity_tag`.`id` = `definition_has_polarity`.`polarity_id` where `definition_has_polarity`.`definition_id` in (1734)
Time: 0.59
select `emphasis_tag`.*, `definition_has_emphasis`.`definition_id` as `pivot_definition_id`, `definition_has_emphasis`.`emphasis_id` as `pivot_emphasis_id` from `emphasis_tag` inner join `definition_has_emphasis` on `emphasis_tag`.`id` = `definition_has_emphasis`.`emphasis_id` where `definition_has_emphasis`.`definition_id` in (1734)
Time: 0.59
select * from `idion_definition_translation` where `idion_definition_translation`.`definition_id` in (1734)
Time: 0.53
select * from `language` where `language`.`id` in (1, 2, 4)
Time: 0.67
select * from `idion_corpus` where `idion_corpus`.`mwe_id` in (2560)
Time: 0.53
select * from `gradation_tag` where 0 = 1
Time: 0.7
select * from `idion_corpus_translation` where `idion_corpus_translation`.`corpus_id` in (16449)
Time: 0.6
select * from `idion_relation` where `idion_relation`.`mwe_id` in (2560)
Time: 0.55
select * from `idion_relation_category` where `idion_relation_category`.`id` in (3)
Time: 0.67
select * from `idion_mwe` where `idion_mwe`.`id` in (2662, 2685)
Time: 0.68
select * from `idion_definition` where `idion_definition`.`lemma_id` in (2662, 2685)
Time: 0.53
select * from `language` where `language`.`id` in (10)
Time: 0.64
select `style_tag`.*, `definition_has_style`.`definition_id` as `pivot_definition_id`, `definition_has_style`.`style_id` as `pivot_style_id` from `style_tag` inner join `definition_has_style` on `style_tag`.`id` = `definition_has_style`.`style_id` where `definition_has_style`.`definition_id` in (1808, 1822)
Time: 0.63
select `polarity_tag`.*, `definition_has_polarity`.`definition_id` as `pivot_definition_id`, `definition_has_polarity`.`polarity_id` as `pivot_polarity_id` from `polarity_tag` inner join `definition_has_polarity` on `polarity_tag`.`id` = `definition_has_polarity`.`polarity_id` where `definition_has_polarity`.`definition_id` in (1808, 1822)
Time: 0.59
select `emphasis_tag`.*, `definition_has_emphasis`.`definition_id` as `pivot_definition_id`, `definition_has_emphasis`.`emphasis_id` as `pivot_emphasis_id` from `emphasis_tag` inner join `definition_has_emphasis` on `emphasis_tag`.`id` = `definition_has_emphasis`.`emphasis_id` where `definition_has_emphasis`.`definition_id` in (1808, 1822)
Time: 0.54
select * from `idion_definition_translation` where `idion_definition_translation`.`definition_id` in (1808, 1822)
Time: 0.56
select * from `language` where `language`.`id` in (1, 2)
Time: 0.54
select * from `idion_log` where `idion_log`.`lemma_id` in (2560)
Time: 0.61
select * from `idion_diagnostic` where `idion_diagnostic`.`mwe_id` in (2560)
Time: 0.59
select * from `idion_mw` where `idion_mw`.`mwe_id` in (2560)
Time: 0.58
select * from `idion_usage` where `idion_usage`.`mwe_id` in (2560)
Time: 0.56
select * from `idion_mwe_conllu_annotation` where `idion_mwe_conllu_annotation`.`idion_mwe_id` in (2560)
Time: 0.55
select * from `idion_glossing` where `idion_glossing`.`mwe_id` in (2560)
Request
Method: | GET |
Route: | api/idion/idion_mwe/{id} |
Example: | api/idion/idion_mwe/2560 |
Route Parameter | Pattern | Requirement |
---|---|---|
id | [0-9]+ | Required |
Request Headers
host: | api.pomak.idion.athenarc.gr |
user-agent: | Symfony |
accept: | application/json |
accept-language: | en-us,en;q=0.5 |
accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
content-length: | 2 |
content-type: | application/json |