12,303
edits
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
select ?lcr | select ?lcr | ||
?sourcelang ?targetlang | (group_concat(distinct ?sourcelang;SEPARATOR=",") as ?sourcelangs) | ||
(group_concat(distinct ?targetlang;SEPARATOR=",") as ?targetlangs) | |||
(strafter(str(?lcr), "https://lexbib.elex.is/entity/") as ?lcrqid) ?lcrLabel | (strafter(str(?lcr), "https://lexbib.elex.is/entity/") as ?lcrqid) ?lcrLabel | ||
?distr (strafter(str(?distr), "https://lexbib.elex.is/entity/") as ?distrqid) ?distrLabel | # ?distr (strafter(str(?distr), "https://lexbib.elex.is/entity/") as ?distrqid) ?distrLabel | ||
(YEAR(?distrdate) as ?date) | (YEAR(?distrdate) as ?date) | ||
(group_concat(distinct ?authorname; SEPARATOR="; ") as ?authors) | (group_concat(distinct ?authorname; SEPARATOR="; ") as ?authors) | ||
Line 24: | Line 25: | ||
?sourcelangitem ldp:P32 ?sourcelang. ?targetlangitem ldp:P32 ?targetlang.} | ?sourcelangitem ldp:P32 ?sourcelang. ?targetlangitem ldp:P32 ?targetlang.} | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }} | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }} | ||
group by ?lcr ? | group by ?lcr ?sourcelangs ?targetlangs ?lcrLabel # ?distr ?distrLabel | ||
?distrdate ?authors | |||
order by ?lcrLabel ?distrdate | order by ?lcrLabel ?distrdate | ||
<sparql> | </sparql> |