PropertyChaining
From Semantic MediaWiki - Sandbox
Start from Berlin, show its chained properties:
Result | from Query Code | ||||
---|---|---|---|---|---|
Germany | {{#show: Berlin|?Located in}}
| ||||
Germany | {{#show: Berlin|?Located in#-}}
| ||||
Europe | {{#show: {{#show: Berlin|?Located in#-}} |?Has parent page}}
| ||||
Europe | {{#show: Berlin|?Located in.Has parent page}}
| ||||
This is the page about Europe.
|
{{: {{#show: {{#show: Berlin|?Located in#-}} |?Has parent page#-}} }}
| ||||
Hhappel, Kghbln, Mwjames, Test123abc, HoCoK31 | {{#show: {{#show: Berlin|?Located in#-}} |?Page author}}
| ||||
Berlin, Germany, Europe, Kghbln | {{#show: {{FULLPAGENAME}}|?Refer to}}
| ||||
100, -3 | {{#show: {{FULLPAGENAME}}|?Has number}}
| ||||
100, 1.2, -3, 1e2, .4e2 | {{#show: {{FULLPAGENAME}}|?Has text}}
| ||||
eg |
|
This page may refer to Berlin, Germany, Europe, User:Kghbln,...
This page has these numbers: 100, 1.2".2" can not be assigned to a declared number type with value 1., -3, 1e2, .4e2"." can not be assigned to a declared number type with value 400.,...
This page has these texts: 100, 1.2, -3, 1e2, .4e2,...
... more about "PropertyChaining"