Difference between revisions of "Sandbox"

From TDWG Terms Wiki
Jump to: navigation, search
m
m (Andreas Plank moved page sandbox to Sandbox over redirect: wrongly applied maintenance script cleanupCaps.php)
 
(56 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::+]]
 +
|?skos:inScheme
 +
|intro=<div style="border:1px solid gray;display:inline-block;">
 +
|outro=</div>
 +
|format=tagcloud
 +
|headers=show
 +
|tagorder=alphabetical
 +
|widget=sphere
 +
|font=sans
 +
|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;">
Line 7: Line 49:
 
</div>
 
</div>
  
<graphviz border='frame' format='png'>
+
=== Trees ===
digraph example2 {Hello->"World!"}
+
 
</graphviz>
+
  
<graphviz caption='Hello SVG and PNG' alt='phylogenetic tree' format='png'>
+
'''Note:''' the ''oltree'' format needs class/subclass or properties/subproperties to show nested relations!
digraph G {
+
<nowiki>{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]</nowiki>
                node [shape=plaintext];
+
|format=oltree
                Mollusca [URL="Mollusca"];
+
|parent=Subproperty of
                Neomeniomorpha [URL="Neomeniomorpha"];
+
}}
                X1 [shape=point,label=""];
+
{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]
                Caudofoveata [URL="Caudofoveata"];
+
|format=oltree
                Testaria [URL="Testaria"];
+
|parent=Subproperty of
                Polyplacophora [URL="Polyplacophora"];
+
}}
                Conchifera [URL="Conchifera"];
+
=== Graphs ===
                Tryblidiida [URL="Tryblidiida"];
+
<nowiki>{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]</nowiki>
                Ganglioneura [URL="Ganglioneura"];
+
|?Subproperty of
                Bivalvia [URL="Bivalvia"];
+
|format=graph
                X2 [shape=point,label=""];
+
| graphname=<nowiki>{{PAGENAME}}</nowiki>digraph&lt;!-- must be this way, depending on 'named' setting in [http://www.mediawiki.org/wiki/Extension:GraphViz Extension:GraphViz] -->
                X3 [shape=point,label=""];
+
| graphlink=yes
                Scaphopoda [URL="Scaphopoda"];
+
| arrowdirection=RL
                Cephalopoda [URL="Cephalopoda"];
+
}}
                Gastropoda [URL="Gastropoda"];
+
{{#ask: [[Class:Simple Knowledge Organization System]] [[rdfs:subPropertyOf::+]]
                Mollusca->X1->Testaria->Conchifera->Ganglioneura->X2->Gastropoda
+
|?rdfs:subPropertyOf=
                Mollusca->Neomeniomorpha
+
|format=graph
                X1->Caudofoveata
+
| graphlink=yes
                Testaria->Polyplacophora
+
| graphcolor=1
                Conchifera->Tryblidiida
+
| graphlegend=1
                Ganglioneura ->Bivalvia
+
| arrowdirection=RL
                X2->X3->Cephalopoda
+
| nameproperty=<!-- replace the display name -->
                X3->Scaphopoda
+
| graphsize=5,5!
}
+
}}
</graphviz>
+

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:

  1. Darwin Core Event
  2. Darwin Core FossilSpecimen
  3. Darwin Core GeologicalContext
  4. Darwin Core HumanObservation
  5. Darwin Core Identification
  6. Darwin Core LivingSpecimen
  7. Darwin Core Location
  8. Darwin Core MachineObservation
  9. Darwin Core Material Sample
  10. Darwin Core Measurement or Fact
  11. Darwin Core Occurrence
  12. Darwin Core Organism
  13. Darwin Core PreservedSpecimen
  14. Darwin Core Record-level Terms
  15. Darwin Core Resource Relationship
  16. Darwin Core Taxon

Visualize relations

skos:hiddenLabel

owl: disjoint with

skos:prefLabel skos:altLabel

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
}}
  1. skos:scopeNote
  2. skos:broadMatch
  3. skos:broaderTransitive
  4. skos:changeNote
  5. skos:definition
  6. skos:editorialNote
  7. skos:example
  8. skos:mappingRelation
    1. skos:broadMatch
    2. skos:closeMatch
    3. skos:narrowMatch
    4. skos:relatedMatch
  9. skos:narrowerTransitive
    1. skos:narrower
      1. skos:narrowMatch
  10. skos:related
    1. skos:relatedMatch

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
}}
  
skos:altLabelhttp://terms.tdwg.org/wiki/rdfs:label
skos:broadMatchhttp://terms.tdwg.org/wiki/skos:mappingRelation
http://terms.tdwg.org/wiki/skos:broader
skos:broaderTransitivehttp://terms.tdwg.org/wiki/skos:semanticRelation
skos:changeNotehttp://terms.tdwg.org/wiki/skos:note
skos:closeMatchhttp://terms.tdwg.org/wiki/skos:mappingRelation
skos:definitionhttp://terms.tdwg.org/wiki/skos:note
skos:editorialNotehttp://terms.tdwg.org/wiki/skos:note
skos:examplehttp://terms.tdwg.org/wiki/skos:note
skos:hiddenLabelhttp://terms.tdwg.org/wiki/rdfs:label
skos:historyNotehttp://www.w3.org/2004/02/skos/core#note
skos:historyNotehttp://www.w3.org/2004/02/skos/core#note
skos:inSchemehttp://terms.tdwg.org/wiki/owl:ObjectProperty
skos:mappingRelationhttp://terms.tdwg.org/wiki/skos:semanticRelation
skos:narrowMatchhttp://terms.tdwg.org/wiki/skos:mappingRelation
http://terms.tdwg.org/wiki/skos:narrower
skos:narrowerhttp://terms.tdwg.org/wiki/skos:narrowerTransitive
skos:narrowerTransitivehttp://terms.tdwg.org/wiki/skos:semanticRelation
skos:prefLabelhttp://terms.tdwg.org/wiki/rdfs:label
skos:relatedhttp://terms.tdwg.org/wiki/skos:semanticRelation
skos:relatedMatchhttp://terms.tdwg.org/wiki/skos:mappingRelation
http://terms.tdwg.org/wiki/skos:related
skos:scopeNotehttp://terms.tdwg.org/wiki/skos:note