Regel 25: | Regel 25: | ||
{{#set:Heading={{#show:{{#var:varHeading}}}}}} |
{{#set:Heading={{#show:{{#var:varHeading}}}}}} |
||
<!-- make sure that the Skos:properties narrower and hasPart are bidirectional --> |
<!-- make sure that the Skos:properties narrower and hasPart are bidirectional --> |
||
− | {{#set:Skosem:narrower={{#ask: [[Category:SKOS Concept VN]] [[ |
+ | {{#set:Skosem:narrower={{#ask: [[Category:SKOS Concept VN]] [[Skosem:broader::{{#var:varPageName}}]] | link=none}}|+sep=,}} |
{{#set:Skosem:hasPart={{#ask: [[Category:SKOS Concept VN]] [[Skosem:partOf::{{#var:varPageName}}]] | link=none}}|+sep=,}} |
{{#set:Skosem:hasPart={{#ask: [[Category:SKOS Concept VN]] [[Skosem:partOf::{{#var:varPageName}}]] | link=none}}|+sep=,}} |
||
{{#set:Heading={{{Heading|}}}}} |
{{#set:Heading={{{Heading|}}}}} |
||
Regel 63: | Regel 63: | ||
<!--''Naam:'' {{#show: {{#show: {{#var:varPageName}} | ?Model link | link=none}} | ?Skos:prefLabel }}<br>--> |
<!--''Naam:'' {{#show: {{#show: {{#var:varPageName}} | ?Model link | link=none}} | ?Skos:prefLabel }}<br>--> |
||
''Alternatieve naam:'' {{#show: {{#show: {{#var:varPageName}} | ?Model link | link=none}} | ?Skos:altLabel }}<br> |
''Alternatieve naam:'' {{#show: {{#show: {{#var:varPageName}} | ?Model link | link=none}} | ?Skos:altLabel }}<br> |
||
− | ''Breder concept:'' {{#arraymap: {{#show:{{#var:varPageName}} | ?Skosem:broader | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
+ |
<!--''Breder concept:'' {{#arraymap: {{#show:{{#var:varPageName}} | ?Skosem:broader | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br>-->
|
− | ''Smaller concept:'' {{#arraymap: {{#ask: [[Category:SKOS Concept VN]] [[Skosem:broader::{{#var:varPageName}}]] | format=list | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
+ |
''Breder concept:'' {{#show:{{#var:varPageName}} | ?Skosem:broader }}<br> |
− | ''Onderdeel van:'' {{#arraymap: {{#show:{{#var:varPageName}} | ?Skosem:partOf | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
+ |
<!--''Smaller concept:'' {{#arraymap: {{#ask: [[Category:SKOS Concept VN]] [[Skosem:broader::{{#var:varPageName}}]] | format=list | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br>--> |
+ |
''Smaller concept:'' {{#show:{{#var:varPageName}} | ?Skosem:narrower }}<br>''Onderdeel van:'' {{#arraymap: {{#show:{{#var:varPageName}} | ?Skosem:partOf | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
||
''Bestaat uit:'' {{#arraymap: {{#ask: [[Category:SKOS Concept VN]] [[Skosem:partOf::{{#var:varPageName}}]] | format=list | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
''Bestaat uit:'' {{#arraymap: {{#ask: [[Category:SKOS Concept VN]] [[Skosem:partOf::{{#var:varPageName}}]] | format=list | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
||
''Gerelateerd concept:'' {{#arraymap: {{#show:{{#var:varPageName}} | ?Skos:related | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
''Gerelateerd concept:'' {{#arraymap: {{#show:{{#var:varPageName}} | ?Skos:related | link=none}}|,|@@@@| {{Convert link | Link name VN=@@@@}} }}<br> |
This is the "SKOS Concept show" template. It should be called in the following format:
{{SKOS Concept VN show |Page name= |Heading= }}
Edit the page to see the template text.