Difference between revisions of "Template:Object Property Definition"

From City Data Model Project Collaboratory
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Object Property Definition
 
{{Object Property Definition
|Property Name=
+
|Pattern=
 +
|Subproperty Of=
 
|Property Description=
 
|Property Description=
 
|Required By Use Cases=
 
|Required By Use Cases=
|Term Status=
+
|Interface Specification References=
|Definition=
+
|Sources=
|SubObjectProperty=
+
|Definition Status=
 +
|SubObjectProperties=
 
}}
 
}}
 
</pre>
 
</pre>
Line 16: Line 18:
 
{{lowercase}}
 
{{lowercase}}
 
{{#default_form:Object Property Definition}}
 
{{#default_form:Object Property Definition}}
==Property==
 
{{{Property Name|}}}
 
  
==Description==
+
== Pattern ==
{{{Property Description|}}}
+
This property has been associated with the following pattern:
 +
{{#arraymap:{{{Pattern|}}}|,|x|[[x]]}}
  
==Status==
+
== Subproperty Of ==
[[Term status::{{{Term Status|}}}]]
+
{{#arraymap:{{{Subproperty Of|}}}|,|x|[[Owl:SubObjectPropertyOf::x]]}}
  
 
==Definition==
 
==Definition==
{{{Definition|}}}
+
An English description of the definition (what distinguishes this sense of the term?).
 +
 
 +
{{{Property Description|}}}
  
 
== Required by Use Case(s) ==
 
== Required by Use Case(s) ==
 
(why is this specialized definition needed?)
 
(why is this specialized definition needed?)
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
+
{{#arraymap:{{{Required by Use Cases|}}}|,|x|[[RequiredByUseCase::x]]}}
{{#ask:[[RequiresObjectProperty::{{PAGENAME}}]] |format=list}}
+
{{#ask:[[RequiresObjectProperty::{{PAGENAME}}]] OR [[-RequiredByUseCase::{{PAGENAME}}]] |format=list}}
  
==SubObjectProperties==
+
== CDM References ==
{{#ask: [[Owl:SubObjectProperty::{{PAGENAME}}]]
+
What other classes or properties reference this term?
|format=ul
+
{{Special:WhatLinksHere/{{PAGENAME}}}}
|limit=50
+
 
|offset=0
+
== Interface Specification References ==
|link=all
+
This property has been associated with the following interface specification items:
|sort=
+
{{#arraymap:{{{Interface Specification References|}}}|,|x|[[x]]}}
|order=asc
+
 
|headers=show
+
== Sources ==
|searchlabel=... further results
+
Sources considered when developing the property.
|propsep=,
+
{{{Sources|}}}
|valuesep=,
 
}}
 
  
<!-- show option to propose subobject property if the generic property is pending approval or approved -->
+
==Status==
{{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }}
+
[[Term status::{{{Definition Status|}}}]]
  
{{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }}
+
== Has SubObjectProperties ==
 +
{{#arraymap:{{{SubObjectProperties|}}}|,|x|[[-Owl:SubObjectPropertyOf::x]]}}
 +
{{#forminput:form=Object_Property_Definition|query string=Object_Property_Definition[Subproperty Of]={{PAGENAME}}|button text=submit}}
  
 +
<!-- show option to propose subobject property if the generic property is pending approval or approved -->
 +
<!-- {{#ifeq: {{{Term Status|}}} | Pending Approval | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }} -->
  
 +
<!-- {{#ifeq: {{{Term Status|}}} | Approved | {{#forminput:form=SubObjectProperty_Definition|query string=SubObjectProperty_Definition[SubObjectProperty Of]={{PAGENAME}}|button text=submit}} | }} -->
  
 
[[Category:ObjectProperty]]
 
[[Category:ObjectProperty]]
 
[[Category:CDM_Term]]
 
[[Category:CDM_Term]]
<comments />
+
 
 
</includeonly>
 
</includeonly>

Latest revision as of 16:39, 15 July 2022

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

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

Edit the page to see the template text.