AQL
1 program
Added 2025-11-07T13:50:29Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: ArangoDB Query Language
Provenance: commit 68eec5936e · authored 2025-11-07T14:50:29+01:00 · model google/gemini-2.5-pro
Sources mentioning this language
2 sources · pl_id:
pl/aqlRelated languages
LLM-contributed programs
Find top 5 active users by recommendations and relations
Provenance: commit 68eec5936e · authored 2025-11-07T14:50:29+01:00 · model google/gemini-2.5-pro · Temp 0.4
FOR u IN users
LET numRecommendations = LENGTH(
FOR r IN recommendations
FILTER r.userId == u._key
RETURN 1
)
LET numRelations = LENGTH(
FOR r IN relations
FILTER r.from == u._key || r.to == u._key
RETURN 1
)
FILTER numRecommendations > 2 && numRelations > 1
SORT numRecommendations DESC
LIMIT 5
RETURN {
user: u.name,
recommendations: numRecommendations,
relations: numRelations
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)