query-0520217db94b2f0024df0a8ed3731b01

rq turtle/ttl

Copyright duration by country SELECT ?country ?countryLabel ?setOfCountries ?setOfCountriesLabel WHERE {
?setOfCountries wdt:P279 wd:Q108698760 . # Look for sets of countries (grouped by copyright duration) that are a subclass of countries with a post mortem auctoris copyright.
?setOfCountries wdt:P1001 ?country. # Find each country inside each set of countries. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ASC(?countryLabel) # Show all countries in alphabetical order with their copyright duration.

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#>
# Copyright duration by country
SELECT ?country ?countryLabel ?setOfCountries ?setOfCountriesLabel
WHERE {  
  ?setOfCountries wdt:P279 wd:Q108698760 . # Look for sets of countries (grouped by copyright duration) that are a subclass of countries with a post mortem auctoris copyright.        
  ?setOfCountries wdt:P1001 ?country. # Find each country inside each set of countries.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ASC(?countryLabel)  # Show all countries in alphabetical order with their copyright duration.

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?country"):::projected v1("?countryLabel"):::projected v2("?setOfCountries"):::projected c5(["bd:serviceParam"]):::iri c2(["wd:Q108698760"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"wdt:P279"--> c2 v2 --"wdt:P1001"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end