query-e48d04936afd6e759007a50ef23a1801
Query check copyright collective doesn't workHi all you experts, ]reply[12:59, 7 November 2016 (UTC)) talk (Mtmlan84For a project I am currently working on named Copyclear (www.copyclear.nl) we want to see whether there are artists that are in the public domain but that also are -unwarrantedly- being represented by copyright collectives. I have written the query below for it, but it is not working properly.. Could you help me out? Thank you so much!
Use at
- https://query.wikidata.org/sparql
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 DISTINCT ?person ?personLabel ?CBO ?CBOLabel ?country ?countryLabel
WHERE {
?person wdt:P106/wdt:P279* wd:Q483501 .
?person wdt:P463 ?CBO . # ... with an awarded(P166) statement
?person wdt:P1875 wd:Q2377084 .
?CBO wdt:P17 ?country
SERVICE wikibase:label { # ... include the labels
bd:serviceParam wikibase:language "nl,en" .
}
} ORDER BY ASC(?personLabel)
LIMIT 200
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?CBO"):::projected
v4("?country"):::projected
v2("?person"):::projected
v1("?personLabel"):::projected
a1((" "))
c9(["bd:serviceParam"]):::iri
c6(["wd:Q2377084"]):::iri
c11(["nl,en"]):::literal
c3(["wd:Q483501"]):::iri
v2 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c3
v2 --"wdt:P463"--> v3
v2 --"wdt:P1875"--> c6
v3 --"wdt:P17"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end