Différences entre les versions de « PropertyChaining »

De Semantic MediaWiki - Sandbox

 
Ligne 29 : Ligne 29 :
 
This page has these numbers: [[Has number::100]], [[Has number::1.2]], [[Has number::-3]], [[Has number::1e2]], [[Has number::.4e2]],...
 
This page has these numbers: [[Has number::100]], [[Has number::1.2]], [[Has number::-3]], [[Has number::1e2]], [[Has number::.4e2]],...
  
This page has these texts: [[Has text::100]]<!--, [[Has text::1.2]], [[Has text::-3]], [[Has text::1e2]], [[Has text::.4e2]],...-->
+
This page has these texts: [[Has text::100]], [[Has text::1.2]], [[Has text::-3]], [[Has text::1e2]], [[Has text::.4e2]],...
  
 
[[Category:Sandbox]]
 
[[Category:Sandbox]]

Dernière version du 8 janvier 2016 à 06:06

Start from Berlin, show its chained properties:

Result from Query Code
Germany {{#show: Berlin|?Located in}}
Germany {{#show: Berlin|?Located in#-}}
{{#show: {{#show: Berlin|?Located in#-}} |?Has parent page}}
{{#show: Berlin|?Located in.Has parent page}}
{{: }} {{: {{#show: {{#show: Berlin|?Located in#-}} |?Has parent page#-}} }}
{{#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”不能分配给公开的带值1的数字类型。, -3, 1e2, .4e2“.”不能分配给公开的带值400的数字类型。,...

This page has these texts: 100, 1.2, -3, 1e2, .4e2,...

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.