Artist (E2)

From Rhizome Artbase
language codelabeldescriptionaliasesedit
enArtistedit
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix wd: <https://artbase.rhizome.org/entity/>
prefix wdt: <https://artbase.rhizome.org/prop/direct/>
prefix : <https://example.org/>

#SPARQL '''SELECT ?item ?itemLabel WHERE {
#  ?item wdt:P3* wd:Q6 .
#  SERVICE wikibase:label {
#    bd:serviceParam wikibase:language "en"
#  }
#} LIMIT 10'''@START

start=@<artist>

<artist> { 
wdt:P3 [wd:Q6 wd:Q7]+ 
// rdfs:comment "instance of [item:person] [item:collective]"
// rdfs:label "instance of person/collective" 
; 

wdt:P135 xsd:string 
// rdfs:comment "administrative property used to generate artists' lists sorted by 'lastname, firstname'"
// rdfs:label "sort by name" ;

wdt:P60 @<artwork>
// rdfs:comment "artwork [item: artwork main], [item: artwork main]"
// rdfs:label "artwork" ;

wdt:P17 IRI ?
// rdfs:comment "optional: official website [URL: of the website]"
// rdfs:label "official website" ;

wdt:P2 IRI ? 
// rdfs:comment "optional: (URLs only) used to link two concepts, indicating a high degree of confidence that the concepts can be used interchangeably (for Wikidata items primarily)"
// rdfs:label "exact match [wikidata item]" ;

wdt:P52 xsd:string ?
// rdfs:comment "optional: legacy serial id in Collective Access"
//rdfs:label "ca id" ;

}

<artwork> {
  wdt:P3 wd:Q5
// rdfs:comment "instance of artwork"
// rdfs:label "instance of artwork" ;  
}