query-59e887ab56e5582dd047a810900eae60
Counting annotations in a time period: publication date 2013 earliest SELECT ?annotation ?term ?title ?date1 WHERE {?annotation wdt:P19 ?anchor. ?annotation wdt:P15 ?term. ?anchor wdt:P12 ?article. ?article wdt:P17 ?date. ?article wdt:P20 ?title. BIND (YEAR(?date) AS ?date1) FILTER (?date1 > 2012) }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#Counting annotations in a time period: publication date 2013 earliest
SELECT ?annotation ?term ?title ?date1
WHERE
{?annotation wdt:P19 ?anchor.
?annotation wdt:P15 ?term.
?anchor wdt:P12 ?article.
?article wdt:P17 ?date.
?article wdt:P20 ?title.
BIND (YEAR(?date) AS ?date1)
FILTER (?date1 > 2012)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?anchor")
v2("?annotation"):::projected
v5("?article")
v6("?date")
v8("?date1"):::projected
v4("?term"):::projected
v7("?title"):::projected
f0[["?date1 > '2012^^xsd:integer'"]]
f0 --> v8
v2 --"wdt:P19"--> v3
v2 --"wdt:P15"--> v4
v3 --"wdt:P12"--> v5
v5 --"wdt:P17"--> v6
v5 --"wdt:P20"--> v7
bind1[/"year-from-dateTime(?date)"/]
v6 --o bind1
bind1 --as--o v8