Retrieve latest entities
Returns the collection of the latest entities
Request
Method: | GET |
Route: | api/idion/idion_relation/latest/{limit?} |
Example: | api/idion/idion_relation/latest/5 |
Route Parameter | Pattern | Requirement |
---|---|---|
limit | [0-9]+ | Optional |
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": 6381,
"content": null,
"type": 3,
"subtype": null,
"mwe_id": 3083,
"related": 3085,
"idion_relation_category": {
"id": 3,
"name": "Opposite",
"comment": "When two VMWEs denote situations that cannot hold simultaneously for the same entities. This is a symmetrical relation.\r\n\r\nExample: \r\nβγαίνω από το παιχνίδι, μπαίνω στο παιχνίδι\r\n\r\nEncoding:\r\nOpposite(βγαίνω από το παιχνίδι, μπαίνω στο παιχνίδι) \r\nor\r\nOpposite(μπαίνω στο παιχνίδι, βγαίνω από το παιχνίδι)",
"tag": "OPP",
"symmetry": 1,
"transitivity": 0,
"directionality": 0,
"inverted_relation_id": 3
}
},
{
"id": 6380,
"content": null,
"type": 6,
"subtype": null,
"mwe_id": 3083,
"related": 3084,
"idion_relation_category": {
"id": 6,
"name": "Lexical variant",
"comment": "When the non-verbal fixed parts of two VMWEs with identical meaning differ from each other in terms of content words. Differences in verb valency are captured with semantic relations. This is a symmetrical and a transitive relation.\r\nExample: \r\nχάνω τα αυγά και τα καλάθια, χάνω τα αυγά και τα πασχάλια\r\nCodification\r\nLexical variant(χάνω τα αυγά και τα καλάθια, χάνω τα αυγά και τα πασχάλια)\r\nor\r\nLexical variant(χάνω τα αυγά και τα πασχάλια, χάνω τα αυγά και τα καλάθια)",
"tag": "LVA",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 6
}
},
{
"id": 6379,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 3083,
"related": 3083,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": "When two or more VMWEs have similar or equivalent meaning and they can be constituted without significantly altering the meaning of the sentence.\r\nThis is a symmetrical and transitive relation.\r\n\r\nExample: \r\nέρχεται μια κεραμίδα σε κάποιον, έρχεται ο ουρανός σφοντύλι σε κάποιον\r\n\r\nEncoding: \r\nsynonym(έρχεται μια κεραμίδα σε κάποιον, έρχεται ο ουρανός σφοντύλι σε κάποιον) \r\nor\r\nsynonym(έρχεται ο ουρανός σφοντύλι σε κάποιον, έρχεται μια κεραμίδα σε κάποιον)",
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
},
{
"id": 6377,
"content": null,
"type": 6,
"subtype": null,
"mwe_id": 3081,
"related": 3033,
"idion_relation_category": {
"id": 6,
"name": "Lexical variant",
"comment": "When the non-verbal fixed parts of two VMWEs with identical meaning differ from each other in terms of content words. Differences in verb valency are captured with semantic relations. This is a symmetrical and a transitive relation.\r\nExample: \r\nχάνω τα αυγά και τα καλάθια, χάνω τα αυγά και τα πασχάλια\r\nCodification\r\nLexical variant(χάνω τα αυγά και τα καλάθια, χάνω τα αυγά και τα πασχάλια)\r\nor\r\nLexical variant(χάνω τα αυγά και τα πασχάλια, χάνω τα αυγά και τα καλάθια)",
"tag": "LVA",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 6
}
},
{
"id": 6376,
"content": null,
"type": 1,
"subtype": null,
"mwe_id": 3081,
"related": 3033,
"idion_relation_category": {
"id": 1,
"name": "Synonym",
"comment": "When two or more VMWEs have similar or equivalent meaning and they can be constituted without significantly altering the meaning of the sentence.\r\nThis is a symmetrical and transitive relation.\r\n\r\nExample: \r\nέρχεται μια κεραμίδα σε κάποιον, έρχεται ο ουρανός σφοντύλι σε κάποιον\r\n\r\nEncoding: \r\nsynonym(έρχεται μια κεραμίδα σε κάποιον, έρχεται ο ουρανός σφοντύλι σε κάποιον) \r\nor\r\nsynonym(έρχεται ο ουρανός σφοντύλι σε κάποιον, έρχεται μια κεραμίδα σε κάποιον)",
"tag": "SYN",
"symmetry": 1,
"transitivity": 1,
"directionality": 0,
"inverted_relation_id": 1
}
}
]
},
"system": {
"messages": [],
"status": 200,
"status_text": "OK",
"errors": [],
"error_code": 0
}
}
Time: 0.67
select * from `idion_relation` order by `id` desc limit 5
Time: 0.7
select * from `idion_relation_category` where `idion_relation_category`.`id` in (1, 3, 6)
Request
Method: | GET |
Route: | api/idion/idion_relation/latest/{limit?} |
Example: | api/idion/idion_relation/latest/5 |
Route Parameter | Pattern | Requirement |
---|---|---|
limit | [0-9]+ | Optional |
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 |