Difference between revisions of "Help:List of datatypes"

From BITPlan Wiki
Jump to: navigation, search
 
Line 8: Line 8:
 
!Query display using #- (plain)
 
!Query display using #- (plain)
 
|-
 
|-
|[[Special:Types/Annotation_URI|Annotation URI]]
 
|[[Property:Has annotation uri]]
 
|[[Has annotation_uri::https://www.semantic-mediawiki.org]]
 
|{{#show: {{FULLPAGENAME}} |?Has annotation uri }}
 
|{{#show: {{FULLPAGENAME}} |?Has annotation uri#- }}
 
|-
 
|[[Special:Types/Boolean|Boolean]]
 
|[[Property:Has boolean]]
 
|[[Has boolean::true]]
 
|{{#show: {{FULLPAGENAME}} |?Has boolean }}
 
|{{#show: {{FULLPAGENAME}} |?Has boolean#- }}
 
|-
 
|[[Special:Types/Code|Code]]
 
|[[Property:Has code]]
 
|[[Has code::Code
 
is preserved but variables are expanded, e.g:
 
{{FULLPAGENAME}}
 
is displayed as the name of this page instead of FULLPAGENAME]]
 
|{{#show: {{FULLPAGENAME}} |?Has code }}
 
|{{#show: {{FULLPAGENAME}} |?Has code#- }}
 
|-
 
|[[Special:Types/Date|Date]]
 
|[[Property:Has date]]
 
|[[Has date::2015-05-22T17:32]]
 
|{{#show: {{FULLPAGENAME}} |?Has date }}
 
|{{#show: {{FULLPAGENAME}} |?Has date#- }}
 
|-
 
|[[Special:Types/External_identifier|External_identifier]]
 
|[[Property:Has SMW issue ID]]
 
|[[Has SMW issue ID::1218]]
 
|{{#show: {{FULLPAGENAME}} |?Has SMW issue ID }}
 
|{{#show: {{FULLPAGENAME}} |?Has SMW issue ID#- }}
 
|-
 
|[[Special:Types/EMail|EMail]]
 
|[[Property:Has email address]]
 
|[[Has email address::president@whitehouse.gov]]
 
|{{#show: {{FULLPAGENAME}} |?Has email address }}
 
|{{#show: {{FULLPAGENAME}} |?Has email address#- }}
 
|-
 
|[[Special:Types/Geographic coordinates|Geographic coordinate]]
 
|[[Property:Has coordinates]]
 
|[[Has coordinates::32°42′54″ N, 117°9′45″ W]]
 
|{{#show: {{FULLPAGENAME}} |?Has coordinates }}
 
|{{#show: {{FULLPAGENAME}} |?Has coordinates#- }}
 
|-
 
|[[Special:Types/Keyword|Keyword]]
 
|[[Property:Has keyword]]
 
|[[Has keyword::TestKeyword]]
 
|{{#show: {{FULLPAGENAME}} |?Has keyword}}
 
|{{#show: {{FULLPAGENAME}} |?Has keyword#- }}
 
|-
 
|[[Special:Types/Number|Number]]
 
|[[Property:Has number]]
 
|[[Has number::47000.11]]
 
|{{#show: {{FULLPAGENAME}} |?Has number }}
 
|{{#show: {{FULLPAGENAME}} |?Has number#- }}
 
|-
 
|[[Special:Types/Monolingual_text|Monolingual text]]
 
|[[Property:Has mlt]]
 
|[[Has mlt::Monoglingual text in english@en]][[Has mlt::Einsprachiger Text auf Deutsch@de]][[Has mlt::Texte monoglinguel en français@fr]]
 
|{{#show: {{FULLPAGENAME}} |?Has mlt }}
 
|{{#show: {{FULLPAGENAME}} |?Has mlt#- }}
 
|-
 
|[[Special:Types/Page|Page]]
 
|[[Property:Has example]]
 
|[[Has example::Semantic MediaWiki]]
 
|{{#show: {{FULLPAGENAME}} |?Has example }}
 
|{{#show: {{FULLPAGENAME}} |?Has example#- }}
 
|-
 
|[[Special:Types/Quantity|Quantity]]
 
|[[Property:Area]]
 
|[[Area::1052km²]]
 
|{{#show: {{FULLPAGENAME}} |?Area }}
 
|{{#show: {{FULLPAGENAME}} |?Area#- }}
 
|-
 
|[[Special:Types/Reference|Reference]]
 
|[[Property:Has Wikidata reference]]
 
|[[Has Wikidata reference::Q190087;https://en.wikipedia.org/wiki/Data_type]]
 
|{{#show: {{FULLPAGENAME}} |?Has Wikidata reference }}
 
|{{#show: {{FULLPAGENAME}} |?Has Wikidata reference#- }}
 
|-
 
-
 
 
|[[Special:Types/Record|Record]]
 
|[[Special:Types/Record|Record]]
 
|[[Property:Soccer result]]
 
|[[Property:Soccer result]]
Line 95: Line 13:
 
|{{#show: {{FULLPAGENAME}} |?Soccer result }}
 
|{{#show: {{FULLPAGENAME}} |?Soccer result }}
 
|{{#show: {{FULLPAGENAME}} |?Soccer result#- }}
 
|{{#show: {{FULLPAGENAME}} |?Soccer result#- }}
|-
 
|[[Special:Types/Telephone number|Telephone number]]
 
|[[Property:Telephone number]]
 
|[[Telephone number::+1-800-225-5288]]
 
|{{#show: {{FULLPAGENAME}} |?Telephone number }}
 
|{{#show: {{FULLPAGENAME}} |?Telephone number#- }}
 
|-
 
|[[Special:Types/Temperature|Temperature]]
 
|[[Property:Has temperatureExample]]
 
|[[Has temperatureExample::23°C]]
 
|{{#show: {{FULLPAGENAME}} |?Has temperatureExample }}
 
|{{#show: {{FULLPAGENAME}} |?Has temperatureExample#- }}
 
|-
 
|[[Special:Types/Text|Text]]
 
|[[Property:SomeProperty]]
 
|[[SomeProperty::Did you create the page for Tokyo 東京 ? Yes ✓]]
 
|{{#show: {{FULLPAGENAME}} |?SomeProperty }}
 
|{{#show: {{FULLPAGENAME}} |?SomeProperty#- }}
 
|-
 
|[[Special:Types/URL|URL]]
 
|[[Property:Has_URL]]
 
|[[Has_URL::http://www.whitehouse.gov]]
 
|{{#show: {{FULLPAGENAME}} |?Has_URL }}
 
|{{#show: {{FULLPAGENAME}} |?Has_URL#- }}
 
 
|}
 
|}

Latest revision as of 12:18, 7 October 2019

see https://www.semantic-mediawiki.org/wiki/Help:List_of_datatypes

Datatype Property Example value Query display Query display using #- (plain)
Record Property:Soccer result 22 March 2015 (Bayern München, Borussia Mönchengladbach, 0, 2) 22 March 2015 (Bayern München, Borussia Mönchengladbach, 0, 2) 22 March 2015 (Bayern München, Borussia Mönchengladbach, 0, 2)