Test: Difference between revisions
From MaRDI portal
No edit summary |
No edit summary |
||
| Line 27: | Line 27: | ||
| templates= Test | | templates= Test | ||
| chart=bordercloud.visualization.DataTable | | chart=bordercloud.visualization.DataTable | ||
}} | |||
{{#sparql: | |||
SELECT ?taskLabel ?description WHERE { | |||
wd:Q3784 wdt:P847 ?task . | |||
?task wdt:P3 wd:Q3843 . | |||
?task rdfs:label ?taskLabel . | |||
?task schema:description ?description . | |||
} | |||
LIMIT 1 | |||
| templates=Test | |||
}} | }} | ||
Revision as of 15:12, 15 October 2024
Test
{{#sparql: select (YEAR(?date) as ?year) (CONCAT('<a href=\,?link,'\'>',?label,'</a>') as ?html) ?video
where {
?object wdt:P31 wd:Q11424 ;
wdt:P577 ?date ;
wdt:P10 ?video ;
rdfs:label ?label .
FILTER (langMatches(lang(?label), 'fr'))
BIND(replace( xsd:string(?object),
'http://www.wikidata.org/entity/',
'https://www.wikidata.org/wiki/Special:GoToLinkedPage/frwiki/') as ?link)
}
ORDER BY ASC(?date)
LIMIT 5
| config=http://www.wikidata.org | templates= Test | chart=bordercloud.visualization.DataTable }}
{{#sparql: SELECT ?taskLabel ?description WHERE {
wd:Q3784 wdt:P847 ?task . ?task wdt:P3 wd:Q3843 . ?task rdfs:label ?taskLabel . ?task schema:description ?description .
} LIMIT 1 | templates=Test }}