query-4443ffa8f1db865cd6ee55d83fec236a
Recent publications about the senses
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 ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/L1196802>
SELECT
?publication_date
?publication ?publicationLabel
(CONCAT("#work/", SUBSTR(STR(?publication), 32)) AS ?publicationUrl)
?topic ?topicLabel
(CONCAT("#topic/", SUBSTR(STR(?topic), 32)) AS ?topicUrl)
WHERE {
target: ontolex:sense / ( wdt:P5137 | wdt:P9970 ) ?topic .
?publication wdt:P921 ?topic ;
wdt:P577 ?publication_datetime .
BIND(xsd:date(?publication_datetime) AS ?publication_date)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,cs,da,de,sv". }
}
ORDER BY DESC(?publication_date)
LIMIT 200
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?publication"):::projected
v5("?publicationUrl")
v5("?publication_date"):::projected
v4("?publication_datetime")
v2("?topic"):::projected
v6("?topicUrl")
a1((" "))
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en,cs,da,de,sv"]):::literal
c1([http://www.wikidata.org/entity/L1196802]):::iri
c1 --"ontolex:sense"--> a1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P9970"--> v2
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P5137"--> v2
end
union0r <== or ==> union0l
end
v3 --"wdt:P921"--> v2
v3 --"wdt:P577"--> v4
bind0[/"http://www.w3.org/2001/XMLSchema#date(?publication_datetime)"/]
v4 --o bind0
bind0 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind1[/"concat('#work/',substring(str(?publication),'32^^xsd:integer'))"/]
v3 --o bind1
bind1 --as--o v5
bind2[/"concat('#topic/',substring(str(?topic),'32^^xsd:integer'))"/]
v2 --o bind2
bind2 --as--o v6