query-e8e671bceb0b63e3561956a63b3f95dc
Newest words
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT
(xsd:date(?earliest_publication_datetime) AS ?publication_date)
?lexeme
(?lemma AS ?lexemeLabel)
(CONCAT("#lexeme/", SUBSTR(STR(?lexeme), 32)) AS ?lexemeUrl)
?lexical_category ?lexical_categoryLabel
(CONCAT("#lexicalcategory/", SUBSTR(STR(?lexical_category), 32)) AS ?lexical_categoryUrl)
?language ?languageLabel
(CONCAT("#language/", SUBSTR(STR(?language), 32)) AS ?languageUrl)
WHERE {
{
SELECT
(MIN(?publication_datetime) AS ?earliest_publication_datetime)
?lexeme
WHERE {
?lexeme dct:language [] ;
(wdt:P5323 / wdt:P577) | (p:P5323 / pq:P577) ?publication_datetime .
}
GROUP BY ?lexeme
ORDER BY DESC(?earliest_publication_datetime)
LIMIT 100
} ?lexeme dct:language ?language ;
wikibase:lexicalCategory ?lexical_category ;
wikibase:lemma ?lemma .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?publication_date)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?earliest_publication_datetime"):::projected
v5("?language"):::projected
v11("?languageUrl")
v7("?lemma"):::projected
v3("?lexeme"):::projected
v8("?lexemeLabel")
v9("?lexemeUrl")
v6("?lexical_category"):::projected
v10("?lexical_categoryUrl")
v8("?publication_date")
v4("?publication_datetime")
a1((" "))
a2((" "))
a3((" "))
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v3 --"dct:language"--> a1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v3 --"p:P5323"--> a3
a3 --"p:qualifier/P577"--> v4
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"p:direct/P5323"--> a2
a2 --"p:direct/P577"--> v4
end
union0r <== or ==> union0l
end
bind1[/"min(?publication_datetime)"/]
v4 --o bind1
bind1 --as--o v5
v3 --"dct:language"--> v5
v3 --"wikibase:lexicalCategory"--> v6
v3 --"wikibase:lemma"--> v7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind2[/"http://www.w3.org/2001/XMLSchema#date(?earliest_publication_datetime)"/]
v5 --o bind2
bind2 --as--o v8
bind3[/"?lemma"/]
v7 --o bind3
bind3 --as--o v8
bind4[/"concat('#lexeme/',substring(str(?lexeme),'32^^xsd:integer'))"/]
v3 --o bind4
bind4 --as--o v9
bind5[/"concat('#lexicalcategory/',substring(str(?lexical_category),'32^^xsd:integer'))"/]
v6 --o bind5
bind5 --as--o v10
bind6[/"concat('#language/',substring(str(?language),'32^^xsd:integer'))"/]
v5 --o bind6
bind6 --as--o v11