Artwork (E1)

From Rhizome Artbase
language codelabeldescriptionaliasesedit
enArtworkartwork by [artist name]edit
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:Q5 .
#  SERVICE wikibase:label {
#    bd:serviceParam wikibase:language "en"
#  }
#} LIMIT 10'''@START

start=@<artwork>

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

wdt:P29 @<artist>
// rdfs:comment "artist [item:person] [item:collective]"
// rdfs:label "artist is (person/collective)";

wdt:P26 xsd:dateTime 
// rdfs:comment "inception [date]"
// rdfs:label "inception";

wdt:P123 @<description> ? 
// rdfs:comment "description [item:summary description of], [item:Description of]"
// rdfs:label "description";

wdt:P45 @<variant> ? 
// rdfs:comment "has variant [item: variants] [item: static files]"
// rdfs:label "has variant";

wdt:P129 @<typeOfAccession> ? 
// rdfs:comment "type of accession [item: type of accession]"
// rdfs:label "type of accession";

wdt:P85 xsd:dateTime 
// rdfs:comment "date of accession [date]"
// rdfs:label "date of accession";

wdt:P126 [ <https://artbase.rhizome.org/wiki/File:>~ ] * 
// rdfs:comment "image [link to image]"
// rdfs:label "image";

wdt:P30 xsd:string 
// rdfs:comment "optional: serial id in the classic Artbase database"
// rdfs:label "artbase legacy id";

wdt:P31 xsd:string 
// rdfs:comment "optional: identifier used in Rhizome's Collective Access instance"
// rdfs:label "collective access legacy id";

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

wdt:P49 xsd:string 
// rdfs:comment "canonical unique string identifier"
// rdfs:label "slug";

wdt:P48 xsd:string 
// rdfs:comment "optional: keywords from classic Artbase"
// rdfs:label "artbase legacy tags";
}

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

<description> {
wdt:P3 [wdt:Q9759 wdt:Q4985]
// rdfs:comment "instance of description [item:summary description of], [item:Description of]"
// rdfs:label "instance of description";
}

<variant> {
wdt:P3 [wd:Q1168 wd:Q11992]+
// rdfs:comment "instance of variants/static files"
// rdfs:label "instance of variant";
}

<typeOfAccession> {
wdt:P3 wd:Q11996
// rdfs:comment "instance of [item: type of accession]"
// rdfs:label "instance of accession";
}