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)
 
(83 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This is Sandbox page to test things
+
This is Sandbox page to test things. Property test:  [[testproperty::Dummypage]]
  
Property test: [[testproperty::Dummypage]]
+
  <nowiki>{{</nowiki>Draw graphviz concept relation|concept=dcterms:rights}}
 +
{{Draw graphviz concept relation|concept=dcterms:rights}}
  
{{#ask: [[Class:Help]] | format = rdf}}
+
----
  
{{#forminput: form=Concept|size=50|default value=test concept form with preloaded data|query string=Concept_relation[1][relation]=skos: in scheme&Concept_relation[1][internal page]={{PAGENAME}}|button text=Create or edit page}}
+
Collections within [[Darwin Core]]:
{{#forminput: form=Concept|size=50|default value=test concept form with preloaded data|query string=|Concept_relation[1][relation]=skos: in scheme&Concept_relation[1][internal page]={{PAGENAME}}|button text=Create or edit page (no explicit query string)}}
+
{{#ask: [[skos:inScheme::Darwin Core]] [[Class:Concept collection]]
{{#forminput: form=Concept|size=50|default value=test concept form with preloaded data|query string=Concept_relation%5B1%5D%5Brelation%5D=skos:%20in%20scheme&Concept_relation%5B1%5D%5Binternal%20page%5D={{PAGENAME}}|button text=Create or edit page (URI encoded)}}
+
|parent=skos:inScheme
as popoups:
+
|format=oltree
{{#forminput: form=Concept|size=50|default value=test concept form with preloaded data|query string=Concept_relation[1][relation]=skos: in scheme&Concept_relation[1][internal page]={{PAGENAME}}|popup|button text=Create or edit page}}
+
}}
{{#forminput: form=Concept|size=50|default value=test concept form with preloaded data|query string=|Concept_relation[1][relation]=skos: in scheme&Concept_relation[1][internal page]={{PAGENAME}}|popup|button text=Create or edit page (no explicit query string)}}
+
----
{{#forminput: form=Concept|size=50|default value=test concept form with preloaded data|query string=Concept_relation%5B1%5D%5Brelation%5D=skos:%20in%20scheme&Concept_relation%5B1%5D%5Binternal%20page%5D={{PAGENAME}}|popup|button text=Create or edit page (URI encoded)}}
+
 
 +
{{#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;">
 +
<span style="padding:2px;border:1px solid gray;">[[skos:hiddenLabel]]</span><br/>
 +
<div style="margin:1ex auto">owl: disjoint with</div>
 +
<span style="padding:2px;border:1px solid gray;">[[skos:prefLabel]]</span> <span style="padding:2px;border:1px solid gray;">[[skos:altLabel]]</span>
 +
</div>
 +
 
 +
=== Trees ===
 +
 
 +
 
 +
'''Note:''' the ''oltree'' format needs class/subclass or properties/subproperties to show nested relations!
 +
<nowiki>{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]</nowiki>
 +
|format=oltree
 +
|parent=Subproperty of
 +
}}
 +
{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]
 +
|format=oltree
 +
|parent=Subproperty of
 +
}}
 +
=== Graphs ===
 +
<nowiki>{{#ask: [[Property:+]] [[Subproperty of::~*skos:*]]</nowiki>
 +
|?Subproperty of
 +
|format=graph
 +
| graphname=<nowiki>{{PAGENAME}}</nowiki>digraph&lt;!-- must be this way, depending on 'named' setting in [http://www.mediawiki.org/wiki/Extension:GraphViz Extension:GraphViz] -->
 +
| graphlink=yes
 +
| arrowdirection=RL
 +
}}
 +
{{#ask: [[Class:Simple Knowledge Organization System]] [[rdfs:subPropertyOf::+]]
 +
|?rdfs:subPropertyOf=
 +
|format=graph
 +
| graphlink=yes
 +
| graphcolor=1
 +
| graphlegend=1
 +
| 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:

  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