| Line 120: |
Line 120: |
| | :::::: Du coup, je te sollicite pour le regroupement sur une même ligne https://tinyurl.com/wdfa9t2- Je n'y suis pas arrivée avec (group_concat(distinct ?concerns ; separator = ", ")) [[User:Genferei|Genferei]] ([[User talk:Genferei|talk]]) | | :::::: Du coup, je te sollicite pour le regroupement sur une même ligne https://tinyurl.com/wdfa9t2- Je n'y suis pas arrivée avec (group_concat(distinct ?concerns ; separator = ", ")) [[User:Genferei|Genferei]] ([[User talk:Genferei|talk]]) |
| | ::::::: {{reply_to|Genferei}} plein d'autres trucs a faire... tu me redemandes le 19 si tu n'arrives pas d ici la? [[User:Podehaye|Podehaye]] ([[User talk:Podehaye|talk]]) 15:49, 12 February 2020 (UTC) | | ::::::: {{reply_to|Genferei}} plein d'autres trucs a faire... tu me redemandes le 19 si tu n'arrives pas d ici la? [[User:Podehaye|Podehaye]] ([[User talk:Podehaye|talk]]) 15:49, 12 February 2020 (UTC) |
| | + | :::::::: Arrivée à moitié. J'ai modifié https://tinyurl.com/unvo24s pour avoir les résultats regroupés sur une même ligne https://tinyurl.com/rq5ju6t mais je perde le format notamment du titre de l'article, de la date, de l'hyperlien. Où est-ce que je foire? Merci [[User:Genferei|Genferei]] ([[User talk:Genferei|talk]]) 21:02, 25 February 2020 (UTC) |
| | + | ::::::::: {{reply_to|Genferei}} {{SPARQL|state=collapsed| |
| | + | query=#press media list |
| | + | #defaultView: |
| | + | SELECT ?item |
| | + | ?itemLabel |
| | + | (group_concat (distinct ?concernsLabel; separator = ", ") as ?subject) |
| | + | (group_concat (distinct ?mentionsLabel; separator = ", ") as ?mention) |
| | + | (group_concat (distinct ?date; separator = ", ") as ?date_of_publication) |
| | + | (group_concat (distinct ?link; separator = ", ") as ?URL) |
| | + | { |
| | + | SELECT ?item ?itemLabel ?concernsLabel ?mentionsLabel ?link ?date WHERE { |
| | + | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } |
| | + | ?item pdiot:P3 pdio:Q1206. #news |
| | + | OPTIONAL {?item pdiot:P15 ?link.} #official website |
| | + | OPTIONAL {?item pdiot:P100 ?date.} |
| | + | OPTIONAL {?item pdiot:P110 ?concerns.} |
| | + | OPTIONAL {?item pdiot:P152 ?mentions.} |
| | + | } |
| | + | } |
| | + | GROUP BY ?item ?itemLabel |
| | + | ORDER BY DESC(UCASE(str(?date_of_publication))) #antichronological |
| | + | }} |
| | + | :::::::::Ca va dans le bon sens [[User:Podehaye|Podehaye]] ([[User talk:Podehaye|talk]]) 22:41, 25 February 2020 (UTC) |
| | + | :::::::::: Top. Merci[[User:Genferei|Genferei]] ([[User talk:Genferei|talk]]) 08:18, 26 February 2020 (UTC) |