XQuery
1 program
Added 2025-10-23T07:27:45Z
Model: google/gemini-2.5-proTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 6e0b956927 · authored 2025-10-23T09:27:45+02:00 · model google/gemini-2.5-pro
Sources mentioning this language
8 sources · pl_id:
pl/xqueryWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | declarative · functional · modular |
|---|---|
| Typing | dynamic or static, strong |
| Designed by | W3C |
| First appeared | 2007 |
| Influenced by | XPath · SQL · XSLT |
| Homepage | http://www.w3.org/XML/Query/ |
Extensions claimed by this language
15 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.xquery | linguist | primary | 39.2K files |
.xqy | pygments | primary | 45.7K files |
.xq | linguist | secondary | 163.3K files |
.xq | pygments | secondary | 163.3K files |
.xql | linguist | secondary | 62.2K files |
.xql | pygments | secondary | 62.2K files |
.xqm | linguist | secondary | 54.7K files |
.xqm | pygments | secondary | 54.7K files |
.xquery | pygments | secondary | 39.2K files |
.xqy | linguist | secondary | 45.7K files |
.xq | wikipedia | proposed | 163.3K files |
.xql | wikipedia | proposed | 62.2K files |
.xqm | wikipedia | proposed | 54.7K files |
.xquery | wikipedia | proposed | 39.2K files |
.xqy | wikipedia | proposed | 45.7K files |
Related languages
LLM-contributed programs
Recursive function to list database collection contents
Provenance: commit 6e0b956927 · authored 2025-10-23T09:27:45+02:00 · model google/gemini-2.5-pro · Temp 0.4
declare function local:list($collection as xs:string, $path as xs:string) {
let $resources := xmldb:get-child-resources($collection)
let $collections := xmldb:get-child-collections($collection)
return
(
for $res in $resources
return
<resource path="{$path || "/" || $res}">{$res}</resource>
,
for $col in $collections
return
<collection path="{$path || "/" || $col}">
{
local:list($collection || "/" || $col, $path || "/" || $col)
}
</collection>
)
};
local:list("/db", "")
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.)