« Daren Welsh » : différence entre les versions
De Semantic MediaWiki - Sandbox
(init with fake data for demo) |
|||
(2 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 4 : | Ligne 4 : | ||
* [[Has child::Jack]] | * [[Has child::Jack]] | ||
* [[Has child::Jill]] | * [[Has child::Jill]] | ||
== Demo of Inverse Properties using ask == | |||
Output of <nowiki>{{#ask: [[-Has father::Daren Welsh]] }}</nowiki>: | |||
{{#ask: [[-Has father::Daren Welsh]] }} | |||
Output of <nowiki>{{#ask: [[-Has child::Daren Welsh]] }}</nowiki>: | |||
{{#ask: [[-Has child::Daren Welsh]] }} | |||
== Demo of Inverse Properties using show == | |||
''Seems to be not working at the moment (https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/2548)'' | |||
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 }} |
Dernière version du 12 juillet 2017 à 10:24
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
Seems to be not working at the moment (https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/2548)
Output of {{#show: -Has father::Daren Welsh }}:
Output of {{#show: -Has child::Daren Welsh }}: