Difference between revisions of "Sandbox"

From TDWG Terms Wiki
Jump to: navigation, search
m
m
Line 6: Line 6:
 
{{#ask: [[terms-internal:conceptRelationDisplayText::+]] |link=none|format=list|order=ASC}}
 
{{#ask: [[terms-internal:conceptRelationDisplayText::+]] |link=none|format=list|order=ASC}}
  
Concept relation/ rdfs:subPropertyOf {{#ask: [[rdfs:subPropertyOf::+]] [[dcterms:accessRights]] |link=none|mainlabel=-|?rdfs:subPropertyOf#=}}
+
{| class="vertical-align-top"
 
+
|-
{{#ask: [[concept page::dcterms:accessRights]]<q>[[Concept relation::!~skos:inScheme]] [[Concept relation::!~skos:Collection]]</q> <!-- list mappings two -->
+
! Property approach
        |link=none
+
! subobject approach
        |?related URI#=URI
+
|-
        |?related page#
+
|
        |?Concept relation
+
# #ask for all global relations (defined on property pages)
        |?Concept relation display text
+
# step through each relation:
        |format=template
+
## check: #ask (this-relation-is-on-concept-<nowiki>{{PAGENAME}}</nowiki>)
        |template=Concept relation/return listelement from query
+
## resolve display text/property
      }}
+
# maintain:
 +
## property parameter on property pages manage what relations are evaluated
 +
## list of relations in [[Form:Concept]]
 +
|
 +
# #ask for relations specifically based on a <nowiki>{{PAGENAME}}</nowiki>
 +
# iterate over former ask result together with "format=template" to display results
 +
# maintain:
 +
##  list of relations in [[Template:Concept relation/relation to property]]
 +
##  list of relations in [[Form:Concept]]
 +
## ?
 +
|}

Revision as of 16:08, 15 October 2012

This is Sandbox page to test things

Property test: Dummypage


Property:rdfs:subPropertyOf, Property:biorel:adjacent to, Property:biorel:aligned with, Property:biorel:connected to, Property:biorel:derived by descent from, Property:biorel:derives from, Property:biorel:develops from, Property:biorel:develops from part of, Property:biorel:develops in, Property:biorel:develops into, Property:biorel:has habitat, Property:biorel:has part, Property:biorel:has participant, Property:biorel:has site of, Property:biorel:is bearer of, Property:biorel:is preceded by, Property:biorel:occurs in, Property:biorel:overlaps, Property:biorel:part of, Property:biorel:participates in, Property:biorel:precedes, Property:biorel:produced by, Property:biorel:produces, Property:biorel:spatially disjoint from, Property:biorel:surrounds, Property:biorel:variant of, Property:dcterms:hasPart, Property:dcterms:isPartOf, Property:owl:disjointWith, Property:owl:equivalentClass, Property:owl:equivalentProperty, Property:owl:inverseOf, Property:rdfs:seeAlso, Property:rdfs:subClassOf, Property:skos:broadMatch, Property:skos:closeMatch, Property:skos:exactMatch, Property:skos:mappingRelation, Property:skos:narrowMatch, Property:skos:relatedMatch, Property:vann:termGroup

Property approach subobject approach
  1. #ask for all global relations (defined on property pages)
  2. step through each relation:
    1. check: #ask (this-relation-is-on-concept-{{PAGENAME}})
    2. resolve display text/property
  3. maintain:
    1. property parameter on property pages manage what relations are evaluated
    2. list of relations in Form:Concept
  1. #ask for relations specifically based on a {{PAGENAME}}
  2. iterate over former ask result together with "format=template" to display results
  3. maintain:
    1. list of relations in Template:Concept relation/relation to property
    2. list of relations in Form:Concept
    3. …?