Retrieve statistics
Returns statistics for the entity set
Request
Method: | GET |
Route: | api/idion/idion_relation/{id} |
Example: | api/idion/idion_relation/1 |
Route Parameter | Pattern | Requirement |
---|---|---|
id | [0-9]+ | Required |
Request Headers
host: | api.greek.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:58:09 GMT |
content-type: | application/json |
x-ratelimit-limit: | 60 |
x-ratelimit-remaining: | 59 |
{
"handler": "ApiResponse handler",
"result": {
"data": [
{
"id": 1,
"content": "μένω στον τόπο",
"type": 2,
"subtype": null,
"mwe_id": 1,
"related": 705,
"idion_relation_category": {
"id": 2,
"name": "Semantic pair",
"comment": "VMWEs with common fixed parts but with different verb. The VMWEs stand in a causative-non causative relation. The non-causative VMWE does not have είμαι or βρίσκομαι as its main verb (in other words, it does not denote a State, it rather denotes an Change of state (typically, an achievement (Dowty 1981)). This is a symmetrical relation.\r\n\r\nExample: \r\nαφήνω κάποιον με το στόμα ανοιχτό(causative), κάποιος μένει με το στόμα ανοιχτό (non-causative)\r\n\r\nδίνω σάρκα και οστά σε κάτι (causative), παίρνω σάρκα και οστά (non-causative)\r\n\r\nEncoding:\r\nsemantic pair:(αφήνω κάποιον με το στόμα ανοιχτό, κάποιος μένει με το στόμα ανοιχτό) or \r\nsemantic pair:(κάποιος μένει με το στόμα ανοιχτό, αφήνω κάποιον με το στόμα ανοιχτό)\r\n\r\nsemantic pair (δίνω σάρκα και οστά σε κάτι, παίρνω σάρκα και οστά)\r\nsemantic pair (παίρνω σάρκα και οστά, δίνω σάρκα και οστά σε κάτι)",
"tag": "SP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 2
}
}
]
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.64
select * from `idion_relation` limit 1
Time: 0.61
select * from `idion_relation_category` where `idion_relation_category`.`id` in (2)
Time: 0.6
select * from `idion_relation` limit 1
Time: 0.58
select * from `idion_relation_category` where `idion_relation_category`.`id` in (2)
Time: 0.62
select * from `idion_relation` where `idion_relation`.`id` = ? limit 1
Bindings
0: | 1 |
Time: 0.58
select * from `idion_relation_category` where `idion_relation_category`.`id` in (2)
Request
Method: | GET |
Route: | api/idion/idion_relation/{id} |
Example: | api/idion/idion_relation/1 |
Route Parameter | Pattern | Requirement |
---|---|---|
id | [0-9]+ | Required |
Request Headers
host: | api.greek.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 |