Template:WDGettyCompQuery
This template is intended to be used by Wikidata:WikiProject Visual arts/Getty Vocabularies. For examples see the testcases at Template:WDGettyCompQuery/testcases (they might not all be fully implemented yet).
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikidata property | wdprop | P-ID of property at Wikidata
| String | required |
vocabulary | vocabulary | One of "aat", "ulan", "tgn"
| String | required |
SPARQL expression from Getty subject to object | subject to object subj2obj | It is required to set either this parameter or "gvppath".
| String | suggested |
Path from Getty subject to object | gvppath | Getty Vocabluars Program ontology path that translates to the Wikidata property
| String | deprecated |
domain addition | domain addition | additional SPARQL code to be added in the domain selection, e.g. to narrow down the domain to humans
| String | optional |
Mapping of values at Getty endpoint | valuemapping getty | no description
| String | optional |
Mapping of values at WD endpoint | valuemapping wd | no description
| String | optional |
Limit of IDs | limit | Maximum number of IDs fed to the Getty Vocabulary Program SPARQL endpoint
| Number | optional |
action | action | (NOT YET IMPLEMENTED) One of "add first reference", "add first reliable reference", "add first vocabulary reference", "add statement", "find mismatch"
| String | suggested |
output | output | What the template and the SPARQL query shall output: one of "QSv1", "QScsv" and planned: "nice-QS" (human-readable table presented by Template:SPARQL with QS link), "wdlist", "wdlistraw" (both to be subst:'ed). Default is a human-readable table presented by Template:SPARQL
| String | optional |
short | short | If set to "yes" the display of the query code will be suppressed.
| String | optional |
label | label | Text to be used as the label of the link to the Wikidata Query Service. If the parameter "short" and "output" are set the content of "output" is default, otherwise an internationalized version of "Try it!" is default. | Content | optional |
state | state | "state" parameter from Template:SPARQL, either "collapsed" or "expanded", ignored with output "wdlist" or "wdlistraw"
| String | optional |