Difference between revisions of "Form:Concept"
From TDWG Terms Wiki
m (added #formlink: form=Concept scheme class) |
m (fix formlink) |
||
Line 40: | Line 40: | ||
-->{{{field|concept type|mandatory|input type=dropdown|values=class,property,annotation property,value,data type,undecided|default=property|show on select=class=>id_is_class;annotation property=>id_is_annotation_property;property=>id_is_property}}}<!-- | -->{{{field|concept type|mandatory|input type=dropdown|values=class,property,annotation property,value,data type,undecided|default=property|show on select=class=>id_is_class;annotation property=>id_is_annotation_property;property=>id_is_property}}}<!-- | ||
-->{{#info: message=The semantic web distinguishes between different kinds of concepts (class, property, instance/value, etc.) You can create concepts and leave this decision open (select "undecided"). Another worker can then add the information at a later time.}}<!-- | -->{{#info: message=The semantic web distinguishes between different kinds of concepts (class, property, instance/value, etc.) You can create concepts and leave this decision open (select "undecided"). Another worker can then add the information at a later time.}}<!-- | ||
− | --><span id="id_class" style="display:none;">{{#formlink: form=Concept scheme class | + | --> <span id="id_class" style="display:none;">{{#formlink: form=Concept scheme class |
|target=Class:{{PAGENAME}} | |target=Class:{{PAGENAME}} | ||
|link type=link | |link type=link | ||
Line 46: | Line 46: | ||
|query string=<!-- | |query string=<!-- | ||
Testing Imported from drictly with {{#ask: [[Imported from::wrong-name-space]]}} produces a <span>SMW-error, not a void return as expected | Testing Imported from drictly with {{#ask: [[Imported from::wrong-name-space]]}} produces a <span>SMW-error, not a void return as expected | ||
− | generate query link e.g. "Concept scheme class[ | + | generate query link e.g. "Concept scheme class[imported from]=rdfs:Class&" |
− | -->{{#ask: [[MediaWiki:Smw import {{#explode: {{PAGENAME}}|:|0}}]]|format=list|mainlabel=-|link=none|limit=1|intro=Concept scheme class[ | + | -->{{#ask: [[MediaWiki:Smw import {{#explode: {{PAGENAME}}|:|0}}]]|format=list|mainlabel=-|link=none|limit=1|intro=Concept scheme class[imported from]={{PAGENAME}}&|default=}}<!-- |
-->}}<!-- end formlink | -->}}<!-- end formlink | ||
-->. Warning: You have selected “Class”, but a property page ([{{fullurl: Property:{{PAGENAME}} }} Property:{{PAGENAME}}]) already exists. “Concept type=property” might be correct.</span><!-- | -->. Warning: You have selected “Class”, but a property page ([{{fullurl: Property:{{PAGENAME}} }} Property:{{PAGENAME}}]) already exists. “Concept type=property” might be correct.</span><!-- | ||
Line 83: | Line 83: | ||
else neither class nor property found -->|{{{field|concept type|mandatory|input type=dropdown|values=class,property,annotation property,value,data type,undecided|default=undecided|show on select=class=>id_is_class;annotation property=>id_is_annotation_property;property=>id_is_property}}}<!-- | else neither class nor property found -->|{{{field|concept type|mandatory|input type=dropdown|values=class,property,annotation property,value,data type,undecided|default=undecided|show on select=class=>id_is_class;annotation property=>id_is_annotation_property;property=>id_is_property}}}<!-- | ||
-->{{#info: message=The semantic web distinguishes between different kinds of concepts (class, property, instance/value, etc.) You can create concepts and leave this decision open (select "undecided"). Another worker can then add the information at a later time.}}<!-- | -->{{#info: message=The semantic web distinguishes between different kinds of concepts (class, property, instance/value, etc.) You can create concepts and leave this decision open (select "undecided"). Another worker can then add the information at a later time.}}<!-- | ||
− | --><span id="id_is_class" style="display:none;">{{#formlink: form=Concept scheme class | + | --> <span id="id_is_class" style="display:none;">{{#formlink: form=Concept scheme class |
|target=Class:{{PAGENAME}} | |target=Class:{{PAGENAME}} | ||
|link type=link | |link type=link | ||
Line 89: | Line 89: | ||
|query string=<!-- | |query string=<!-- | ||
Testing Imported from drictly with {{#ask: [[Imported from::wrong-name-space]]}} produces a <span>SMW-error, not a void return as expected | Testing Imported from drictly with {{#ask: [[Imported from::wrong-name-space]]}} produces a <span>SMW-error, not a void return as expected | ||
− | generate query link e.g. "Concept scheme class[ | + | generate query link e.g. "Concept scheme class[imported from]=rdfs:Class&" |
− | -->{{#ask: [[MediaWiki:Smw import {{#explode: {{PAGENAME}}|:|0}}]]|format=list|mainlabel=-|link=none|limit=1|intro=Concept scheme class[ | + | -->{{#ask: [[MediaWiki:Smw import {{#explode: {{PAGENAME}}|:|0}}]]|format=list|mainlabel=-|link=none|limit=1|intro=Concept scheme class[imported from]={{PAGENAME}}&|default=}}<!-- |
-->}}</span><!-- | -->}}</span><!-- | ||
--><span id="id_is_property" style="display:none;">{{#formlink: form=Property setting | --><span id="id_is_property" style="display:none;">{{#formlink: form=Property setting |
Revision as of 13:31, 7 January 2013
This is the "Concept" form. To create a page with this form, enter the page name below. If a page with that name already exists, this page will be opened in the form.