Difference between revisions of "Sandbox"
From TDWG Terms Wiki
m (skos:inScheme, tagcloud, widget=sphere) |
m (Andreas Plank moved page sandbox to Sandbox over redirect: wrongly applied maintenance script cleanupCaps.php) |
||
(42 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This is Sandbox page to test things. Property test: [[testproperty::Dummypage]] | This is Sandbox page to test things. Property test: [[testproperty::Dummypage]] | ||
+ | |||
+ | <nowiki>{{</nowiki>Draw graphviz concept relation|concept=dcterms:rights}} | ||
+ | {{Draw graphviz concept relation|concept=dcterms:rights}} | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Collections within [[Darwin Core]]: | ||
+ | {{#ask: [[skos:inScheme::Darwin Core]] [[Class:Concept collection]] | ||
+ | |parent=skos:inScheme | ||
+ | |format=oltree | ||
+ | }} | ||
+ | ---- | ||
{{#ask:[[skos:inScheme::+]] | {{#ask:[[skos:inScheme::+]] | ||
|?skos:inScheme | |?skos:inScheme | ||
+ | |intro=<div style="border:1px solid gray;display:inline-block;"> | ||
+ | |outro=</div> | ||
|format=tagcloud | |format=tagcloud | ||
|headers=show | |headers=show | ||
Line 8: | Line 22: | ||
|widget=sphere | |widget=sphere | ||
|font=sans | |font=sans | ||
− | |height= | + | |height=300 |
+ | |width=300 | ||
+ | |limit=1000 | ||
}} | }} | ||
+ | |||
+ | {{#ask:[[vann:termGroup::+]] | ||
+ | |?vann:termGroup | ||
+ | |intro=<div style="border:1px solid gray;display:inline-block;"> | ||
+ | |outro=</div> | ||
+ | |format=tagcloud | ||
+ | |headers=show | ||
+ | |tagorder=alphabetical | ||
+ | |widget=wordcloud | ||
+ | |font=sans | ||
+ | |limit=1000 | ||
+ | |height=300 | ||
+ | |width=300 | ||
+ | }} | ||
+ | |||
+ | == Visualize relations == | ||
+ | |||
<div style="width:300px;margin:0px auto;text-align:center;"> | <div style="width:300px;margin:0px auto;text-align:center;"> | ||
<span style="padding:2px;border:1px solid gray;">[[skos:hiddenLabel]]</span><br/> | <span style="padding:2px;border:1px solid gray;">[[skos:hiddenLabel]]</span><br/> | ||
Line 16: | Line 49: | ||
</div> | </div> | ||
+ | === Trees === | ||
+ | |||
+ | |||
+ | '''Note:''' the ''oltree'' format needs class/subclass or properties/subproperties to show nested relations! | ||
<nowiki>{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]</nowiki> | <nowiki>{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]</nowiki> | ||
|format=oltree | |format=oltree | ||
Line 24: | Line 61: | ||
|parent=Subproperty of | |parent=Subproperty of | ||
}} | }} | ||
− | + | === Graphs === | |
<nowiki>{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]</nowiki> | <nowiki>{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]</nowiki> | ||
|?Subproperty of | |?Subproperty of | ||
|format=graph | |format=graph | ||
− | | graphname= | + | | graphname=<nowiki>{{PAGENAME}}</nowiki>digraph<!-- must be this way, depending on 'named' setting in [http://www.mediawiki.org/wiki/Extension:GraphViz Extension:GraphViz] --> |
− | | graphlink= | + | | graphlink=yes |
| arrowdirection=RL | | arrowdirection=RL | ||
}} | }} | ||
− | {{#ask: [[ | + | {{#ask: [[Class:Simple Knowledge Organization System]] [[rdfs:subPropertyOf::+]] |
− | |? | + | |?rdfs:subPropertyOf= |
|format=graph | |format=graph | ||
− | | | + | | graphlink=yes |
− | | | + | | graphcolor=1 |
+ | | graphlegend=1 | ||
| arrowdirection=RL | | arrowdirection=RL | ||
+ | | nameproperty=<!-- replace the display name --> | ||
+ | | graphsize=5,5! | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 11:09, 21 January 2020
This is Sandbox page to test things. Property test: Dummypage
{{Draw graphviz concept relation|concept=dcterms:rights}}
Collections within Darwin Core:
- Darwin Core Event
- Darwin Core FossilSpecimen
- Darwin Core GeologicalContext
- Darwin Core HumanObservation
- Darwin Core Identification
- Darwin Core LivingSpecimen
- Darwin Core Location
- Darwin Core MachineObservation
- Darwin Core Material Sample
- Darwin Core Measurement or Fact
- Darwin Core Occurrence
- Darwin Core Organism
- Darwin Core PreservedSpecimen
- Darwin Core Record-level Terms
- Darwin Core Resource Relationship
- Darwin Core Taxon
Loading...
Loading...
Visualize relations
Trees
Note: the oltree format needs class/subclass or properties/subproperties to show nested relations!
{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]] |format=oltree |parent=Subproperty of }}
- skos:scopeNote
- skos:broadMatch
- skos:broaderTransitive
- skos:changeNote
- skos:definition
- skos:editorialNote
- skos:example
- skos:mappingRelation
- skos:narrowerTransitive
- skos:related
Graphs
{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]] |?Subproperty of |format=graph | graphname={{PAGENAME}}digraph<!-- must be this way, depending on 'named' setting in Extension:GraphViz --> | graphlink=yes | arrowdirection=RL }}