Difference between revisions of "Template:Concept scheme/RDF resource link"
From TDWG Terms Wiki
(added skos:exactMatch for export) |
m (fix extracting the link) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <includeonly>{{#explode:<!-- |
− | + | cut after link before " " | |
− | + | -->{{#explode:<!-- | |
+ | cut after "[" | ||
+ | -->{{#ask: <q>[[Category: {{#if: {{{1|}}}| {{{1|}}} | {{PAGENAME}} }}]] [[Category:Concept]]</q> OR [[{{#if: {{{1|}}}| {{{1|}}} | {{PAGENAME}} }}]] | ||
|?Class | |?Class | ||
|?Modification date | |?Modification date | ||
Line 38: | Line 40: | ||
|format=rdf | |format=rdf | ||
}}<!-- #ask | }}<!-- #ask | ||
− | + | -->|[|1}}<!-- #explode [ at ------v | |
− | + | <span class="...">[URL | |
− | + | -->| |0}}<!-- #explode ' ' at ------v | |
+ | F%29&offset=0 Combined query of #ask (RDF) | ||
+ | --></includeonly><noinclude> | ||
Generates a RDF resource link for exporting a whole [[Template:Concept scheme|concept scheme]]. Parameter of the template: | Generates a RDF resource link for exporting a whole [[Template:Concept scheme|concept scheme]]. Parameter of the template: | ||
: <code>1 =</code> (optional) another concept scheme page name specified to export from (if this is not given then <nowiki>{{PAGENAME}}</nowiki> is assumed) | : <code>1 =</code> (optional) another concept scheme page name specified to export from (if this is not given then <nowiki>{{PAGENAME}}</nowiki> is assumed) |
Revision as of 13:13, 2 April 2016
Generates a RDF resource link for exporting a whole concept scheme. Parameter of the template:
-
1 =
(optional) another concept scheme page name specified to export from (if this is not given then {{PAGENAME}} is assumed)
The #ask query exports the following parameter:
|?Class |?Modification date |?concept type |?dc:identifier |?dc:publisher |?dwcattributes:abcdEquivalence |?dcterms:bibliographicCitation |?dcterms:contributor |?dcterms:description |?dcterms:identifier |?dcterms:issued |?dcterms:modified |?dcterms:replaces |?dcterms:title |?rdfs:isDefinedBy |?rdfs:subPropertyOf |?sioc:has_discussion |?skos:altLabel |?skos:closeMatch |?skos:exactMatch |?skos:definition |?skos:broader |?skos:narrower |?skos:example |?skos:inScheme |?skos:prefLabel |?terms-internal:isDefinedBy |?vann:preferredNamespacePrefix |?vann:preferredNamespaceUri |?vann:termGroup |?vann:usageNote |?vs:term status
… and generates the resource RDF link for Darwin Core: