Page MenuHomePhabricator

SPARQL: makers in a museum with more than one copyright representative
Open, Needs TriagePublic

Description

I would like a SPARQL query that tells me which painters and photographers (and subclasses of painters and photographers) that have works in the collection of the Museum Boijmans van Beuningen that have more than one copyright representative

Event Timeline

Just a quick start ... it still doesn't count the copyrights-reps yet

SELECT ?itemLabel ?professionLabel ?copyrightsrepLabel
WHERE {

?item wdt:P31 wd:Q5.
{?item wdt:P106 wd:Q33231} UNION {?item wdt:P106 wd:Q1028181}.
#{?profession wdt:P31 wd:Q33231} UNION {?profession wdt:P31 wd:Q1028181}
#?item wdt:P106 ?profession . 
?item wdt:P6379 wd:Q679527 .  #in collection -> Boymans van BeuningenP6275
?item wdt:P6275 ?copyrightsrep .
{service wikibase:label {bd:serviceParam wikibase:language "nl"}}

}