Anonymous

Basque Dictionaries: Difference between revisions

From LexBib
 
Line 15: Line 15:
(group_concat(distinct ?targetlang;SEPARATOR=",") as ?targetlangs)
(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 25: 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 ?sourcelangs ?targetlangs ?lcrLabel ?distr ?distrLabel ?distrdate ?authors
group by ?lcr ?sourcelangs ?targetlangs ?lcrLabel # ?distr ?distrLabel  
?distrdate ?authors
order by ?lcrLabel ?distrdate
order by ?lcrLabel ?distrdate
</sparql>
</sparql>