Difference between revisions of "Template:Data Property Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Generic Data Property" template.
+
This is the "Data Property Definition" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Generic Data Property
+
{{Data Property Definition
|Property Name=
+
|Pattern=
 +
|Subproperty Of=
 
|Property Description=
 
|Property Description=
|Term Status=
+
|Required By Use Cases=
|Definition=
+
|Interface Specification References=
 +
|Sources=
 +
|Definition Status=
 
|SubDataProperty=
 
|SubDataProperty=
 
}}
 
}}
Line 13: Line 16:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#default_form:Generic Data Property}}
+
{{lowercase}}
==Name==
+
{{#default_form:Data Property Definition}}
{{{Property Name|}}}
+
 
 +
== Pattern ==
 +
This property has been associated with the following pattern:
 +
{{#arraymap:{{{Pattern|}}}|,|x|[[x]]}}
 +
 
 +
== Subproperty Of ==
 +
{{#arraymap:{{{Subproperty Of|}}}|,|x|[[Owl:SubDataPropertyOf::x]]}}
 +
 
 +
==Definition==
 +
(what distinguishes this sense of the term?).
  
==Description==
 
 
{{{Property Description|}}}
 
{{{Property Description|}}}
  
==Status==
+
== Required by Use Case(s) ==
[[Term status::{{{Term Status|}}}]]
+
(why is this specialized definition needed?)
 +
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
 +
{{#ask:[[RequiresDataProperty::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]]|format=list}}
 +
 
 +
== CDM References ==
 +
What other classes or properties reference this term?
 +
{{Special:WhatLinksHere/{{PAGENAME}}}}
  
==Definition==
+
== Interface Specification References ==
{{{Definition|}}}
+
This property has been associated with the following interface specification items:
 +
{{#arraymap:{{{Interface Specification References|}}}|,|x|[[x]]}}
  
==SubDataProperties==
+
== Sources ==
{{#ask: [[Owl:SubDataProperty::{{PAGENAME}}]]
+
Sources considered when developing the property.
|format=ul
+
{{{Sources|}}}
|limit=50
 
|offset=0
 
|link=all
 
|sort=
 
|order=asc
 
|headers=show
 
|searchlabel=... further results
 
|propsep=,
 
|valuesep=,
 
}}
 
  
<!-- show option to propose subdata property if the generic property is pending approval or approved -->
+
==Status==
{{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=SubDataProperty_Definition|query string=SubDataProperty_Definition[SubDataProperty Of]={{PAGENAME}}|button text=submit}} | }}
+
[[Term status::{{{Definition Status|}}}]]
  
{{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=SubDataProperty_Definition|query string=SubDataProperty_Definition[SubDataProperty Of]={{PAGENAME}}|button text=submit}} | }}
+
== Has SubDataProperties ==
 +
{{#arraymap:{{{SubDataProperty|}}}|,|x|[[-Owl:SubDataPropertyOf::x]]}}
 +
{{#forminput:form=Data_Property_Definition|query string=Data_Property_Definition[Subproperty Of]={{PAGENAME}}|button text=submit}}
  
 
[[Category:DataProperty]]
 
[[Category:DataProperty]]
<comments />
+
[[Category:CDM_Term]]
  
 
</includeonly>
 
</includeonly>

Latest revision as of 16:38, 15 July 2022

This is the "Data Property Definition" template. It should be called in the following format:

{{Data Property Definition
|Pattern=
|Subproperty Of=
|Property Description=
|Required By Use Cases=
|Interface Specification References=
|Sources=
|Definition Status=
|SubDataProperty=
}}

Edit the page to see the template text.