Différences entre les versions de « Daren Welsh »
De Semantic MediaWiki - Sandbox
(added examples of inverse properties using show) |
|||
Ligne 5 : | Ligne 5 : | ||
* [[Has child::Jill]] | * [[Has child::Jill]] | ||
− | == Demo of Inverse Properties == | + | == Demo of Inverse Properties using ask == |
Output of <nowiki>{{#ask: [[-Has father::Daren Welsh]] }}</nowiki>: | Output of <nowiki>{{#ask: [[-Has father::Daren Welsh]] }}</nowiki>: | ||
{{#ask: [[-Has father::Daren Welsh]] }} | {{#ask: [[-Has father::Daren Welsh]] }} | ||
Ligne 11 : | Ligne 11 : | ||
Output of <nowiki>{{#ask: [[-Has child::Daren Welsh]] }}</nowiki>: | Output of <nowiki>{{#ask: [[-Has child::Daren Welsh]] }}</nowiki>: | ||
{{#ask: [[-Has child::Daren Welsh]] }} | {{#ask: [[-Has child::Daren Welsh]] }} | ||
+ | |||
+ | == Demo of Inverse Properties using show == | ||
+ | Output of <nowiki>{{#show: -Has father::Daren Welsh }}</nowiki>: | ||
+ | {{#show: -Has father::Daren Welsh }} | ||
+ | |||
+ | Output of <nowiki>{{#show: -Has child::Daren Welsh }}</nowiki>: | ||
+ | {{#show: -Has child::Daren Welsh }} |
Version du 12 juillet 2017 à 10:23
Fake father for demonstration: Humpty Dumpty
Fake list of children for demonstration:
Demo of Inverse Properties using ask
Output of {{#ask: [[-Has father::Daren Welsh]] }}: Humpty Dumpty
Output of {{#ask: [[-Has child::Daren Welsh]] }}: Jack, Jill
Demo of Inverse Properties using show
Output of {{#show: -Has father::Daren Welsh }}:
Output of {{#show: -Has child::Daren Welsh }}: