query-0794d64afe93ed84bebf21e6dc363559

rq turtle/ttl

Authors (EU) who enter public domain in given yearThis is probably already wrong. I am not a lawyer.) (Limited to EU countries because otherwise the rules get way too complex. authors whose works should have entered the public domain on January 1st this year. This query finds all EU authors who died 71 years ago, that is, In many countries (here: EU countries), copyright extends for 70 years after the author’s death.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?author ?authorLabel ?country_of_citizenship ?country_of_citizenshipLabel WHERE {
  ?author wdt:P31 wd:Q5;
    wdt:P106 wd:Q482980;
    wdt:P27 _:b1.
  _:b1 wdt:P463 wd:Q458.
  ?author wdt:P570 ?died.
  FILTER((YEAR(?died)) = ((YEAR(NOW())) - 71 ))
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
  OPTIONAL { ?author wdt:P27 ?country_of_citizenship. }
}
ORDER BY (?authorLabel)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?author"):::projected v1("?authorLabel"):::projected v4("?country_of_citizenship"):::projected v2("?died") a1((" ")) c13(["en"]):::literal c11(["bd:serviceParam"]):::iri c5(["wd:Q482980"]):::iri c8(["wd:Q458"]):::iri c3(["wd:Q5"]):::iri f0[["year-from-dateTime(?died) = year-from-dateTime(NOW()) - '71^^xsd:integer'"]] f0 --> v2 v3 --"wdt:P31"--> c3 v3 --"wdt:P106"--> c5 v3 --"wdt:P27"--> a1 a1 --"wdt:P463"--> c8 v3 --"wdt:P570"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."wdt:P27".-> v4 end